MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / __init__

Method __init__

asyncpg/pool.py:84–89  ·  view source on GitHub ↗
(
        self, holder: PoolConnectionHolder, con: connection.Connection
    )

Source from the content-addressed store, hash-verified

82 __slots__ = ('_con', '_holder')
83
84 def __init__(
85 self, holder: PoolConnectionHolder, con: connection.Connection
86 ) -> None:
87 self._con = con
88 self._holder = holder
89 con._set_proxy(self)
90
91 def __getattr__(self, attr: str) -> Any:
92 # Proxy all unresolved attributes to the wrapped Connection object.

Callers

nothing calls this directly

Calls 1

_set_proxyMethod · 0.80

Tested by

no test coverage detected