

def _opt_call_from_base_type(self, value):
    'Call _from_base_type() if necessary.\n\n    If the value is a _BaseValue instance, unwrap it and call all\n    _from_base_type() methods.  Otherwise, return the value\n    unchanged.\n    '
    if isinstance(self, _BaseValue):
        value = self._call_from_base_type(value.b_val)
    return value

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Property._opt_call_from_base_type/VarMisuse@17/98 `value`->`self`