MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _flush_warning

Method _flush_warning

lib/sqlalchemy/orm/session.py:4515–4521  ·  view source on GitHub ↗
(self, method: Any)

Source from the content-addressed store, hash-verified

4513 self._flushing = False
4514
4515 def _flush_warning(self, method: Any) -> None:
4516 util.warn(
4517 "Usage of the '%s' operation is not currently supported "
4518 "within the execution stage of the flush process. "
4519 "Results may not be consistent. Consider using alternative "
4520 "event listeners or connection-level operations instead." % method
4521 )
4522
4523 def _is_clean(self) -> bool:
4524 return (

Callers 9

addMethod · 0.95
add_allMethod · 0.95
deleteMethod · 0.95
delete_allMethod · 0.95
mergeMethod · 0.95
merge_allMethod · 0.95
appendFunction · 0.80
removeFunction · 0.80
set_Function · 0.80

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected