MCPcopy
hub / github.com/psycopg/psycopg / __aenter__

Method __aenter__

psycopg/psycopg/_pipeline_async.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 raise ex.with_traceback(None)
55
56 async def __aenter__(self) -> Self:
57 async with self._lock:
58 await self._conn.wait(self._enter_gen())
59 return self
60
61 async def __aexit__(
62 self,

Callers

nothing calls this directly

Calls 2

waitMethod · 0.45
_enter_genMethod · 0.45

Tested by

no test coverage detected