refactor: single-node workflow runner helpers (#31472)

This commit is contained in:
-LAN- authored and GitHub committed 2026-01-24 10:27:44 +08:00
1 parent 5c4028d557
commit 67eb8c052d
2 files changed
+7 -42

No files matched your search

+1 -2
View File
@@ -226,8 +226,7 @@ class Workflow(Base): # bug
#
# Currently, the following functions / methods would mutate the returned dict:
#
# - `_get_graph_and_variable_pool_of_single_iteration`.
# - `_get_graph_and_variable_pool_of_single_loop`.
# - `_get_graph_and_variable_pool_for_single_node_run`.
return json.loads(self.graph) if self.graph else {}
def get_node_config_by_id(self, node_id: str) -> Mapping[str, Any]: