Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ _with_context
Function
_with_context
flow-python/megflow/func_op.py:20–23 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
18
19
20
def
_with_context(func):
21
sig = inspect.signature(func)
22
params = sig.parameters
23
return
'context'
in params
24
25
26
def
_common_def(inputs=[], outputs=[]):
Callers
1
_decorator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected