

def _delete_value(self, entity):
    'Internal helper to delete the value for this Property from an entity.\n\n    Note that if no value exists this is a no-op; deleted values will\n    not be serialized but requesting their value will return None (or\n    an empty list in the case of a repeated Property).\n    '
    if (self._name in entity._values):
        del entity._values[self._name]

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Property._delete_value/original