def _retrieve_value(self, entity, default=None):
    return entity._values.get(self._name, default)
Internal helper to retrieve the value for this Property from an entity.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Property._retrieve_value