From 641a4a20570b92425a4a4c0e32c4b43e26963615 Mon Sep 17 00:00:00 2001 From: Richard Leibrandt Date: Wed, 8 Mar 2023 15:48:30 +0100 Subject: [PATCH] Remove docstring text of Task.close() that details Task.mark_completed() --- clearml/task.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clearml/task.py b/clearml/task.py index 3db271bb..695d414d 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -1728,9 +1728,7 @@ class Task(_Task): Enables you to manually shut down the task from the process which opened the task. This method does not terminate the (current) Python process, in contrast to :meth:`Task.mark_completed`. - Note, that if :meth:`Task.mark_completed` is called from a different process it will not terminate - the process from which :meth:`Task.mark_completed` was called, but the process which created the task. - + After having :meth:`Task.close` -d a task, the respective object cannot be used anymore and methods like :meth:`Task.connect` or :meth:`Task.connect_configuration` will throw a `ValueError`. In order to obtain an object representing the task again, use methods like :meth:`Task.get_task`.