

def _get_value(self, entity):
    'Override _get_value() to *not* raise UnprojectedPropertyError.'
    value = self._get_user_value(entity)
    if ((value is None) and self._projection):
        return super(StructuredProperty, self)._get_value(entity)
    return value

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py StructuredProperty._get_value/VarMisuse@31/59 `entity`->`self`