MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / instance_str

Function instance_str

lib/sqlalchemy/orm/base.py:354–357  ·  view source on GitHub ↗

Return a string describing an instance.

(instance: object)

Source from the content-addressed store, hash-verified

352
353
354def instance_str(instance: object) -> str:
355 """Return a string describing an instance."""
356
357 return state_str(instance_state(instance))
358
359
360def state_str(state: InstanceState[Any]) -> str:

Callers 7

attribute_strFunction · 0.85
refreshMethod · 0.85
setMethod · 0.85

Calls 2

state_strFunction · 0.85
instance_stateFunction · 0.85