Skip to content

Commit

Permalink
bugfix: 修复独立子流程执行历史inputs格式的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuaikang committed Sep 7, 2023
1 parent f663aa8 commit 724e1e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gcloud/taskflow3/domains/dispatchers/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,6 @@ def get_node_detail_v2(
}
for hist in hist_result.data:
hist["ex_data"] = hist.get("outputs", {}).get("ex_data", "")
if node_info["type"] == "ServiceActivity" and node_code == "subprocess_plugin":
# 对于独立子流程节点要重新渲染输出
raw_inputs = hist["inputs"]["subprocess"]["pipeline"]["constants"]
hist["inputs"] = {key[2:-1]: value.get("value") for key, value in raw_inputs.items()}
detail["histories"] = hist_result.data
detail["history_id"] = -1
# 如果用户传了 loop 参数,并且 loop 小于当前节点已循环次数,则从历史数据获取结果
Expand Down

0 comments on commit 724e1e4

Please sign in to comment.