Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
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