MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_deleted

Method is_deleted

lib/sqlalchemy/orm/unitofwork.py:226–230  ·  view source on GitHub ↗

Return ``True`` if the given state is marked as deleted within this uowtransaction.

(self, state)

Source from the content-addressed store, hash-verified

224 return False
225
226 def is_deleted(self, state):
227 """Return ``True`` if the given state is marked as deleted
228 within this uowtransaction."""
229
230 return state in self.states and self.states[state][0]
231
232 def memo(self, key, callable_):
233 if key in self.attributes:

Callers 4

_synchronizeMethod · 0.80
_synchronizeMethod · 0.80
_postfetch_post_updateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected