

def _db_get_value(self, v, unused_p):
    if (not v.has_stringvalue()):
        return None
    return datastore_types.BlobKey(v.stringvalue())

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py BlobKeyProperty._db_get_value/original