

def __get__(self, entity, unused_cls=None):
    'Descriptor protocol: get the value from the entity.'
    if (entity is None):
        return self
    return self._get_value(entity)

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