MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / get_history

Method get_history

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

Source from the content-addressed store, hash-verified

257 return self.impl.uses_objects
258
259 def get_history(
260 self, instance: Any, passive: PassiveFlag = PASSIVE_OFF
261 ) -> History:
262 return self.impl.get_history(
263 instance_state(instance), instance_dict(instance), passive
264 )
265
266 @property
267 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