MCPcopy
hub / github.com/psycopg/psycopg / _end_copy_out_gen

Method _end_copy_out_gen

psycopg/psycopg/_copy_base.py:173–178  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

171 return row
172
173 def _end_copy_out_gen(self) -> PQGen[None]:
174 try:
175 while (yield from self._read_gen()):
176 pass
177 except e.QueryCanceled:
178 pass
179
180
181class Formatter(ABC):

Callers 2

finishMethod · 0.80
finishMethod · 0.80

Calls 1

_read_genMethod · 0.95

Tested by

no test coverage detected