mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Improve docstring
This commit is contained in:
parent
2f5080a34c
commit
1c1fecf7d0
@ -1614,6 +1614,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
"""
|
"""
|
||||||
Force the adding of a package to the requirements list. If ``package_version`` is not specified, use the
|
Force the adding of a package to the requirements list. If ``package_version`` is not specified, use the
|
||||||
installed package version, if found.
|
installed package version, if found.
|
||||||
|
Example: Task.add_requirements('tensorflow', '2.4.0')
|
||||||
|
|
||||||
:param str package_name: The package name to add to the "Installed Packages" section of the task.
|
:param str package_name: The package name to add to the "Installed Packages" section of the task.
|
||||||
:param package_version: The package version requirements. If ``None``, then use the installed version.
|
:param package_version: The package version requirements. If ``None``, then use the installed version.
|
||||||
|
Loading…
Reference in New Issue
Block a user