mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 支持节点参数设置直接输出
This commit is contained in:
parent
f2b46225ac
commit
dc371e25b0
|
|
@ -33,6 +33,7 @@ def write_context(step_variable: Dict, global_variable: Dict, node, workflow):
|
|||
if global_variable is not None:
|
||||
for key in global_variable:
|
||||
workflow.context[key] = global_variable[key]
|
||||
node.context['run_time'] = time.time() - node.context['start_time']
|
||||
|
||||
|
||||
class WorkFlowPostHandler:
|
||||
|
|
|
|||
Loading…
Reference in New Issue