MCPcopy
hub / github.com/MagicStack/asyncpg / connect

Method connect

asyncpg/cluster.py:127–130  ·  view source on GitHub ↗
(self, loop=None, **kwargs)

Source from the content-addressed store, hash-verified

125 process.returncode, stderr))
126
127 async def connect(self, loop=None, **kwargs):
128 conn_info = self.get_connection_spec()
129 conn_info.update(kwargs)
130 return await asyncpg.connect(loop=loop, **conn_info)
131
132 def init(self, **settings):
133 """Initialize cluster."""

Callers 1

_test_connectionMethod · 0.45

Calls 1

get_connection_specMethod · 0.95

Tested by

no test coverage detected