MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _elements

Method _elements

lib/sqlalchemy/orm/unitofwork.py:608–613  ·  view source on GitHub ↗
(self, uow)

Source from the content-addressed store, hash-verified

606 )
607
608 def _elements(self, uow):
609 for mapper in self._mappers(uow):
610 for state in uow.mappers[mapper]:
611 isdelete, listonly = uow.states[state]
612 if isdelete == self.isdelete and not listonly:
613 yield state
614
615
616class _PostUpdateAll(_PostSortRec):

Callers 1

executeMethod · 0.95

Calls 1

_mappersMethod · 0.80

Tested by

no test coverage detected