Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ instance_state
Function
instance_state
lib/sqlalchemy/orm/base.py:330–330 ·
view source on GitHub ↗
(instance: _O)
Source
from the content-addressed store, hash-verified
328
) -> Optional[ClassManager[_O]]: ...
329
330
def
instance_state(instance: _O) -> InstanceState[_O]: ...
331
332
def
instance_dict(instance: object) -> Dict[str, Any]: ...
333
Callers
15
instance_str
Function · 0.85
_inspect_mapped_object
Function · 0.85
_instance
Function · 0.85
get_history
Method · 0.85
__set__
Method · 0.85
__delete__
Method · 0.85
__get__
Method · 0.85
get_all_pending
Method · 0.85
fire_remove_event
Method · 0.85
fire_replace_event
Method · 0.85
get_all_pending
Method · 0.85
fire_append_event
Method · 0.85
Calls
no outgoing calls
Tested by
4
_assert_not_orphan
Method · 0.68
_assert_is_orphan
Method · 0.68
test_m2o_lazy_loader_on_transient
Method · 0.68
test_instance_state
Method · 0.68