MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / is_deleted

Method is_deleted

lib/sqlalchemy/orm/unitofwork.py:224–228  ·  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

222 return False
223
224 def is_deleted(self, state):
225 """Return ``True`` if the given state is marked as deleted
226 within this uowtransaction."""
227
228 return state in self.states and self.states[state][0]
229
230 def memo(self, key, callable_):
231 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