MCPcopy
hub / github.com/psycopg/psycopg / _describe_gen

Method _describe_gen

psycopg/psycopg/_server_cursor_base.py:131–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 yield from self._describe_gen()
130
131 def _describe_gen(self) -> PQGen[None]:
132 self._pgconn.send_describe_portal(self._name.encode(self._encoding))
133 results = yield from execute(self._pgconn)
134 self._check_results(results)
135 self._results = results
136 self._select_current_result(0, format=self._format)
137 self._described = True
138
139 def _close_gen(self) -> PQGen[None]:
140 ts = self._conn.pgconn.transaction_status

Callers 2

_declare_genMethod · 0.95
_fetch_genMethod · 0.95

Calls 3

send_describe_portalMethod · 0.45
_check_resultsMethod · 0.45

Tested by

no test coverage detected