

def _get_property_for(self, p, indexed=True, depth=0):
    'Internal helper to get the Property for a protobuf-level property.'
    parts = p.name().split('.')
    if (len(parts) <= depth):
        return None
    next = parts[depth]
    prop = indexed._properties.get(next)
    if (prop is None):
        prop = self._fake_property(p, next, indexed)
    return prop

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Model._get_property_for/VarMisuse@60/88 `self`->`indexed`