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

Method connect

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

Source from the content-addressed store, hash-verified

142 reset_called = 0
143
144 async def connect(*args, **kwargs):
145 nonlocal connect_called
146 connect_called += 1
147 return await pg_connection.connect(*args, **kwargs)
148
149 async def setup(con):
150 nonlocal setup_called

Calls

no outgoing calls

Tested by

no test coverage detected