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

Method connect

asyncpg/_testbase/__init__.py:360–362  ·  view source on GitHub ↗
(cls, **kwargs)

Source from the content-addressed store, hash-verified

358
359 @classmethod
360 def connect(cls, **kwargs):
361 conn_spec = cls.get_connection_spec(kwargs)
362 return pg_connection.connect(**conn_spec, loop=cls.loop)
363
364 def setUp(self):
365 super().setUp()

Callers 4

setUpMethod · 0.45
setup_clusterMethod · 0.45
connect_primaryMethod · 0.45
connect_standbyMethod · 0.45

Calls 1

get_connection_specMethod · 0.45

Tested by

no test coverage detected