MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / __aenter__

Method __aenter__

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

Source from the content-addressed store, hash-verified

1159 return self._async__init__().__await__()
1160
1161 async def __aenter__(self):
1162 await self._async__init__()
1163 return self
1164
1165 async def __aexit__(self, *exc):
1166 await self.close()

Callers

nothing calls this directly

Calls 1

_async__init__Method · 0.95

Tested by

no test coverage detected