MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / replace

Method replace

lib/sqlalchemy/orm/identity.py:82–83  ·  view source on GitHub ↗
(self, state: InstanceState[_O])

Source from the content-addressed store, hash-verified

80 raise NotImplementedError()
81
82 def replace(self, state: InstanceState[_O]) -> Optional[InstanceState[_O]]:
83 raise NotImplementedError()
84
85 def add(self, state: InstanceState[Any]) -> bool:
86 raise NotImplementedError()

Callers 4

_restore_snapshotMethod · 0.45
_register_persistentMethod · 0.45
_update_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected