From 1b474dc0b057b69c76bc2daa9eb8be927cb25efa Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 29 Jul 2024 17:37:05 +0300 Subject: [PATCH] Fix hierarchy for pipeline nodes without args --- clearml/automation/controller.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clearml/automation/controller.py b/clearml/automation/controller.py index 8d14c17c..62d26781 100644 --- a/clearml/automation/controller.py +++ b/clearml/automation/controller.py @@ -4805,11 +4805,11 @@ class PipelineDecorator(PipelineController): if n not in _node.parents: _node.parents.append(n) break - if kwargs: - leaves = cls._singleton._find_executed_node_leaves() - _node.parents = (_node.parents or []) + [ - x for x in cls._evaluated_return_values.get(tid, []) if x in leaves - ] + + leaves = cls._singleton._find_executed_node_leaves() + _node.parents = (_node.parents or []) + [ + x for x in cls._evaluated_return_values.get(tid, []) if x in leaves + ] if not cls._singleton._abort_running_steps_on_failure: for parent in _node.parents: