def _clear_empty_values(args):
    result = {}
    for param in args:
        if args[param] is not None:
            result[param] = args[param]
    return result
Scrap junk data from a dict.
dataset/ETHPy150Open xmunoz/sodapy/sodapy/__init__.py/_clear_empty_values