MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_history

Method get_history

lib/sqlalchemy/orm/attributes.py:260–265  ·  view source on GitHub ↗
(
        self, instance: Any, passive: PassiveFlag = PASSIVE_OFF
    )

Source from the content-addressed store, hash-verified

258 return self.impl.uses_objects
259
260 def get_history(
261 self, instance: Any, passive: PassiveFlag = PASSIVE_OFF
262 ) -> History:
263 return self.impl.get_history(
264 instance_state(instance), instance_dict(instance), passive
265 )
266
267 @property
268 def info(self) -> _InfoType:

Callers

nothing calls this directly

Calls 3

instance_stateFunction · 0.85
instance_dictFunction · 0.85
get_historyMethod · 0.45

Tested by

no test coverage detected