MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __get__

Method __get__

lib/sqlalchemy/util/langhelpers.py:1209–1213  ·  view source on GitHub ↗
(self, obj, cls)

Source from the content-addressed store, hash-verified

1207 if not TYPE_CHECKING:
1208
1209 def __get__(self, obj, cls):
1210 if obj is None:
1211 return self
1212 obj.__dict__[self.__name__] = result = self.fget(obj)
1213 return result
1214
1215 def _reset(self, obj):
1216 _memoized_property.reset(obj, self.__name__)

Callers

nothing calls this directly

Calls 1

fgetMethod · 0.45

Tested by

no test coverage detected