

def _to_base_type(self, value):
    if (self._compressed and isinstance(self, str)):
        return _CompressedValue(zlib.compress(value))

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py GenericProperty._to_base_type/VarMisuse@20/25 `value`->`self`