MCPcopy
hub / github.com/MagicStack/asyncpg / __await__

Method __await__

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

Source from the content-addressed store, hash-verified

1068 await self.pool.release(con)
1069
1070 def __await__(self):
1071 self.done = True
1072 return self.pool._acquire(self.timeout).__await__()
1073
1074
1075def create_pool(dsn=None, *,

Callers

nothing calls this directly

Calls 2

_acquireMethod · 0.80
__await__Method · 0.45

Tested by

no test coverage detected