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

Class Connection

tests/test_connect.py:2883–2888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2881 terminated = []
2882
2883 class Connection(pg_connection.Connection):
2884 def __init__(self, *args, **kwargs):
2885 super().__init__(*args, **kwargs)
2886 if not candidates:
2887 self.add_termination_listener(terminated.append)
2888 candidates.append(self)
2889
2890 con = None
2891 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected