

def _store_value(self, entity, value):
    'Internal helper to store a value in an entity for a Property.\n\n    This assumes validation has already taken place.  For a repeated\n    Property the value should be a list.\n    '
    entity._values[self._name] = value

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