From f93c0dddf081a8caae1a404621c70567073f76c4 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 28 Apr 2021 18:45:00 +0300 Subject: [PATCH] Fix querying class attribute --- clearml/automation/job.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clearml/automation/job.py b/clearml/automation/job.py index 0bf52580..e11e86e9 100644 --- a/clearml/automation/job.py +++ b/clearml/automation/job.py @@ -53,6 +53,8 @@ class ClearmlJob(object): self.task = None elif parent: self.task.set_parent(parent) + else: + self.task = None self.task_parameter_override = None task_params = None