MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _register_altered

Method _register_altered

lib/sqlalchemy/orm/session.py:3528–3534  ·  view source on GitHub ↗
(self, states: Iterable[InstanceState[Any]])

Source from the content-addressed store, hash-verified

3526 self._new.pop(state)
3527
3528 def _register_altered(self, states: Iterable[InstanceState[Any]]) -> None:
3529 if self._transaction:
3530 for state in states:
3531 if state in self._new:
3532 self._transaction._new[state] = True
3533 else:
3534 self._transaction._dirty[state] = True
3535
3536 def _remove_newly_deleted(
3537 self, states: Iterable[InstanceState[Any]]

Callers 2

_register_persistentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected