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

Method __init__

tests/test_connect.py:2884–2888  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

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 2

__init__Method · 0.45

Tested by

no test coverage detected