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

Method __get__

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

Source from the content-addressed store, hash-verified

1196 if not TYPE_CHECKING:
1197
1198 def __get__(self, obj, cls):
1199 if obj is None:
1200 return self
1201 return self.fget(obj)
1202
1203
1204class _memoized_property(generic_fn_descriptor[_T_co]):

Callers

nothing calls this directly

Calls 1

fgetMethod · 0.45

Tested by

no test coverage detected