backend.ai-cli 23.9.5__py3-none-any.whl → 23.9.8rc2__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/loader.py +12 -6
- ai/backend/cli/main.py +2 -2
- {backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/METADATA +3 -3
- backend.ai_cli-23.9.8rc2.dist-info/RECORD +15 -0
- backend.ai_cli-23.9.5.dist-info/RECORD +0 -15
- {backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/WHEEL +0 -0
- {backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/entry_points.txt +0 -0
- {backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/namespace_packages.txt +0 -0
- {backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/top_level.txt +0 -0
ai/backend/cli/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
23.09.
|
|
1
|
+
23.09.8rc2
|
ai/backend/cli/loader.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import logging
|
|
1
2
|
from typing import Optional
|
|
2
3
|
|
|
3
4
|
import click # noqa: E402
|
|
@@ -6,6 +7,8 @@ from ai.backend.plugin.entrypoint import scan_entrypoints
|
|
|
6
7
|
|
|
7
8
|
from .main import main # noqa: E402
|
|
8
9
|
|
|
10
|
+
log = logging.getLogger(__spec__.name) # type: ignore[name-defined]
|
|
11
|
+
|
|
9
12
|
|
|
10
13
|
def load_entry_points(
|
|
11
14
|
allowlist: Optional[set[str]] = None,
|
|
@@ -19,10 +22,13 @@ def load_entry_points(
|
|
|
19
22
|
main.add_command(cmd, name=name)
|
|
20
23
|
else:
|
|
21
24
|
prefix, _, subprefix = entrypoint.name.partition(".")
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
try:
|
|
26
|
+
if not subprefix:
|
|
27
|
+
subcmd = entrypoint.load()
|
|
28
|
+
main.add_command(subcmd, name=prefix)
|
|
29
|
+
else:
|
|
30
|
+
subcmd = entrypoint.load()
|
|
31
|
+
main.commands[prefix].add_command(subcmd, name=subprefix) # type: ignore
|
|
32
|
+
except ImportError:
|
|
33
|
+
log.warning("Failed to import %r (%s)", entrypoint, prefix)
|
|
28
34
|
return main
|
ai/backend/cli/main.py
CHANGED
|
@@ -12,14 +12,14 @@ from .types import CliContextInfo
|
|
|
12
12
|
)
|
|
13
13
|
@click.option(
|
|
14
14
|
"--skip-sslcert-validation",
|
|
15
|
-
help="
|
|
15
|
+
help="(client option) Skip SSL certificate validation for all API requests.",
|
|
16
16
|
is_flag=True,
|
|
17
17
|
)
|
|
18
18
|
@click.option(
|
|
19
19
|
"--output",
|
|
20
20
|
type=click.Choice(["json", "console"]),
|
|
21
21
|
default="console",
|
|
22
|
-
help="
|
|
22
|
+
help="(client option) Set the output style of the command results.",
|
|
23
23
|
)
|
|
24
24
|
@click.pass_context
|
|
25
25
|
def main(ctx: click.Context, **kwargs) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: backend.ai-cli
|
|
3
|
-
Version: 23.9.
|
|
3
|
+
Version: 23.9.8rc2
|
|
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
|
|
@@ -15,13 +15,13 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Environment :: No Input/Output (Daemon)
|
|
16
16
|
Classifier: Topic :: Scientific/Engineering
|
|
17
17
|
Classifier: Topic :: Software Development
|
|
18
|
-
Classifier: Development Status ::
|
|
18
|
+
Classifier: Development Status :: 4 - Beta
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: License :: OSI Approved :: MIT License
|
|
21
21
|
Requires-Python: >=3.11,<3.12
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
Requires-Dist: attrs (>=20.3)
|
|
24
|
-
Requires-Dist: backend.ai-plugin (==23.09.
|
|
24
|
+
Requires-Dist: backend.ai-plugin (==23.09.8rc2)
|
|
25
25
|
Requires-Dist: click (~=8.1.7)
|
|
26
26
|
|
|
27
27
|
# backend.ai-cli
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ai/backend/cli/VERSION,sha256=n18n7S52Ssd2l6rZDv2dXbcFWOaQhSWLlgyczooPNeY,11
|
|
2
|
+
ai/backend/cli/__init__.py,sha256=cID1jLnC_vj48GgMN6Yb1FA3JsQ95zNmCHmRYE8TFhY,22
|
|
3
|
+
ai/backend/cli/__main__.py,sha256=Rp61ckhVRXFk_0BywIRgbiOzkR_gLq2cyyiDyLsB8UI,291
|
|
4
|
+
ai/backend/cli/extensions.py,sha256=twjloigQl4VTBU8gP6YMZNGi3dUDW4V_i-yVX12HRH0,5125
|
|
5
|
+
ai/backend/cli/interaction.py,sha256=L-6kvJbxMw9YeO_NT78wortS_Db0Qx9W8XiY56JgorI,4982
|
|
6
|
+
ai/backend/cli/loader.py,sha256=D_9Tcg0Sy6ASwQWTSA13Ka9VOSZD7Ak6__GnspbMF1o,1219
|
|
7
|
+
ai/backend/cli/main.py,sha256=8HpGUH5k0uv6lKVqKoctW3vd9hm1xo_j06HSCvyRvgw,707
|
|
8
|
+
ai/backend/cli/py.typed,sha256=QJeIkjairybCkwM_65ZMTPEYwCJODQY_7AqJ6dBWnvI,11
|
|
9
|
+
ai/backend/cli/types.py,sha256=Hz4_rHNWSKK57I9jKgZ_mTFUcL5gZoMJU6bCOf4UcjY,381
|
|
10
|
+
backend.ai_cli-23.9.8rc2.dist-info/METADATA,sha256=VMqYKMSoLqSwliVEd1-kxlfvJI26cSsP-Jh1BEL4MVA,1704
|
|
11
|
+
backend.ai_cli-23.9.8rc2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
12
|
+
backend.ai_cli-23.9.8rc2.dist-info/entry_points.txt,sha256=lOiEpT48ETF_ht5fFVQugAjZSuZr-wkGYZzfC5YTnuY,60
|
|
13
|
+
backend.ai_cli-23.9.8rc2.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
14
|
+
backend.ai_cli-23.9.8rc2.dist-info/top_level.txt,sha256=TJAp5TUfTUztZSUatbygths7CWRrFfnOMCtZ-DIcw6c,3
|
|
15
|
+
backend.ai_cli-23.9.8rc2.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
ai/backend/cli/VERSION,sha256=OxKQPYk_Gv16Rxc5WqDB8fW8TlR1K2NaFQXeotuILIg,8
|
|
2
|
-
ai/backend/cli/__init__.py,sha256=cID1jLnC_vj48GgMN6Yb1FA3JsQ95zNmCHmRYE8TFhY,22
|
|
3
|
-
ai/backend/cli/__main__.py,sha256=Rp61ckhVRXFk_0BywIRgbiOzkR_gLq2cyyiDyLsB8UI,291
|
|
4
|
-
ai/backend/cli/extensions.py,sha256=twjloigQl4VTBU8gP6YMZNGi3dUDW4V_i-yVX12HRH0,5125
|
|
5
|
-
ai/backend/cli/interaction.py,sha256=L-6kvJbxMw9YeO_NT78wortS_Db0Qx9W8XiY56JgorI,4982
|
|
6
|
-
ai/backend/cli/loader.py,sha256=LbwHrnR0zB-h4_dqF2Y8kkSZza4ipOM-FaEtNHQUI50,985
|
|
7
|
-
ai/backend/cli/main.py,sha256=B-XSFFPWUeJlKkvLQB8620qfr2UMkrjcp6RQbv4g2iM,707
|
|
8
|
-
ai/backend/cli/py.typed,sha256=QJeIkjairybCkwM_65ZMTPEYwCJODQY_7AqJ6dBWnvI,11
|
|
9
|
-
ai/backend/cli/types.py,sha256=Hz4_rHNWSKK57I9jKgZ_mTFUcL5gZoMJU6bCOf4UcjY,381
|
|
10
|
-
backend.ai_cli-23.9.5.dist-info/METADATA,sha256=sVuSVFV-k6WmDoZQcZ0fTjgGhF57csHHYAJYs8zpY9I,1711
|
|
11
|
-
backend.ai_cli-23.9.5.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
12
|
-
backend.ai_cli-23.9.5.dist-info/entry_points.txt,sha256=lOiEpT48ETF_ht5fFVQugAjZSuZr-wkGYZzfC5YTnuY,60
|
|
13
|
-
backend.ai_cli-23.9.5.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
14
|
-
backend.ai_cli-23.9.5.dist-info/top_level.txt,sha256=TJAp5TUfTUztZSUatbygths7CWRrFfnOMCtZ-DIcw6c,3
|
|
15
|
-
backend.ai_cli-23.9.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{backend.ai_cli-23.9.5.dist-info → backend.ai_cli-23.9.8rc2.dist-info}/namespace_packages.txt
RENAMED
|
File without changes
|
|
File without changes
|