From 896e949649ca249d4da62a41ab2b94520d8a5e2f Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 19 Jan 2023 10:42:33 +0200 Subject: [PATCH] Add more runtime properties --- clearml/cli/task/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clearml/cli/task/__main__.py b/clearml/cli/task/__main__.py index 5717600b..ac3e8dd1 100644 --- a/clearml/cli/task/__main__.py +++ b/clearml/cli/task/__main__.py @@ -143,6 +143,8 @@ def cli(): print('Warning: No queue was provided, leaving task in draft-mode.') exit(0) + # noinspection PyProtectedMember + create_populate.task._set_runtime_properties({"_CLEARML_TASK": True}) Task.enqueue(create_populate.task, queue_name=args.queue) print('Task id={} sent for execution on queue {}'.format(create_populate.get_id(), args.queue)) print('Execution log at: {}'.format(create_populate.task.get_output_log_web_page()))