

@utils.positional((1 + Property._positional))
def __init__(self, name=None, compressed=False, **kwds):
    if compressed:
        kwds.setdefault('indexed', False)
    super(GenericProperty, self).__init__(name=name, **kwds)
    self._compressed = compressed
    if (compressed and self._indexed):
        raise NotImplementedError(('GenericProperty %s cannot be compressed and indexed at the same time.' % self._name))

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py GenericProperty.__init__/original