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

Method _is_clean

lib/sqlalchemy/orm/session.py:4365–4370  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4363 )
4364
4365 def _is_clean(self) -> bool:
4366 return (
4367 not self.identity_map.check_modified()
4368 and not self._deleted
4369 and not self._new
4370 )
4371
4372 def _flush(self, objects: Optional[Sequence[object]] = None) -> None:
4373 dirty = self._dirty_states

Callers 3

flushMethod · 0.95
_prepare_implMethod · 0.80
rollbackMethod · 0.80

Calls 1

check_modifiedMethod · 0.80

Tested by

no test coverage detected