From cfbb7417ee0f3fd751f30130ad5b6f76e320c595 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:16:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E4=B8=B2=E8=A1=8C=E6=89=A7=E8=A1=8C,=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=20(#1419)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/flow/workflow_manage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/application/flow/workflow_manage.py b/apps/application/flow/workflow_manage.py index 1234688f5..b02901d91 100644 --- a/apps/application/flow/workflow_manage.py +++ b/apps/application/flow/workflow_manage.py @@ -9,6 +9,7 @@ import json import threading import traceback +import uuid from concurrent.futures import ThreadPoolExecutor from functools import reduce from typing import List, Dict @@ -442,7 +443,7 @@ class WorkflowManage: for index in range(len(self.node_context)): node = self.node_context[index] details = node.get_details(index) - details_result[node.id] = details + details_result[str(uuid.uuid1())] = details return details_result def get_next_node(self):