

def _db_set_value(self, v, p, value):
    if isinstance(value, _CompressedValue):
        self._db_set_compressed_meaning(p)
        value = value.z_val
    else:
        p._db_set_uncompressed_meaning(p)
    v.set_stringvalue(value)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py BlobProperty._db_set_value/VarMisuse@44/59 `self`->`p`