

def _db_get_value(self, v, unused_p):
    if (not v.has_pointvalue()):
        return None
    pv = v.pointvalue()
    return GeoPt(pv.x(), pv.y())

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