

def _get_value(self, entity):
    'Internal helper to get the value for this Property from an entity.\n\n    For a repeated Property this initializes the value to an empty\n    list if it is not set.\n    '
    if self._projection:
        if (self._name not in entity._projection):
            raise UnprojectedPropertyError(('Property %s is not in the projection' % (self._name,)))
    return self._get_user_value(entity)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Property._get_value/VarMisuse@15/86 `entity`->`self`