MCPcopy
hub / github.com/psycopg/psycopg / _set_autocommit

Method _set_autocommit

psycopg/psycopg/connection.py:496–497  ·  view source on GitHub ↗
(self, value: bool)

Source from the content-addressed store, hash-verified

494 raise
495
496 def _set_autocommit(self, value: bool) -> None:
497 self.set_autocommit(value)
498
499 def set_autocommit(self, value: bool) -> None:
500 """Method version of the `~Connection.autocommit` setter."""

Callers

nothing calls this directly

Calls 1

set_autocommitMethod · 0.95

Tested by

no test coverage detected