aioli-sdk 1.2.0.dev4__tar.gz → 1.2.0.dev6__tar.gz
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.
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/PKG-INFO +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/__version__.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/deployment.py +52 -3
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/model.py +8 -2
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/test/test_cli.py +88 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/util.py +4 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/PKG-INFO +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/__init__.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/authentication_api.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/deployments_api.py +4 -4
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/information_api.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/packaged_models_api.py +4 -4
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/registries_api.py +4 -4
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/roles_api.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/templates_api.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/tokens_api.py +4 -4
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/users_api.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api_client.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/configuration.py +2 -2
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/exceptions.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/__init__.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/auto_scaling_template.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/autoscaling.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/configuration_resources.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_model_version.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_state.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_token.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_token_patch_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_token_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/error_response.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/event_info.py +2 -2
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/failure_info.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/login_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/login_response.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/model_auth_token.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/model_response.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/observability.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/packaged_model.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/packaged_model_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/resource_profile.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/resources_template.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/role.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/role_assignment.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/role_assignments.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/security.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/success_response.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/trained_model_registry.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/trained_model_registry_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/user.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/user_patch_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/user_request.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/rest.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/setup.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/README.md +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/__init__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/__init__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/__main__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/_util.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/cli.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/errors.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/registry.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/render.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/role.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/sso.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/test/conftest.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/token.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/user.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/cli/version.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/__init__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/__init__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/_util.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/authentication.py +1 -1
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/certs.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/errors.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/api/request.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/check.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/constants.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/declarative_argparse.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/common/requests.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli/util.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/SOURCES.txt +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/dependency_links.txt +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/entry_points.txt +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/not-zip-safe +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/requires.txt +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aioli_sdk.egg-info/top_level.txt +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api/__init__.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/api_response.py +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/py.typed +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/pyproject.toml +0 -0
- {aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# © Copyright 2024 Hewlett Packard Enterprise Development LP
|
|
2
|
-
__version__ = "1.2.0-
|
|
2
|
+
__version__ = "1.2.0-dev6"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# © Copyright 2023-2024 Hewlett Packard Enterprise Development LP
|
|
2
2
|
import textwrap
|
|
3
3
|
from argparse import Namespace
|
|
4
|
-
from typing import Any, List
|
|
4
|
+
from typing import Any, Dict, List
|
|
5
5
|
|
|
6
6
|
import aiolirest
|
|
7
7
|
from aioli import cli
|
|
@@ -184,6 +184,8 @@ def create(args: Namespace) -> None:
|
|
|
184
184
|
canaryTrafficPercent=args.canary_traffic_percent,
|
|
185
185
|
environment=construct_environment(args),
|
|
186
186
|
arguments=construct_arguments(args),
|
|
187
|
+
nodeSelectors=construct_node_selectors(args),
|
|
188
|
+
priorityClassName=args.priority_class_name,
|
|
187
189
|
)
|
|
188
190
|
api_instance.deployments_post(r)
|
|
189
191
|
|
|
@@ -208,6 +210,10 @@ def update(args: Namespace) -> None:
|
|
|
208
210
|
autoScaling=found.auto_scaling,
|
|
209
211
|
canaryTrafficPercent=found.canary_traffic_percent,
|
|
210
212
|
goalStatus=found.goal_status,
|
|
213
|
+
environment=found.environment,
|
|
214
|
+
arguments=found.arguments,
|
|
215
|
+
nodeSelectors=found.node_selectors,
|
|
216
|
+
priorityClassName=found.priority_class_name,
|
|
211
217
|
)
|
|
212
218
|
|
|
213
219
|
if request.auto_scaling is None:
|
|
@@ -258,6 +264,12 @@ def update(args: Namespace) -> None:
|
|
|
258
264
|
if args.arg is not None:
|
|
259
265
|
request.arguments = construct_arguments(args)
|
|
260
266
|
|
|
267
|
+
if args.node_selector is not None:
|
|
268
|
+
request.node_selectors = construct_node_selectors(args)
|
|
269
|
+
|
|
270
|
+
if args.priority_class_name is not None:
|
|
271
|
+
request.priority_class_name = args.priority_class_name
|
|
272
|
+
|
|
261
273
|
headers = {"Content-Type": "application/json"}
|
|
262
274
|
assert found.id is not None
|
|
263
275
|
api_instance.deployments_id_put(found.id, request, _headers=headers)
|
|
@@ -318,6 +330,24 @@ def str2bool(v: str) -> bool:
|
|
|
318
330
|
)
|
|
319
331
|
|
|
320
332
|
|
|
333
|
+
def construct_node_selectors(args: Namespace) -> Dict[str, str]:
|
|
334
|
+
node_selectors: Dict[str, str] = {}
|
|
335
|
+
if args.node_selector is None:
|
|
336
|
+
return node_selectors
|
|
337
|
+
|
|
338
|
+
for entry in args.node_selector:
|
|
339
|
+
if entry is None:
|
|
340
|
+
continue
|
|
341
|
+
# split to label & value
|
|
342
|
+
the_split = entry.split("=", maxsplit=1)
|
|
343
|
+
label: str = the_split[0]
|
|
344
|
+
value: str = ""
|
|
345
|
+
if len(the_split) > 1:
|
|
346
|
+
value = the_split[1]
|
|
347
|
+
node_selectors[label] = value
|
|
348
|
+
return node_selectors
|
|
349
|
+
|
|
350
|
+
|
|
321
351
|
common_deployment_args: ArgsDescription = [
|
|
322
352
|
Arg(
|
|
323
353
|
"--authentication-required",
|
|
@@ -345,17 +375,36 @@ common_deployment_args: ArgsDescription = [
|
|
|
345
375
|
Arg(
|
|
346
376
|
"-a",
|
|
347
377
|
"--arg",
|
|
378
|
+
nargs="?",
|
|
348
379
|
help="Argument to be added to the service command line. "
|
|
349
|
-
"If specifying an argument that starts with a '-', use the form --arg=<your-argument
|
|
380
|
+
"If specifying an argument that starts with a '-', use the form --arg=<your-argument>. "
|
|
381
|
+
"Specifying any --arg replaces prior args with the arguments on this invocation. "
|
|
382
|
+
"Use a single --arg with no value to clear all arguments.",
|
|
350
383
|
action="append",
|
|
351
384
|
),
|
|
352
385
|
Arg(
|
|
353
386
|
"-e",
|
|
354
387
|
"--env",
|
|
388
|
+
nargs="?",
|
|
355
389
|
help="Specifies an environment variable & value as name=value, "
|
|
356
|
-
"to be passed to the launched container"
|
|
390
|
+
"to be passed to the launched container. "
|
|
391
|
+
"Specifying any --env replaces prior environment vars with those on this invocation. "
|
|
392
|
+
"Use a single --env with no value to clear all environment vars.",
|
|
357
393
|
action="append",
|
|
358
394
|
),
|
|
395
|
+
Arg(
|
|
396
|
+
"--node-selector",
|
|
397
|
+
nargs="?",
|
|
398
|
+
help="Specifies a node selector label & value as label=value, "
|
|
399
|
+
"to be passed to the launched container. Example kubernetes.io/arch=amd64. "
|
|
400
|
+
"Specifying any --node-selector replaces prior selectors with those on this invocation. "
|
|
401
|
+
"Use a single --node-selector with no value to clear all selectors.",
|
|
402
|
+
action="append",
|
|
403
|
+
),
|
|
404
|
+
Arg(
|
|
405
|
+
"--priority-class-name",
|
|
406
|
+
help="Priority Class Name to be used for prioritization of deployments",
|
|
407
|
+
),
|
|
359
408
|
]
|
|
360
409
|
|
|
361
410
|
main_cmd = Cmd(
|
|
@@ -343,15 +343,21 @@ common_model_args: ArgsDescription = [
|
|
|
343
343
|
Arg(
|
|
344
344
|
"-a",
|
|
345
345
|
"--arg",
|
|
346
|
+
nargs="?",
|
|
346
347
|
help="Argument to be added to the service command line. "
|
|
347
|
-
"If specifying an argument that starts with a '-', use the form --arg=<your-argument
|
|
348
|
+
"If specifying an argument that starts with a '-', use the form --arg=<your-argument>. "
|
|
349
|
+
"Specifying any --arg replaces prior args with the arguments on this invocation. "
|
|
350
|
+
"Use a single --arg with no value to clear all arguments.",
|
|
348
351
|
action="append",
|
|
349
352
|
),
|
|
350
353
|
Arg(
|
|
351
354
|
"-e",
|
|
352
355
|
"--env",
|
|
356
|
+
nargs="?",
|
|
353
357
|
help="Specifies an environment variable & value as name=value, "
|
|
354
|
-
"to be passed to the launched container"
|
|
358
|
+
"to be passed to the launched container. "
|
|
359
|
+
"Specifying any --env replaces prior environment vars with those on this invocation. "
|
|
360
|
+
"Use a single --env with no value to clear all environment vars.",
|
|
355
361
|
action="append",
|
|
356
362
|
),
|
|
357
363
|
Arg("--gpu-type", help="GPU type required"),
|
|
@@ -597,6 +597,7 @@ class TestCli:
|
|
|
597
597
|
expected = (
|
|
598
598
|
'[\n' # noqa: Q000
|
|
599
599
|
' {\n' # noqa: Q000
|
|
600
|
+
' "arguments": [],\n'
|
|
600
601
|
' "autoScaling": {\n'
|
|
601
602
|
' "maxReplicas": 1,\n'
|
|
602
603
|
' "metric": "concurrency",\n'
|
|
@@ -652,6 +653,8 @@ class TestCli:
|
|
|
652
653
|
"--canary-traffic-percent 20 "
|
|
653
654
|
"-a='--debug' "
|
|
654
655
|
"-e MODS=SOME "
|
|
656
|
+
"--node-selector kubernetes.io/arch=amd64 "
|
|
657
|
+
"--priority-class-name '' "
|
|
655
658
|
"iris-tf-keras-deployment-2"
|
|
656
659
|
)
|
|
657
660
|
== 0
|
|
@@ -701,6 +704,7 @@ class TestCli:
|
|
|
701
704
|
result_list = result.split("\n")
|
|
702
705
|
args_found = False
|
|
703
706
|
other_found = False
|
|
707
|
+
node_selector_found = False
|
|
704
708
|
for line in result_list:
|
|
705
709
|
if "- --updated" in line:
|
|
706
710
|
args_found = True
|
|
@@ -708,10 +712,94 @@ class TestCli:
|
|
|
708
712
|
mods_found = True
|
|
709
713
|
if "OTHER: VALUE" in line:
|
|
710
714
|
other_found = True
|
|
715
|
+
if "kubernetes.io/arch: amd64" in line:
|
|
716
|
+
node_selector_found = True
|
|
711
717
|
|
|
712
718
|
assert args_found
|
|
713
719
|
assert mods_found
|
|
714
720
|
assert other_found
|
|
721
|
+
assert node_selector_found
|
|
722
|
+
|
|
723
|
+
def test_deployment_update_node_selectors(self, setup_login: None) -> None:
|
|
724
|
+
# Update the deployments nodeSelectors check that changes
|
|
725
|
+
# were made. Also verify arguments and environment are preserved.
|
|
726
|
+
assert (
|
|
727
|
+
os.system(
|
|
728
|
+
"aioli deployment update "
|
|
729
|
+
"--node-selector x/y=a-b "
|
|
730
|
+
"--node-selector x/z=a-c "
|
|
731
|
+
"iris-tf-keras-deployment-2"
|
|
732
|
+
)
|
|
733
|
+
== 0
|
|
734
|
+
)
|
|
735
|
+
|
|
736
|
+
result = subprocess.check_output(
|
|
737
|
+
["aioli", "deployment", "show", "iris-tf-keras-deployment-2"]
|
|
738
|
+
).decode("utf-8")
|
|
739
|
+
result_list = result.split("\n")
|
|
740
|
+
args_found = False
|
|
741
|
+
other_found = False
|
|
742
|
+
prev_node_selector_not_found = True
|
|
743
|
+
node_selector_1_found = False
|
|
744
|
+
node_selector_2_found = False
|
|
745
|
+
for line in result_list:
|
|
746
|
+
if "- --updated" in line:
|
|
747
|
+
args_found = True
|
|
748
|
+
if "MODS: UPDATED" in line:
|
|
749
|
+
mods_found = True
|
|
750
|
+
if "OTHER: VALUE" in line:
|
|
751
|
+
other_found = True
|
|
752
|
+
if "kubernetes.io/arch: amd64" in line:
|
|
753
|
+
prev_node_selector_not_found = False
|
|
754
|
+
if "x/y: a-b" in line:
|
|
755
|
+
node_selector_1_found = True
|
|
756
|
+
if "x/z: a-c" in line:
|
|
757
|
+
node_selector_2_found = True
|
|
758
|
+
assert args_found
|
|
759
|
+
assert mods_found
|
|
760
|
+
assert other_found
|
|
761
|
+
assert node_selector_1_found
|
|
762
|
+
assert node_selector_2_found
|
|
763
|
+
assert prev_node_selector_not_found
|
|
764
|
+
|
|
765
|
+
def test_deployment_clear_env_args_node_selectors(self, setup_login: None) -> None:
|
|
766
|
+
# Update the deployments and clear env/args/node_selectors
|
|
767
|
+
assert (
|
|
768
|
+
os.system(
|
|
769
|
+
"aioli deployment update "
|
|
770
|
+
"iris-tf-keras-deployment-2 "
|
|
771
|
+
"--env "
|
|
772
|
+
"--arg "
|
|
773
|
+
"--node-selector"
|
|
774
|
+
)
|
|
775
|
+
== 0
|
|
776
|
+
)
|
|
777
|
+
|
|
778
|
+
result = subprocess.check_output(
|
|
779
|
+
["aioli", "deployment", "show", "iris-tf-keras-deployment-2"]
|
|
780
|
+
).decode("utf-8")
|
|
781
|
+
result_list = result.split("\n")
|
|
782
|
+
args_not_found = True
|
|
783
|
+
mods_not_found = True
|
|
784
|
+
other_not_found = True
|
|
785
|
+
node_selector_1_not_found = True
|
|
786
|
+
node_selector_2_not_found = True
|
|
787
|
+
for line in result_list:
|
|
788
|
+
if "- --updated" in line:
|
|
789
|
+
args_not_found = False
|
|
790
|
+
if "MODS: UPDATED" in line:
|
|
791
|
+
mods_not_found = False
|
|
792
|
+
if "OTHER: VALUE" in line:
|
|
793
|
+
other_not_found = False
|
|
794
|
+
if "x/y: a-b" in line:
|
|
795
|
+
node_selector_1_not_found = False
|
|
796
|
+
if "x/z: a-c" in line:
|
|
797
|
+
node_selector_2_not_found = False
|
|
798
|
+
assert args_not_found
|
|
799
|
+
assert mods_not_found
|
|
800
|
+
assert other_not_found
|
|
801
|
+
assert node_selector_1_not_found
|
|
802
|
+
assert node_selector_2_not_found
|
|
715
803
|
|
|
716
804
|
def test_deployment_delete(self, setup_login: None) -> None:
|
|
717
805
|
assert os.system("aioli deployment delete iris-tf-keras-deployment") == 0
|
|
@@ -154,6 +154,8 @@ def construct_environment(args: Namespace) -> Dict[str, str]:
|
|
|
154
154
|
return environment
|
|
155
155
|
|
|
156
156
|
for entry in args.env:
|
|
157
|
+
if entry is None:
|
|
158
|
+
continue
|
|
157
159
|
# split to name & value
|
|
158
160
|
the_split = entry.split("=", maxsplit=1)
|
|
159
161
|
name: str = the_split[0]
|
|
@@ -170,5 +172,7 @@ def construct_arguments(args: Namespace) -> List[str]:
|
|
|
170
172
|
return arguments
|
|
171
173
|
|
|
172
174
|
for entry in args.arg:
|
|
175
|
+
if entry is None:
|
|
176
|
+
continue
|
|
173
177
|
arguments.append(entry.strip())
|
|
174
178
|
return arguments
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 1.2.0-
|
|
10
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
11
11
|
Contact: community@determined-ai
|
|
12
12
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -73,7 +73,7 @@ class DeploymentsApi:
|
|
|
73
73
|
) -> List[Deployment]:
|
|
74
74
|
"""Get all deployments.
|
|
75
75
|
|
|
76
|
-
Return the properties of all configured deployments.
|
|
76
|
+
Return the properties of all configured deployments. Results are sorted by modifiedAt descending.
|
|
77
77
|
|
|
78
78
|
:param last_event: Include the most recent event for each deployment when available.
|
|
79
79
|
:type last_event: str
|
|
@@ -142,7 +142,7 @@ class DeploymentsApi:
|
|
|
142
142
|
) -> ApiResponse[List[Deployment]]:
|
|
143
143
|
"""Get all deployments.
|
|
144
144
|
|
|
145
|
-
Return the properties of all configured deployments.
|
|
145
|
+
Return the properties of all configured deployments. Results are sorted by modifiedAt descending.
|
|
146
146
|
|
|
147
147
|
:param last_event: Include the most recent event for each deployment when available.
|
|
148
148
|
:type last_event: str
|
|
@@ -211,7 +211,7 @@ class DeploymentsApi:
|
|
|
211
211
|
) -> RESTResponseType:
|
|
212
212
|
"""Get all deployments.
|
|
213
213
|
|
|
214
|
-
Return the properties of all configured deployments.
|
|
214
|
+
Return the properties of all configured deployments. Results are sorted by modifiedAt descending.
|
|
215
215
|
|
|
216
216
|
:param last_event: Include the most recent event for each deployment when available.
|
|
217
217
|
:type last_event: str
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -74,7 +74,7 @@ class PackagedModelsApi:
|
|
|
74
74
|
) -> List[PackagedModel]:
|
|
75
75
|
"""Get all models.
|
|
76
76
|
|
|
77
|
-
Return the properties of all configured models.
|
|
77
|
+
Return the properties of all configured models. Results are sorted by modifiedAt descending.
|
|
78
78
|
|
|
79
79
|
:param model_ref: PackagedModel ID, Name or versioned Name (evaluated in that order)
|
|
80
80
|
:type model_ref: str
|
|
@@ -143,7 +143,7 @@ class PackagedModelsApi:
|
|
|
143
143
|
) -> ApiResponse[List[PackagedModel]]:
|
|
144
144
|
"""Get all models.
|
|
145
145
|
|
|
146
|
-
Return the properties of all configured models.
|
|
146
|
+
Return the properties of all configured models. Results are sorted by modifiedAt descending.
|
|
147
147
|
|
|
148
148
|
:param model_ref: PackagedModel ID, Name or versioned Name (evaluated in that order)
|
|
149
149
|
:type model_ref: str
|
|
@@ -212,7 +212,7 @@ class PackagedModelsApi:
|
|
|
212
212
|
) -> RESTResponseType:
|
|
213
213
|
"""Get all models.
|
|
214
214
|
|
|
215
|
-
Return the properties of all configured models.
|
|
215
|
+
Return the properties of all configured models. Results are sorted by modifiedAt descending.
|
|
216
216
|
|
|
217
217
|
:param model_ref: PackagedModel ID, Name or versioned Name (evaluated in that order)
|
|
218
218
|
:type model_ref: str
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -71,7 +71,7 @@ class RegistriesApi:
|
|
|
71
71
|
) -> List[TrainedModelRegistry]:
|
|
72
72
|
"""Get all model registries.
|
|
73
73
|
|
|
74
|
-
Return the properties of all configured model registries.
|
|
74
|
+
Return the properties of all configured model registries. Results are sorted by modifiedAt descending.
|
|
75
75
|
|
|
76
76
|
:param _request_timeout: timeout setting for this request. If one
|
|
77
77
|
number provided, it will be total request
|
|
@@ -136,7 +136,7 @@ class RegistriesApi:
|
|
|
136
136
|
) -> ApiResponse[List[TrainedModelRegistry]]:
|
|
137
137
|
"""Get all model registries.
|
|
138
138
|
|
|
139
|
-
Return the properties of all configured model registries.
|
|
139
|
+
Return the properties of all configured model registries. Results are sorted by modifiedAt descending.
|
|
140
140
|
|
|
141
141
|
:param _request_timeout: timeout setting for this request. If one
|
|
142
142
|
number provided, it will be total request
|
|
@@ -201,7 +201,7 @@ class RegistriesApi:
|
|
|
201
201
|
) -> RESTResponseType:
|
|
202
202
|
"""Get all model registries.
|
|
203
203
|
|
|
204
|
-
Return the properties of all configured model registries.
|
|
204
|
+
Return the properties of all configured model registries. Results are sorted by modifiedAt descending.
|
|
205
205
|
|
|
206
206
|
:param _request_timeout: timeout setting for this request. If one
|
|
207
207
|
number provided, it will be total request
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -72,7 +72,7 @@ class TokensApi:
|
|
|
72
72
|
) -> List[DeploymentToken]:
|
|
73
73
|
"""Get active deployment tokens accessible to the current user.
|
|
74
74
|
|
|
75
|
-
Return active DeploymentTokens accessible to the current user. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
75
|
+
Return active DeploymentTokens accessible to the current user. Results are sorted by modifiedAt descending. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
76
76
|
|
|
77
77
|
:param all: Get all the tokens.
|
|
78
78
|
:type all: str
|
|
@@ -141,7 +141,7 @@ class TokensApi:
|
|
|
141
141
|
) -> ApiResponse[List[DeploymentToken]]:
|
|
142
142
|
"""Get active deployment tokens accessible to the current user.
|
|
143
143
|
|
|
144
|
-
Return active DeploymentTokens accessible to the current user. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
144
|
+
Return active DeploymentTokens accessible to the current user. Results are sorted by modifiedAt descending. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
145
145
|
|
|
146
146
|
:param all: Get all the tokens.
|
|
147
147
|
:type all: str
|
|
@@ -210,7 +210,7 @@ class TokensApi:
|
|
|
210
210
|
) -> RESTResponseType:
|
|
211
211
|
"""Get active deployment tokens accessible to the current user.
|
|
212
212
|
|
|
213
|
-
Return active DeploymentTokens accessible to the current user. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
213
|
+
Return active DeploymentTokens accessible to the current user. Results are sorted by modifiedAt descending. Use the `all` query parameter to get all tokens for all users if the user has an Admin role. Otherwise, get all tokens accessible to the user.
|
|
214
214
|
|
|
215
215
|
:param all: Get all the tokens.
|
|
216
216
|
:type all: str
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -389,7 +389,7 @@ conf = aiolirest.Configuration(
|
|
|
389
389
|
return "Python SDK Debug Report:\n"\
|
|
390
390
|
"OS: {env}\n"\
|
|
391
391
|
"Python Version: {pyversion}\n"\
|
|
392
|
-
"Version of the API: 1.2.0-
|
|
392
|
+
"Version of the API: 1.2.0-dev6\n"\
|
|
393
393
|
"SDK Package Version: 1.0.0".\
|
|
394
394
|
format(env=sys.platform, pyversion=sys.version)
|
|
395
395
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 1.2.0-
|
|
9
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
10
10
|
Contact: community@determined-ai
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/deployment_token_patch_request.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -31,7 +31,7 @@ class EventInfo(BaseModel):
|
|
|
31
31
|
"""
|
|
32
32
|
EventInfo
|
|
33
33
|
""" # noqa: E501
|
|
34
|
-
event_type: Optional[StrictStr] = Field(default=None, description="Type of the event. * `Normal` - An informational event. * `Warning` - A condition that may require attention.", alias="eventType")
|
|
34
|
+
event_type: Optional[StrictStr] = Field(default=None, description="Type of the event. * `Normal` - An informational event. * `Warning` - A condition that may require attention. * `Error` - A condition that caused a failure and requires immediate attention.", alias="eventType")
|
|
35
35
|
message: Optional[StrictStr] = Field(default=None, description="Message for the event.")
|
|
36
36
|
reason: Optional[StrictStr] = Field(default=None, description="Common reasons for the event. * `ScalingReplicaSet` - The number of deployed replicas is being increased or decreased. * `Pulling` - Indicates that the container image is being loaded from a registry. * `Pulled` - Container image already present on machine. * `RevisionReady` - Revision becomes ready upon all resources being ready. Kubernetes official website does not provide a full list of values for Reason. Use the below link for the latest compilation of event Reasons. Ref: https://docs.appdynamics.com/observability/cisco-cloud-observability/en/kubernetes-and-app-service-monitoring/kubernetes-events-collection/events-reason-reference")
|
|
37
37
|
time: Optional[StrictStr] = Field(default=None, description="The time at which the event occurred.")
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.2.0.dev4 → aioli_sdk-1.2.0.dev6}/aiolirest/models/trained_model_registry_request.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.2.0-
|
|
8
|
+
The version of the OpenAPI document: 1.2.0-dev6
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,11 +22,11 @@ from typing import (
|
|
|
22
22
|
import filelock
|
|
23
23
|
import requests
|
|
24
24
|
|
|
25
|
+
import aioli.common.api.errors
|
|
25
26
|
import aiolirest
|
|
26
27
|
from aioli import cli
|
|
27
28
|
from aioli.common import api, util
|
|
28
29
|
from aioli.common.api import certs
|
|
29
|
-
import aioli.common.api.errors
|
|
30
30
|
|
|
31
31
|
Credentials = NamedTuple("Credentials", [("username", str), ("password", str)])
|
|
32
32
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|