MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / process_saves

Method process_saves

lib/sqlalchemy/orm/dependency.py:922–928  ·  view source on GitHub ↗
(self, uowcommit, states)

Source from the content-addressed store, hash-verified

920 assert False
921
922 def process_saves(self, uowcommit, states):
923 # for passive updates, register objects in the process stage
924 # so that we avoid ManyToOneDP's registering the object without
925 # the listonly flag in its own preprocess stage (results in UPDATE)
926 # statements being emitted
927 assert self.passive_updates
928 self._process_key_switches(states, uowcommit)
929
930 def _key_switchers(self, uow, states):
931 switched, notswitched = uow.memo(

Callers

nothing calls this directly

Calls 1

_process_key_switchesMethod · 0.95

Tested by

no test coverage detected