mirror of
https://github.com/clearml/clearml
synced 2025-06-03 19:37:48 +00:00
Allow calling the same pipeline step multiple times with inputs that originate from tasks/controller
This commit is contained in:
parent
fa119672d8
commit
dfebf4996c
@ -4757,6 +4757,8 @@ class PipelineDecorator(PipelineController):
|
||||
# if we already launched a JOB on the node, this means we are calling the same function/task
|
||||
# twice inside the pipeline, this means we need to replicate the node.
|
||||
_node = cls._singleton._nodes[_node_name].copy()
|
||||
# reset paramters - there might be conflicts with the copied node and they are generated anyway
|
||||
_node.parameters = {}
|
||||
_node.parents = []
|
||||
# find a new name
|
||||
counter = 1
|
||||
|
Loading…
Reference in New Issue
Block a user