mirror of
https://github.com/clearml/clearml-session
synced 2025-06-26 18:16:55 +00:00
Future proof clearml package support
This commit is contained in:
parent
e5db4890d9
commit
3294146761
@ -589,7 +589,7 @@ def wait_for_machine(state, task):
|
|||||||
if stopped_counter > 5:
|
if stopped_counter > 5:
|
||||||
break
|
break
|
||||||
# noinspection PyProtectedMember
|
# noinspection PyProtectedMember
|
||||||
status, message = task._get_status()
|
status, message = task.get_status_message() if hasattr(task, "get_status_message") else task._get_status()
|
||||||
status = str(status)
|
status = str(status)
|
||||||
if last_status != status or last_message != message:
|
if last_status != status or last_message != message:
|
||||||
# noinspection PyProtectedMember
|
# noinspection PyProtectedMember
|
||||||
|
Loading…
Reference in New Issue
Block a user