Fix config example

This commit is contained in:
allegroai 2021-10-21 12:03:07 +03:00
parent 92e3f00435
commit cd4a39d8fc
3 changed files with 15 additions and 3 deletions

View File

@ -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
# } # }

View File

@ -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))

View File

@ -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
# } # }