

def _get_base_value(self, entity):
    "Return the base value for this property of the given entity.\n\n    This implies calling all _to_base_type() methods, in the method\n    resolution order of the property's class, and adding a\n    _BaseValue() wrapper, if one is not already present.  (If one\n    is present, no work is done.)  It also handles default values and\n    repeated properties.\n    "
    return self._apply_to_values(entity, self._opt_call_to_base_type)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Property._get_base_value/original