Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ Async
Class
Async
src/7/inlining_callback_functions/example.py:16–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
from
functools
import
wraps
15
16
class
Async:
17
def
__init__(self, func, args):
18
self.func = func
19
self.args = args
20
21
def
inlined_async(func):
22
@wraps(func)
Callers
1
test
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected