feat: 支持节点参数设置直接输出

This commit is contained in:
shaohuzhang1 2024-08-02 14:02:30 +08:00
parent f2b46225ac
commit dc371e25b0

View File

@ -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: