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

Method _elements

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

Source from the content-addressed store, hash-verified

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

Callers 1

executeMethod · 0.95

Calls 1

_mappersMethod · 0.80

Tested by

no test coverage detected