MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / teardown_instance

Method teardown_instance

lib/sqlalchemy/orm/instrumentation.py:511–512  ·  view source on GitHub ↗
(self, instance: _O)

Source from the content-addressed store, hash-verified

509 self._state_setter(instance, state)
510
511 def teardown_instance(self, instance: _O) -> None:
512 delattr(instance, self.STATE_ATTR)
513
514 def _serialize(
515 self, state: InstanceState[_O], state_dict: Dict[str, Any]

Callers 1

test_rebuild_stateMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_rebuild_stateMethod · 0.36