MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _manage_incoming_state

Method _manage_incoming_state

lib/sqlalchemy/orm/identity.py:98–102  ·  view source on GitHub ↗
(self, state: InstanceState[Any])

Source from the content-addressed store, hash-verified

96 self.add(state)
97
98 def _manage_incoming_state(self, state: InstanceState[Any]) -> None:
99 state._instance_dict = self._wr
100
101 if state.modified:
102 self._modified.add(state)
103
104 def _manage_removed_state(self, state: InstanceState[Any]) -> None:
105 del state._instance_dict

Callers 2

replaceMethod · 0.80
addMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected