MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / register_post_update

Method register_post_update

lib/sqlalchemy/orm/unitofwork.py:341–345  ·  view source on GitHub ↗
(self, state, post_update_cols)

Source from the content-addressed store, hash-verified

339 return True
340
341 def register_post_update(self, state, post_update_cols):
342 mapper = state.manager.mapper.base_mapper
343 states, cols = self.post_update_states[mapper]
344 states.add(state)
345 cols.update(post_update_cols)
346
347 def _per_mapper_flush_actions(self, mapper):
348 saves = _SaveUpdateAll(self, mapper.base_mapper)

Callers 1

_post_updateMethod · 0.80

Calls 2

addMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected