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

Method __init__

tests/test_connect.py:1933–1939  ·  view source on GitHub ↗
(self, *args, faults, direct, attempts, tasks, caller_loop)

Source from the content-addressed store, hash-verified

1931 TLS_RECORD_HEADER_SIZE = 5
1932
1933 def __init__(self, *args, faults, direct, attempts, tasks, caller_loop):
1934 super().__init__(*args)
1935 self.faults = faults
1936 self.direct = direct
1937 self.attempts = attempts
1938 self.tasks = tasks
1939 self.caller_loop = caller_loop
1940
1941 async def prepare(self):
1942 """Return True to forward traffic, False to close a faulted attempt."""

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected