aioli-sdk 1.0.1.dev29__tar.gz → 1.0.1.dev33__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.0.1.dev29 → aioli_sdk-1.0.1.dev33}/PKG-INFO +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/__version__.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/registry.py +99 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/test/test_cli.py +28 -2
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/token.py +38 -8
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/PKG-INFO +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/__init__.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/authentication_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/deployments_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/information_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/packaged_models_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/registries_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/roles_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/templates_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/tokens_api.py +4 -4
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/users_api.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api_client.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/configuration.py +2 -2
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/exceptions.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/__init__.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/auto_scaling_template.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/autoscaling.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/configuration_resources.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment.py +4 -2
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_model_version.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_state.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_token.py +2 -2
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_token_patch_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_token_request.py +2 -2
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/error_response.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/event_info.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/failure_info.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/login_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/login_response.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/model_auth_token.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/model_response.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/observability.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/packaged_model.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/packaged_model_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/resource_profile.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/resources_template.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/role.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/role_assignment.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/role_assignments.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/security.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/success_response.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/trained_model_registry.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/trained_model_registry_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/user.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/user_patch_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/user_request.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/rest.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/setup.py +1 -1
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/README.md +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/__init__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/__init__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/__main__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/_util.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/cli.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/deployment.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/errors.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/model.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/render.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/role.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/sso.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/test/conftest.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/user.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/cli/version.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/__init__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/__init__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/_util.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/authentication.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/certs.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/errors.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/api/request.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/check.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/constants.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/declarative_argparse.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/requests.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/common/util.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli/util.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/SOURCES.txt +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/dependency_links.txt +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/entry_points.txt +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/not-zip-safe +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/requires.txt +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aioli_sdk.egg-info/top_level.txt +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api/__init__.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/api_response.py +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/py.typed +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/pyproject.toml +0 -0
- {aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# © Copyright 2024 Hewlett Packard Enterprise Development LP
|
|
2
|
-
__version__ = "1.0.1-
|
|
2
|
+
__version__ = "1.0.1-dev33"
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# © Copyright 2023-2024 Hewlett Packard Enterprise Development LP
|
|
2
|
+
import os
|
|
3
|
+
import textwrap
|
|
2
4
|
from argparse import Namespace
|
|
3
5
|
from typing import Any, List, Optional
|
|
4
6
|
|
|
@@ -167,6 +169,95 @@ def delete_registry(args: Namespace) -> None:
|
|
|
167
169
|
api_instance.registries_id_delete(found.id)
|
|
168
170
|
|
|
169
171
|
|
|
172
|
+
def wrapped(description: str) -> str:
|
|
173
|
+
"""Wrap the description at nn characters."""
|
|
174
|
+
try:
|
|
175
|
+
width = int(os.getenv("AIOLI_MODEL_DESCRIPTION_WIDTH", "120"))
|
|
176
|
+
except ValueError:
|
|
177
|
+
raise cli.errors.CliError("AIOLI_MODEL_DESCRIPTION_WIDTH must be an integer")
|
|
178
|
+
return "\n".join(textwrap.wrap(description, width=width))
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
def format_model(r: aiolirest.TrainedModelRegistry, m: aiolirest.ModelResponse) -> List[Any]:
|
|
182
|
+
description = ""
|
|
183
|
+
if m.description is not None:
|
|
184
|
+
description = wrapped(m.description)
|
|
185
|
+
if r.type == "openllm":
|
|
186
|
+
# Strategy to reduce the output line width...
|
|
187
|
+
# display_name is not much different to the uri we calculate and contains
|
|
188
|
+
# a date/time stamp, so don't show that.
|
|
189
|
+
# The description field isn't populated with anything very useful, but I
|
|
190
|
+
# suppose that may change in time.
|
|
191
|
+
# latest_version_id_str is in the calculated uri, so don't show that.
|
|
192
|
+
# format shows a range of values, but for our users all are 'openllm'.
|
|
193
|
+
uri = f"openllm://{m.name}/{m.latest_version_id_str}"
|
|
194
|
+
return [uri, description]
|
|
195
|
+
size: str = ""
|
|
196
|
+
if m.metadata is not None:
|
|
197
|
+
size = str(m.metadata.get("size", ""))
|
|
198
|
+
if len(size) > 0: # then make human-readable
|
|
199
|
+
size2 = float(size) / 1024 / 1024 / 1024
|
|
200
|
+
size = f"{size2:.2} GiB"
|
|
201
|
+
return [
|
|
202
|
+
m.display_name,
|
|
203
|
+
m.image,
|
|
204
|
+
size,
|
|
205
|
+
description,
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
# Here is a list of known model formats, taken from the REST API documentation.
|
|
210
|
+
# As described there, in order to generate smaller query result sets we will query
|
|
211
|
+
# for models of each type in turn.
|
|
212
|
+
knownOpenllmModelFormats = [
|
|
213
|
+
"baichuan",
|
|
214
|
+
"chatglm",
|
|
215
|
+
"dolly_v2",
|
|
216
|
+
"falcon",
|
|
217
|
+
"flan_t5",
|
|
218
|
+
"gemma",
|
|
219
|
+
"gpt_neox",
|
|
220
|
+
"llama",
|
|
221
|
+
"mistral",
|
|
222
|
+
"mixtral",
|
|
223
|
+
"mpt",
|
|
224
|
+
"opt",
|
|
225
|
+
"phi",
|
|
226
|
+
"qwen",
|
|
227
|
+
"stablelm",
|
|
228
|
+
"starcoder",
|
|
229
|
+
"yi",
|
|
230
|
+
]
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
@authentication.required
|
|
234
|
+
def list_models(args: Namespace) -> None:
|
|
235
|
+
"""Implements 'aioli registry models <registry-name>'
|
|
236
|
+
|
|
237
|
+
which lists the available models in a registry.
|
|
238
|
+
"""
|
|
239
|
+
with cli.setup_session(args) as session:
|
|
240
|
+
api_instance = aiolirest.RegistriesApi(session)
|
|
241
|
+
registry = lookup_registry(args.name, api_instance)
|
|
242
|
+
|
|
243
|
+
models: List[aiolirest.ModelResponse] = []
|
|
244
|
+
|
|
245
|
+
# The columns displayed depend on the registry type, so adjust the headers accordingly.
|
|
246
|
+
headers = ["Name", "Image", "Size", "Description"]
|
|
247
|
+
|
|
248
|
+
if registry.type == "openllm":
|
|
249
|
+
headers = ["URL", "Description"]
|
|
250
|
+
for model_format in knownOpenllmModelFormats:
|
|
251
|
+
response = api_instance.registries_id_models_get(registry.id, model_format)
|
|
252
|
+
for m in response:
|
|
253
|
+
models.append(m)
|
|
254
|
+
else:
|
|
255
|
+
models = api_instance.registries_id_models_get(registry.id)
|
|
256
|
+
|
|
257
|
+
values = [format_model(registry, m) for m in models]
|
|
258
|
+
render.tabulate_or_csv(headers, values, False)
|
|
259
|
+
|
|
260
|
+
|
|
170
261
|
main_cmd = Cmd(
|
|
171
262
|
"registries r|egistry",
|
|
172
263
|
None,
|
|
@@ -256,6 +347,14 @@ main_cmd = Cmd(
|
|
|
256
347
|
Arg("name", help="The name of the model registry"),
|
|
257
348
|
],
|
|
258
349
|
),
|
|
350
|
+
Cmd(
|
|
351
|
+
"model|s",
|
|
352
|
+
list_models,
|
|
353
|
+
"lists the available models in a registry (for certain registry types)",
|
|
354
|
+
[
|
|
355
|
+
Arg("name", help="The name of the model registry"),
|
|
356
|
+
],
|
|
357
|
+
),
|
|
259
358
|
],
|
|
260
359
|
)
|
|
261
360
|
|
|
@@ -154,6 +154,20 @@ class TestCli:
|
|
|
154
154
|
actual = subprocess.check_output(["aioli", "registry", "list"]).decode("utf-8")
|
|
155
155
|
assert (actual.find(expected)) > 0
|
|
156
156
|
|
|
157
|
+
def test_registry_model_list(self, setup_login: None) -> None:
|
|
158
|
+
# List the models for the registry and test for expected values
|
|
159
|
+
expected = (
|
|
160
|
+
"Failed to lists the available models in a registry (for certain registry types): "
|
|
161
|
+
"a registry of type s3 is unable to provide a list of supported models. "
|
|
162
|
+
"Supported registries: (openllm, ngc)"
|
|
163
|
+
)
|
|
164
|
+
outcome = subprocess.run(
|
|
165
|
+
["aioli", "registry", "models", "bento-registry"], capture_output=True
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
assert outcome.returncode == 1
|
|
169
|
+
assert outcome.stderr.decode("utf-8").find(expected) == 0
|
|
170
|
+
|
|
157
171
|
def test_registry_list_csv(self, setup_login: None) -> None:
|
|
158
172
|
csv_output = subprocess.check_output(["aioli", "registry", "list", "--csv"]).decode("utf-8")
|
|
159
173
|
temp_file: str = "/tmp/test-cli-r.csv"
|
|
@@ -615,9 +629,19 @@ class TestCli:
|
|
|
615
629
|
' "status": "Deploying",\n'
|
|
616
630
|
' "version": "3"\n'
|
|
617
631
|
' }\n' # noqa: Q000
|
|
618
|
-
']
|
|
632
|
+
']' # noqa: Q000
|
|
619
633
|
)
|
|
620
634
|
actual = subprocess.check_output(["aioli", "deployment", "list", "--json"]).decode("utf-8")
|
|
635
|
+
result_list = actual.split("\n")
|
|
636
|
+
filtered_result = ""
|
|
637
|
+
|
|
638
|
+
# Filter out deployedAt which varies for each test run
|
|
639
|
+
for line in result_list:
|
|
640
|
+
if "deployedAt" in line:
|
|
641
|
+
continue
|
|
642
|
+
filtered_result = filtered_result + "\n" + line
|
|
643
|
+
|
|
644
|
+
actual = filtered_result.strip()
|
|
621
645
|
assert actual == expected
|
|
622
646
|
# fmt: on
|
|
623
647
|
|
|
@@ -654,8 +678,10 @@ class TestCli:
|
|
|
654
678
|
result_list = result.split("\n")
|
|
655
679
|
filtered_result = ""
|
|
656
680
|
|
|
657
|
-
# Filter out modifiedAt and id fields as they vary for each test run
|
|
681
|
+
# Filter out deployedAt, modifiedAt and id fields as they vary for each test run
|
|
658
682
|
for line in result_list:
|
|
683
|
+
if "deployedAt" in line:
|
|
684
|
+
continue
|
|
659
685
|
if "modifiedAt" in line:
|
|
660
686
|
continue
|
|
661
687
|
if "id" in line:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# © Copyright 2024 Hewlett Packard Enterprise Development LP
|
|
2
2
|
|
|
3
3
|
import argparse
|
|
4
|
+
import datetime
|
|
4
5
|
from typing import Any, List
|
|
5
6
|
|
|
6
7
|
import aioli
|
|
@@ -31,6 +32,28 @@ def create_token(parsed_args: argparse.Namespace) -> None:
|
|
|
31
32
|
with aioli.cli.setup_session(parsed_args) as session:
|
|
32
33
|
tokens_api = aiolirest.TokensApi(session)
|
|
33
34
|
|
|
35
|
+
# Check the format of the expiration provided by the user. If it doesn't include a timezone,
|
|
36
|
+
# convert the expiration in to the ISO 8601 format with timezone details.
|
|
37
|
+
if parsed_args.expiration:
|
|
38
|
+
# Continue if the expiration is in ISO 8601 format and includes timezone.
|
|
39
|
+
try:
|
|
40
|
+
datetime.datetime.strptime(parsed_args.expiration, "%Y-%m-%dT%H:%M:%S%z")
|
|
41
|
+
except Exception:
|
|
42
|
+
# else if the expiration is in date and time format or date only format,
|
|
43
|
+
# convert it to ISO 8601 format with timezone.
|
|
44
|
+
accepted_formats = ["%Y-%m-%d %H:%M:%S", "%Y-%m-%d"]
|
|
45
|
+
for datetime_format in accepted_formats:
|
|
46
|
+
try:
|
|
47
|
+
# Adding astimezone method ensure we capture the user's timezone.
|
|
48
|
+
expiration_date = datetime.datetime.strptime(
|
|
49
|
+
parsed_args.expiration, datetime_format
|
|
50
|
+
).astimezone()
|
|
51
|
+
except Exception:
|
|
52
|
+
pass
|
|
53
|
+
else:
|
|
54
|
+
parsed_args.expiration = expiration_date.isoformat()
|
|
55
|
+
break
|
|
56
|
+
|
|
34
57
|
token_request = aiolirest.DeploymentTokenRequest(
|
|
35
58
|
user=parsed_args.username,
|
|
36
59
|
deployment=parsed_args.deployment,
|
|
@@ -117,9 +140,13 @@ def update_token(parsed_args: argparse.Namespace) -> None:
|
|
|
117
140
|
provided ID.
|
|
118
141
|
|
|
119
142
|
Args:
|
|
120
|
-
parsed_args: command line arguments provided by the user.
|
|
121
|
-
|
|
143
|
+
parsed_args: command line arguments provided by the user. It contains deployment token ID
|
|
144
|
+
and description.
|
|
122
145
|
"""
|
|
146
|
+
if not parsed_args.description:
|
|
147
|
+
raise aioli.cli.errors.CliError(
|
|
148
|
+
"No description provided. Use 'aioli token update -h' for usage."
|
|
149
|
+
)
|
|
123
150
|
with aioli.cli.setup_session(parsed_args) as session:
|
|
124
151
|
tokens_api = aiolirest.TokensApi(session)
|
|
125
152
|
token_patch_request = aiolirest.DeploymentTokenPatchRequest(
|
|
@@ -160,11 +187,12 @@ args_description = [
|
|
|
160
187
|
"If no username is provided, the current user's username will be used."
|
|
161
188
|
),
|
|
162
189
|
aioli.common.declarative_argparse.Arg(
|
|
163
|
-
"--description",
|
|
190
|
+
"--description",
|
|
191
|
+
help="Description for the deployment token. "
|
|
192
|
+
"Enclose in quotes if the description contains spaces."
|
|
164
193
|
),
|
|
165
194
|
aioli.common.declarative_argparse.Arg(
|
|
166
|
-
"--expiration",
|
|
167
|
-
help="Expiration date for the token. For example, 2024-06-28T18:41:52-05:00",
|
|
195
|
+
"--expiration", help="Expiration date for the token."
|
|
168
196
|
),
|
|
169
197
|
]),
|
|
170
198
|
aioli.common.declarative_argparse.Cmd(
|
|
@@ -184,8 +212,8 @@ args_description = [
|
|
|
184
212
|
),
|
|
185
213
|
aioli.common.declarative_argparse.Arg(
|
|
186
214
|
"--all", action="store_true",
|
|
187
|
-
help="Get all tokens for all users
|
|
188
|
-
"
|
|
215
|
+
help="Get all tokens for all users if you have an Admin role. Otherwise, get "
|
|
216
|
+
"all tokens accessible to you."
|
|
189
217
|
),
|
|
190
218
|
],
|
|
191
219
|
is_default=True,
|
|
@@ -203,7 +231,9 @@ args_description = [
|
|
|
203
231
|
"update", update_token, "update the description for deployment token with given ID", [
|
|
204
232
|
aioli.common.declarative_argparse.Arg("id", help="ID of the token"),
|
|
205
233
|
aioli.common.declarative_argparse.Arg(
|
|
206
|
-
"description",
|
|
234
|
+
"--description",
|
|
235
|
+
help="New description for the deployment token. "
|
|
236
|
+
"Enclose in quotes if the description contains spaces."
|
|
207
237
|
),
|
|
208
238
|
]
|
|
209
239
|
),
|
|
@@ -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.0.1-
|
|
10
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
392
|
+
"Version of the API: 1.0.1-dev33\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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
9
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -39,6 +39,7 @@ class Deployment(BaseModel):
|
|
|
39
39
|
auto_scaling: Optional[Autoscaling] = Field(default=None, alias="autoScaling")
|
|
40
40
|
canary_traffic_percent: Optional[StrictInt] = Field(default=None, description="Percent traffic to pass to new model version", alias="canaryTrafficPercent")
|
|
41
41
|
cluster_name: Optional[StrictStr] = Field(default=None, description="Name of the cluster.", alias="clusterName")
|
|
42
|
+
deployed_at: Optional[StrictStr] = Field(default=None, description="Date-time of last deployed update. This is a read-only field and is automatically updated.", alias="deployedAt")
|
|
42
43
|
environment: Optional[Dict[str, StrictStr]] = Field(default=None, description="Environment variables added to the service")
|
|
43
44
|
goal_status: Optional[StrictStr] = Field(default='Ready', description="Specifies the intended status to be achieved by the deployment. Supported values are: * `Ready` - The inference service will be deployed to enable inference calls. * `Paused` - The inference service will be stopped and no longer accept calls. The default is `Ready`.", alias="goalStatus")
|
|
44
45
|
id: Optional[StrictStr] = Field(default=None, description="The ID of the deployment. This is a read-only property and is automatically assigned on creation.")
|
|
@@ -51,7 +52,7 @@ class Deployment(BaseModel):
|
|
|
51
52
|
security: Optional[Security] = None
|
|
52
53
|
state: Optional[DeploymentState] = None
|
|
53
54
|
status: Optional[StrictStr] = Field(default=None, description="Summary status of the deployed service. * `Deploying` - Service configuration is in progress. * `Failed` - The service configuration failed. * `Ready` - The service has been successfully configured and is serving. * `Updating` - A new service revision is being rolledout. * `UpdateFailed` - The current service revision failed to rollout due to an error. The prior version is still serving requests. * `Deleting` - The deployed service is being removed. * `Paused` - The deployed service has been stopped by the user or an external action. * `Unknown` - Unable to determined the status. This is a read-only property. Must be one of the values: (Deploying,Ready,Updating,UpdateFailed,Failed,Deleting,Paused,Unknown).")
|
|
54
|
-
__properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "clusterName", "environment", "goalStatus", "id", "lastEvent", "model", "modifiedAt", "name", "namespace", "secondaryState", "security", "state", "status"]
|
|
55
|
+
__properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "clusterName", "deployedAt", "environment", "goalStatus", "id", "lastEvent", "model", "modifiedAt", "name", "namespace", "secondaryState", "security", "state", "status"]
|
|
55
56
|
|
|
56
57
|
model_config = {
|
|
57
58
|
"populate_by_name": True,
|
|
@@ -120,6 +121,7 @@ class Deployment(BaseModel):
|
|
|
120
121
|
"autoScaling": Autoscaling.from_dict(obj.get("autoScaling")) if obj.get("autoScaling") is not None else None,
|
|
121
122
|
"canaryTrafficPercent": obj.get("canaryTrafficPercent"),
|
|
122
123
|
"clusterName": obj.get("clusterName"),
|
|
124
|
+
"deployedAt": obj.get("deployedAt"),
|
|
123
125
|
"environment": obj.get("environment"),
|
|
124
126
|
"goalStatus": obj.get("goalStatus") if obj.get("goalStatus") is not None else 'Ready',
|
|
125
127
|
"id": obj.get("id"),
|
{aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_model_version.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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -34,7 +34,7 @@ class DeploymentToken(BaseModel):
|
|
|
34
34
|
deployment: Optional[StrictStr] = Field(default=None, description="The deployment name")
|
|
35
35
|
deployment_id: Optional[StrictStr] = Field(default=None, description="The deployment id", alias="deploymentID")
|
|
36
36
|
description: Optional[StrictStr] = Field(default=None, description="The description of the token.")
|
|
37
|
-
expiration: Optional[StrictStr] = Field(default=None, description="The token expiration time.")
|
|
37
|
+
expiration: Optional[StrictStr] = Field(default=None, description="The token expiration time. If timezone is not included, UTC is assumed.")
|
|
38
38
|
id: Optional[StrictStr] = Field(default=None, description="The ID of the token. This is a read-only field and is automatically assigned on creation.")
|
|
39
39
|
modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the deployment. This is a read-only field and is automatically updated.", alias="modifiedAt")
|
|
40
40
|
revoked: Optional[StrictBool] = Field(default=False, description="Indicate whether the deployment token is revoked")
|
{aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/aiolirest/models/deployment_token_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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -33,7 +33,7 @@ class DeploymentTokenRequest(BaseModel):
|
|
|
33
33
|
""" # noqa: E501
|
|
34
34
|
deployment: Optional[StrictStr] = Field(default=None, description="The name or ID of the deployment.")
|
|
35
35
|
description: Optional[StrictStr] = Field(default=None, description="The description of the deployment token to be created.")
|
|
36
|
-
expiration: Optional[StrictStr] = Field(default=None, description="The expiration date.")
|
|
36
|
+
expiration: Optional[StrictStr] = Field(default=None, description="The expiration date. If timezone is not included, UTC is assumed.")
|
|
37
37
|
user: Optional[StrictStr] = Field(default=None, description="The user name or ID. If not specified, created for current user.")
|
|
38
38
|
__properties: ClassVar[List[str]] = ["deployment", "description", "expiration", "user"]
|
|
39
39
|
|
|
@@ -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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.0.1.dev29 → aioli_sdk-1.0.1.dev33}/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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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.0.1-
|
|
8
|
+
The version of the OpenAPI document: 1.0.1-dev33
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|