def _get_for_dict(self, entity):
    return self._get_value(entity)
Retrieve the value like _get_value(), processed for _to_dict().
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Property._get_for_dict