import typing


def remove_fields_with_value_none(fields: typing.Dict) -> typing.Dict:
    """
    Remove keys whose value is none
    :param fields: the fields to clean
    :return: a copy of fields, without the none values
    """
    fields = dict((key, value) for key, value in fields.items() if
                  value is not None)  # Strip out none values
    return fields