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

Method __init__

asyncpg/connect_utils.py:1318–1320  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1316 class CancelProto(asyncio.Protocol):
1317
1318 def __init__(self):
1319 self.on_disconnect = _create_future(loop)
1320 self.is_ssl = False
1321
1322 def connection_lost(self, exc):
1323 if not self.on_disconnect.done():

Callers

nothing calls this directly

Calls 1

_create_futureFunction · 0.85

Tested by

no test coverage detected