MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_state_history

Function get_state_history

lib/sqlalchemy/orm/attributes.py:2591–2594  ·  view source on GitHub ↗
(
    state: InstanceState[Any], key: str, passive: PassiveFlag = PASSIVE_OFF
)

Source from the content-addressed store, hash-verified

2589
2590
2591def get_state_history(
2592 state: InstanceState[Any], key: str, passive: PassiveFlag = PASSIVE_OFF
2593) -> History:
2594 return state.get_history(key, passive)
2595
2596
2597def has_parent(

Callers 1

get_historyFunction · 0.85

Calls 1

get_historyMethod · 0.45

Tested by

no test coverage detected