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

Function with_connection_options

asyncpg/_testbase/__init__.py:426–434  ·  view source on GitHub ↗
(**options)

Source from the content-addressed store, hash-verified

424
425
426def with_connection_options(**options):
427 if not options:
428 raise ValueError('no connection options were specified')
429
430 def wrap(func):
431 func.__connect_options__ = options
432 return func
433
434 return wrap
435
436
437class ConnectedTestCase(ClusterTestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…