Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ connect
Method
connect
asyncpg/_testbase/__init__.py:363–365 ·
view source on GitHub ↗
(cls, **kwargs)
Source
from the content-addressed store, hash-verified
361
362
@classmethod
363
def
connect(cls, **kwargs):
364
conn_spec = cls.get_connection_spec(kwargs)
365
return
pg_connection.connect(**conn_spec, loop=cls.loop)
366
367
def
setUp(self):
368
super().setUp()
Callers
4
setUp
Method · 0.45
setup_cluster
Method · 0.45
connect_primary
Method · 0.45
connect_standby
Method · 0.45
Calls
1
get_connection_spec
Method · 0.45
Tested by
no test coverage detected