MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _is_clean

Method _is_clean

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

Source from the content-addressed store, hash-verified

4521 )
4522
4523 def _is_clean(self) -> bool:
4524 return (
4525 not self.identity_map.check_modified()
4526 and not self._deleted
4527 and not self._new
4528 )
4529
4530 # have this here since it otherwise causes issues with the proxy
4531 # method generation

Callers 3

flushMethod · 0.95
_prepare_implMethod · 0.80
rollbackMethod · 0.80

Calls 1

check_modifiedMethod · 0.80

Tested by

no test coverage detected