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

Method __init__

asyncpg/connresource.py:28–30  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

26 __slots__ = ('_connection', '_con_release_ctr')
27
28 def __init__(self, connection):
29 self._connection = connection
30 self._con_release_ctr = connection._pool_release_ctr
31
32 def _check_conn_validity(self, meth_name):
33 con_release_ctr = self._connection._pool_release_ctr

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected