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

Method connect

tests/test_pool.py:162–165  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

160 reset_called = 0
161
162 async def connect(*args, **kwargs):
163 nonlocal connect_called
164 connect_called += 1
165 return await pg_connection.connect(*args, **kwargs)
166
167 async def setup(con):
168 nonlocal setup_called

Calls

no outgoing calls

Tested by

no test coverage detected