def clean(data):
    return dict((k, v) for k, v in data.items() if v is not None)
Called internally when an item is added.
dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/postman.py/clean--crossover with--dataset/ETHPy150Open Knewton/pettingzoo-python/pettingzoo/dbag.py/DistributedBag._on_new_id