瀏覽代碼

fix: iteration node log time error (#13511)

Novice 3 月之前
父節點
當前提交
f96b4f287a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/app/task_pipeline/workflow_cycle_manage.py

+ 1 - 1
api/core/app/task_pipeline/workflow_cycle_manage.py

@@ -842,4 +842,4 @@ class WorkflowCycleManage:
         if node_execution_id not in self._workflow_node_executions:
             raise ValueError(f"Workflow node execution not found: {node_execution_id}")
         cached_workflow_node_execution = self._workflow_node_executions[node_execution_id]
-        return cached_workflow_node_execution
+        return session.merge(cached_workflow_node_execution)