Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ connection_lost
Method
connection_lost
asyncpg/connect_utils.py:1322–1324 ·
view source on GitHub ↗
(self, exc)
Source
from the content-addressed store, hash-verified
1320
self.is_ssl = False
1321
1322
def
connection_lost(self, exc):
1323
if
not self.on_disconnect.done():
1324
self.on_disconnect.set_result(True)
1325
1326
tr = None
1327
try
:
Callers
1
interrupted_connector
Method · 0.45
Calls
no outgoing calls
Tested by
1
interrupted_connector
Method · 0.36