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

Method __init__

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

Source from the content-addressed store, hash-verified

1258 class CancelProto(asyncio.Protocol):
1259
1260 def __init__(self):
1261 self.on_disconnect = _create_future(loop)
1262 self.is_ssl = False
1263
1264 def connection_lost(self, exc):
1265 if not self.on_disconnect.done():

Callers

nothing calls this directly

Calls 1

_create_futureFunction · 0.85

Tested by

no test coverage detected