From 765afcbb647bd0a4cbe3ed62e629a208a24059fc Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Sun, 4 Oct 2020 16:54:24 +0300 Subject: [PATCH] Fix Task.execute_remotely() not clearing development tag resulting in experiment not being editable in the UI --- trains/task.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trains/task.py b/trains/task.py index e65db58e..799f9fd9 100644 --- a/trains/task.py +++ b/trains/task.py @@ -1600,6 +1600,10 @@ class Task(_Task): Task.enqueue(task, queue_name=queue_name) LoggerRoot.get_base_logger().warning( 'Switching to remote execution, output log page {}'.format(task.get_output_log_web_page())) + else: + # Remove the development system tag + system_tags = [t for t in task.get_system_tags() if t != self._development_tag] + self.set_system_tags(system_tags) # leave this process. if exit_process: