MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _autobegin

Method _autobegin

lib/sqlalchemy/engine/base.py:804–806  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

802 pool_proxied_connection.detach()
803
804 def _autobegin(self) -> None:
805 if self._allow_autobegin and not self.__in_begin:
806 self.begin()
807
808 def begin(self) -> RootTransaction:
809 """Begin a transaction prior to autobegin occurring.

Callers 2

begin_nestedMethod · 0.95
_execute_contextMethod · 0.95

Calls 1

beginMethod · 0.95

Tested by

no test coverage detected