mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Fix config example
This commit is contained in:
parent
92e3f00435
commit
cd4a39d8fc
@ -250,7 +250,13 @@
|
|||||||
# path: "/tmp/fox.txt"
|
# path: "/tmp/fox.txt"
|
||||||
# }
|
# }
|
||||||
# myjsonfile {
|
# myjsonfile {
|
||||||
# contents: {some: nested: value: [1, 2, 3, 4]}
|
# contents: {
|
||||||
|
# some {
|
||||||
|
# nested {
|
||||||
|
# value: [1, 2, 3, 4]
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# }
|
||||||
# path: "/tmp/test.json"
|
# path: "/tmp/test.json"
|
||||||
# target_format: json
|
# target_format: json
|
||||||
# }
|
# }
|
||||||
|
@ -2830,7 +2830,7 @@ class Worker(ServiceCommandSection):
|
|||||||
path itself can be passed in this variable)
|
path itself can be passed in this variable)
|
||||||
:return: virtualenv directory, requirements manager to use with task, True if there is a cached venv entry
|
:return: virtualenv directory, requirements manager to use with task, True if there is a cached venv entry
|
||||||
"""
|
"""
|
||||||
skip_pip_venv_install = ENV_AGENT_SKIP_PIP_VENV_INSTALL.get() if self._session.feature_set != "basic" else None
|
skip_pip_venv_install = ENV_AGENT_SKIP_PIP_VENV_INSTALL.get()
|
||||||
if skip_pip_venv_install:
|
if skip_pip_venv_install:
|
||||||
try:
|
try:
|
||||||
skip_pip_venv_install = bool(strtobool(skip_pip_venv_install))
|
skip_pip_venv_install = bool(strtobool(skip_pip_venv_install))
|
||||||
|
@ -388,7 +388,13 @@ sdk {
|
|||||||
# path: "/tmp/fox.txt"
|
# path: "/tmp/fox.txt"
|
||||||
# }
|
# }
|
||||||
# myjsonfile {
|
# myjsonfile {
|
||||||
# contents: {some: nested: value: [1, 2, 3, 4]}
|
# contents: {
|
||||||
|
# some {
|
||||||
|
# nested {
|
||||||
|
# value: [1, 2, 3, 4]
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# }
|
||||||
# path: "/tmp/test.json"
|
# path: "/tmp/test.json"
|
||||||
# target_format: json
|
# target_format: json
|
||||||
# }
|
# }
|
||||||
|
Loading…
Reference in New Issue
Block a user