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

Method connection_lost

asyncpg/connect_utils.py:1264–1266  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

1262 self.is_ssl = False
1263
1264 def connection_lost(self, exc):
1265 if not self.on_disconnect.done():
1266 self.on_disconnect.set_result(True)
1267
1268 if isinstance(addr, str):
1269 tr, pr = await loop.create_unix_connection(CancelProto, addr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected