def not_none(data):
    return dict((k, v) for k, v in iteritems(data) if v is not None)
Remove all keys where value is None
dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/utils.py/not_none