MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / __aenter__

Method __aenter__

asyncpg/pool.py:1035–1037  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1033 return self._async__init__().__await__()
1034
1035 async def __aenter__(self):
1036 await self._async__init__()
1037 return self
1038
1039 async def __aexit__(self, *exc):
1040 await self.close()

Callers

nothing calls this directly

Calls 1

_async__init__Method · 0.95

Tested by

no test coverage detected