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

Function with_connection_options

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

Source from the content-addressed store, hash-verified

433
434
435def with_connection_options(**options):
436 if not options:
437 raise ValueError('no connection options were specified')
438
439 def wrap(func):
440 func.__connect_options__ = options
441 return func
442
443 return wrap
444
445
446class ConnectedTestCase(ClusterTestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected