MCPcopy
hub / github.com/psycopg/psycopg / _sync_gen

Method _sync_gen

psycopg/psycopg/_pipeline_base.py:93–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 raise exc2.with_traceback(None)
92
93 def _sync_gen(self) -> PQGen[None]:
94 self._enqueue_sync()
95 yield from self._communicate_gen()
96 yield from self._fetch_gen(flush=False)
97
98 def _exit_gen(self) -> PQGen[None]:
99 """

Callers 8

_enter_genMethod · 0.95
syncMethod · 0.80
syncMethod · 0.80
_check_intrans_genMethod · 0.80
_start_queryMethod · 0.80
_commit_genMethod · 0.80
_rollback_genMethod · 0.80
_tpc_prepare_genMethod · 0.80

Calls 3

_enqueue_syncMethod · 0.95
_communicate_genMethod · 0.95
_fetch_genMethod · 0.95

Tested by

no test coverage detected