MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / value

Method value

lib/sqlalchemy/orm/state.py:1078–1088  ·  view source on GitHub ↗

Return the value of this attribute. This operation is equivalent to accessing the object's attribute directly or via ``getattr()``, and will fire off any pending loader callables if needed.

(self)

Source from the content-addressed store, hash-verified

1076
1077 @property
1078 def value(self) -> Any:
1079 """Return the value of this attribute.
1080
1081 This operation is equivalent to accessing the object's
1082 attribute directly or via ``getattr()``, and will fire
1083 off any pending loader callables if needed.
1084
1085 """
1086 return self.state.manager[self.key].__get__(
1087 self.state.obj(), self.state.class_
1088 )
1089
1090 @property
1091 def history(self) -> History:

Callers

nothing calls this directly

Calls 1

__get__Method · 0.45

Tested by

no test coverage detected