mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Fix Task.wait_for_status() to reload after it ends
This commit is contained in:
parent
d148fe8042
commit
99a8724bec
@ -1600,6 +1600,9 @@ class Task(_Task):
|
||||
if raise_on_status and self.status in raise_on_status:
|
||||
raise RuntimeError("Task {} has status: {}.".format(self.task_id, self.status))
|
||||
|
||||
# make sure we have the Task object
|
||||
self.reload()
|
||||
|
||||
def export_task(self):
|
||||
# type: () -> dict
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user