backend.ai-cli 24.12.0__py3-none-any.whl → 24.12.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of backend.ai-cli might be problematic. Click here for more details.
- ai/backend/cli/VERSION +1 -1
- ai/backend/cli/interaction.py +3 -3
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/METADATA +2 -2
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/RECORD +8 -8
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/WHEEL +0 -0
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/entry_points.txt +0 -0
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/namespace_packages.txt +0 -0
- {backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/top_level.txt +0 -0
ai/backend/cli/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.12.
|
|
1
|
+
24.12.1
|
ai/backend/cli/interaction.py
CHANGED
|
@@ -73,12 +73,12 @@ def ask_string_in_array(prompt: str, choices: list, default: str) -> Optional[st
|
|
|
73
73
|
|
|
74
74
|
if default:
|
|
75
75
|
question = (
|
|
76
|
-
f"{prompt} (choices: {
|
|
76
|
+
f"{prompt} (choices: {'/'.join(choices)}, "
|
|
77
77
|
f"if left empty, this will use default value: {default}): "
|
|
78
78
|
)
|
|
79
79
|
else:
|
|
80
80
|
question = (
|
|
81
|
-
f"{prompt} (choices: {
|
|
81
|
+
f"{prompt} (choices: {'/'.join(choices)}, if left empty, this will remove this key): "
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
while True:
|
|
@@ -92,7 +92,7 @@ def ask_string_in_array(prompt: str, choices: list, default: str) -> Optional[st
|
|
|
92
92
|
elif user_reply.lower() in choices:
|
|
93
93
|
break
|
|
94
94
|
else:
|
|
95
|
-
print(f"Please answer in {
|
|
95
|
+
print(f"Please answer in {'/'.join(choices)}.")
|
|
96
96
|
return user_reply
|
|
97
97
|
|
|
98
98
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: backend.ai-cli
|
|
3
|
-
Version: 24.12.
|
|
3
|
+
Version: 24.12.1
|
|
4
4
|
Summary: Backend.AI Command Line Interface Helper
|
|
5
5
|
Home-page: https://github.com/lablup/backend.ai
|
|
6
6
|
Author: Lablup Inc. and contributors
|
|
@@ -21,7 +21,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
21
21
|
Requires-Python: >=3.12,<3.13
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
Requires-Dist: attrs>=24.2
|
|
24
|
-
Requires-Dist: backend.ai-plugin==24.12.
|
|
24
|
+
Requires-Dist: backend.ai-plugin==24.12.1
|
|
25
25
|
Requires-Dist: click~=8.1.7
|
|
26
26
|
Requires-Dist: trafaret~=2.1
|
|
27
27
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
ai/backend/cli/VERSION,sha256=
|
|
1
|
+
ai/backend/cli/VERSION,sha256=7lCdw-Oo9u9MFNH4q8RutkAEWE-QDSOQChFfRl6H1Wk,7
|
|
2
2
|
ai/backend/cli/__init__.py,sha256=cID1jLnC_vj48GgMN6Yb1FA3JsQ95zNmCHmRYE8TFhY,22
|
|
3
3
|
ai/backend/cli/__main__.py,sha256=Rp61ckhVRXFk_0BywIRgbiOzkR_gLq2cyyiDyLsB8UI,291
|
|
4
4
|
ai/backend/cli/extensions.py,sha256=twjloigQl4VTBU8gP6YMZNGi3dUDW4V_i-yVX12HRH0,5125
|
|
5
|
-
ai/backend/cli/interaction.py,sha256=
|
|
5
|
+
ai/backend/cli/interaction.py,sha256=L-6kvJbxMw9YeO_NT78wortS_Db0Qx9W8XiY56JgorI,4982
|
|
6
6
|
ai/backend/cli/loader.py,sha256=yWyNyvFJORtFFQfcL-vqwD5NbRxAHxS_uH1878r9EIA,1140
|
|
7
7
|
ai/backend/cli/main.py,sha256=8HpGUH5k0uv6lKVqKoctW3vd9hm1xo_j06HSCvyRvgw,707
|
|
8
8
|
ai/backend/cli/params.py,sha256=hnZNXGKTsNDOlPHXDB3Tnk1p8xtWIDFM649U8WPSv38,6436
|
|
9
9
|
ai/backend/cli/py.typed,sha256=QJeIkjairybCkwM_65ZMTPEYwCJODQY_7AqJ6dBWnvI,11
|
|
10
10
|
ai/backend/cli/types.py,sha256=mThxfeGD6MsHt0OkMdw1LvjufENHYbYZXcgRVNpmD5o,734
|
|
11
|
-
backend.ai_cli-24.12.
|
|
12
|
-
backend.ai_cli-24.12.
|
|
13
|
-
backend.ai_cli-24.12.
|
|
14
|
-
backend.ai_cli-24.12.
|
|
15
|
-
backend.ai_cli-24.12.
|
|
16
|
-
backend.ai_cli-24.12.
|
|
11
|
+
backend.ai_cli-24.12.1.dist-info/METADATA,sha256=l8YXqXAHPhgzTLQhq72-eMF16Ey5pISWt9HGdHvgOmk,1732
|
|
12
|
+
backend.ai_cli-24.12.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
13
|
+
backend.ai_cli-24.12.1.dist-info/entry_points.txt,sha256=lOiEpT48ETF_ht5fFVQugAjZSuZr-wkGYZzfC5YTnuY,60
|
|
14
|
+
backend.ai_cli-24.12.1.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
15
|
+
backend.ai_cli-24.12.1.dist-info/top_level.txt,sha256=TJAp5TUfTUztZSUatbygths7CWRrFfnOMCtZ-DIcw6c,3
|
|
16
|
+
backend.ai_cli-24.12.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{backend.ai_cli-24.12.0.dist-info → backend.ai_cli-24.12.1.dist-info}/namespace_packages.txt
RENAMED
|
File without changes
|
|
File without changes
|