Update Task.init() docstring to include behaviour when executing remotely (#737)

* Update Task.init() docstring to include behaviour when executing remotely
This commit is contained in:
Mal Miller 2022-08-08 15:10:43 +01:00 committed by GitHub
parent ffed8a9589
commit 0cb72a7adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,8 @@ class Task(_Task):
artifacts, or (b) its status is Published , or (c) it is Archived.
- A new Task is forced by calling ``Task.init`` with ``reuse_last_task_id=False``.
Otherwise, the already initialized Task object for the same ``task_name`` and ``project_name`` is returned.
Otherwise, the already initialized Task object for the same ``task_name`` and ``project_name`` is returned,
or, when being executed remotely on a clearml-agent, the task returned is the existing task from the backend.
.. note::
To reference another Task, instead of initializing the same Task more than once, call