mirror of
https://github.com/clearml/clearml
synced 2025-03-03 02:32:11 +00:00
Fix automation controller overrides nodes clone
This commit is contained in:
parent
2e95881c76
commit
5e6b4ebe5d
@ -536,8 +536,8 @@ class PipelineController(object):
|
||||
"""
|
||||
# make sure that we override nodes that we do not clone.
|
||||
for name in self._nodes:
|
||||
if self._nodes[name].clone_task and name in dag_dict and dag_dict['name'].get('clone_task'):
|
||||
dag_dict['name'] = dict(
|
||||
if self._nodes[name].clone_task and name in dag_dict and dag_dict[name].get('clone_task'):
|
||||
dag_dict[name] = dict(
|
||||
(k, v) for k, v in self._nodes[name].__dict__.items() if k not in ('job', 'name'))
|
||||
|
||||
self._nodes = {
|
||||
|
Loading…
Reference in New Issue
Block a user