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

Method __await__

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

Source from the content-addressed store, hash-verified

1194 await self.pool.release(con)
1195
1196 def __await__(self):
1197 self.done = True
1198 return self.pool._acquire(self.timeout).__await__()
1199
1200
1201def create_pool(dsn=None, *,

Callers

nothing calls this directly

Calls 2

_acquireMethod · 0.80
__await__Method · 0.45

Tested by

no test coverage detected