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

Method presort_saves

lib/sqlalchemy/orm/dependency.py:906–910  ·  view source on GitHub ↗
(self, uow, states)

Source from the content-addressed store, hash-verified

904 pass
905
906 def presort_saves(self, uow, states):
907 if not self.passive_updates:
908 # for non-passive updates, register in the preprocess stage
909 # so that mapper save_obj() gets a hold of changes
910 self._process_key_switches(states, uow)
911
912 def prop_has_changes(self, uow, states, isdelete):
913 if not isdelete and self.passive_updates:

Callers

nothing calls this directly

Calls 1

_process_key_switchesMethod · 0.95

Tested by

no test coverage detected