Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ wrap
Function
wrap
asyncpg/_testbase/__init__.py:45–47 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
43
44
def
with_timeout(timeout):
45
def
wrap(func):
46
func.__timeout__ = timeout
47
return
func
48
49
return
wrap
50
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected