From aa737e6b5b06c27db5ef641be0fd928f56b61470 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 9 Apr 2020 12:53:43 +0300 Subject: [PATCH] Make sure task is marked as started in remote execution (just in case) --- trains/task.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trains/task.py b/trains/task.py index ccf17986..16070bab 100644 --- a/trains/task.py +++ b/trains/task.py @@ -299,6 +299,8 @@ class Task(_Task): task.output_uri = cls.__default_output_uri # store new task ID cls.__update_master_pid_task(task=task) + # make sure we are started + task.started(ignore_errors=True) else: # subprocess should get back the task info task = Task.get_task(task_id=is_sub_process_task_id)