MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / remove_state_actions

Method remove_state_actions

lib/sqlalchemy/orm/unitofwork.py:239–244  ·  view source on GitHub ↗

Remove pending actions for a state from the uowtransaction.

(self, state)

Source from the content-addressed store, hash-verified

237 return ret
238
239 def remove_state_actions(self, state):
240 """Remove pending actions for a state from the uowtransaction."""
241
242 isdelete = self.states[state][0]
243
244 self.states[state] = (isdelete, True)
245
246 def get_attribute_history(
247 self, state, key, passive=attributes.PASSIVE_NO_INITIALIZE

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected