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

Function _can_use_connection

asyncpg/connect_utils.py:1200–1202  ·  view source on GitHub ↗
(connection, attr: SessionAttribute)

Source from the content-addressed store, hash-verified

1198
1199
1200async def _can_use_connection(connection, attr: SessionAttribute):
1201 can_use = target_attrs_check[attr]
1202 return await can_use(connection)
1203
1204
1205async def _connect(*, loop, connection_class, record_class, **kwargs):

Callers 1

_connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…