def compact_dict(d):
    return {k: v for k, v in d.items() if v is not None}
Test creation and property access on DictObjects
dataset/ETHPy150Open heiskr/sagefy/server/modules/util.py/compact_dict--crossover with--dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/tests/unit/unit_test_DictObject.py/test_DictObject