MCPcopy
hub / github.com/psycopg/psycopg / _set_autocommit_gen

Method _set_autocommit_gen

psycopg/psycopg/_connection_base.py:191–193  ·  view source on GitHub ↗
(self, value: bool)

Source from the content-addressed store, hash-verified

189 raise NotImplementedError
190
191 def _set_autocommit_gen(self, value: bool) -> PQGen[None]:
192 yield from self._check_intrans_gen("autocommit")
193 self._autocommit = bool(value)
194
195 @property
196 def isolation_level(self) -> IsolationLevel | None:

Callers 2

set_autocommitMethod · 0.80
set_autocommitMethod · 0.80

Calls 1

_check_intrans_genMethod · 0.95

Tested by

no test coverage detected