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

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

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