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

Function with_timeout

asyncpg/_testbase/__init__.py:44–49  ·  view source on GitHub ↗
(timeout)

Source from the content-addressed store, hash-verified

42
43
44def with_timeout(timeout):
45 def wrap(func):
46 func.__timeout__ = timeout
47 return func
48
49 return wrap
50
51
52class TestCaseMeta(type(unittest.TestCase)):

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…