mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
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:
parent
ffed8a9589
commit
0cb72a7adb
@ -235,7 +235,8 @@ class Task(_Task):
|
|||||||
artifacts, or (b) its status is Published , or (c) it is Archived.
|
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``.
|
- 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::
|
.. note::
|
||||||
To reference another Task, instead of initializing the same Task more than once, call
|
To reference another Task, instead of initializing the same Task more than once, call
|
||||||
|
Loading…
Reference in New Issue
Block a user