aioli-sdk 1.3.0.dev30__tar.gz → 1.3.0.dev34__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.3.0.dev30 → aioli_sdk-1.3.0.dev34}/PKG-INFO +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/__version__.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/project.py +65 -12
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/test/test_cli.py +8 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/user.py +12 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/PKG-INFO +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/__init__.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/authentication_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/deployments_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/information_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/packaged_models_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/projects_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/registries_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/roles_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/templates_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/tokens_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/users_api.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api_client.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/configuration.py +2 -2
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/exceptions.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/__init__.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/auto_scaling_template.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/auto_scaling_template_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/autoscaling.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/configuration_resources.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/controller_config.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/controller_status.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_model_version.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_priority.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_request.py +5 -3
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_state.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_token.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_token_patch_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/deployment_token_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/error_response.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/event_info.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/ezua_info.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/failure_info.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/login_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/login_response.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/model_auth_token.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/model_response.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/observability.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/packaged_model.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/packaged_model_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/project.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/project_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/resource_profile.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/resources_template.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/resources_template_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/role.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/role_assignment.py +5 -5
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/role_assignments.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/security.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/success_response.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/telemetry_info.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/trained_model_registry.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/trained_model_registry_request.py +5 -3
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/user.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/user_patch_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/user_request.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/user_session.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/rest.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/setup.py +1 -1
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/README.md +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/__init__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/__init__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/__main__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/_util.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/cli.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/deployment.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/errors.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/model.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/registry.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/render.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/role.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/sso.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/template.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/test/conftest.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/token.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/cli/version.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/__init__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/__init__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/_util.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/authentication.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/certs.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/errors.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/api/request.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/check.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/constants.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/declarative_argparse.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/requests.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/common/util.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli/util.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/SOURCES.txt +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/dependency_links.txt +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/entry_points.txt +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/not-zip-safe +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/requires.txt +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aioli_sdk.egg-info/top_level.txt +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api/__init__.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/api_response.py +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/py.typed +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/pyproject.toml +0 -0
- {aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# © Copyright 2024 Hewlett Packard Enterprise Development LP
|
|
2
|
-
__version__ = "1.3.0-
|
|
2
|
+
__version__ = "1.3.0-dev34"
|
|
@@ -10,6 +10,7 @@ from aioli.common.api.errors import NotFoundException
|
|
|
10
10
|
from aioli.common.declarative_argparse import Arg, Cmd, Group
|
|
11
11
|
from aiolirest.models.project import Project
|
|
12
12
|
from aiolirest.models.project_request import ProjectRequest
|
|
13
|
+
from aiolirest.models.user_session import UserSession
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
@authentication.required
|
|
@@ -108,15 +109,49 @@ def lookup_project(name: str, api: aiolirest.ProjectsApi) -> Project:
|
|
|
108
109
|
raise NotFoundException(f"Project {name} not found")
|
|
109
110
|
|
|
110
111
|
|
|
112
|
+
def lookup_project_by_id(project_id: str, api: aiolirest.ProjectsApi) -> Project:
|
|
113
|
+
p = api.projects_id_get(project_id)
|
|
114
|
+
if p.id != project_id:
|
|
115
|
+
NotFoundException(f"Project {project_id} not found")
|
|
116
|
+
return p
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
@authentication.required
|
|
120
|
+
def activate_project(args: Namespace) -> None:
|
|
121
|
+
with cli.setup_session(args) as session:
|
|
122
|
+
api_instance = aiolirest.AuthenticationApi(session)
|
|
123
|
+
user_session: UserSession = UserSession(project=args.name)
|
|
124
|
+
api_instance.session_put(user_session=user_session)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@authentication.required
|
|
128
|
+
def clear_project(args: Namespace) -> None:
|
|
129
|
+
with cli.setup_session(args) as session:
|
|
130
|
+
api_instance = aiolirest.AuthenticationApi(session)
|
|
131
|
+
user_session: UserSession = UserSession(project=None)
|
|
132
|
+
api_instance.session_put(user_session=user_session)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
@authentication.required
|
|
136
|
+
def display_project(args: Namespace) -> None:
|
|
137
|
+
with cli.setup_session(args) as session:
|
|
138
|
+
api_instance = aiolirest.AuthenticationApi(session)
|
|
139
|
+
user_session: UserSession = api_instance.session_get()
|
|
140
|
+
if user_session.project is None or user_session.project == "":
|
|
141
|
+
print("No project set")
|
|
142
|
+
return
|
|
143
|
+
print(lookup_project_by_id(user_session.project, aiolirest.ProjectsApi(session)).name)
|
|
144
|
+
|
|
145
|
+
|
|
111
146
|
main_cmd = Cmd(
|
|
112
147
|
"projects p|roject",
|
|
113
148
|
None,
|
|
114
|
-
"
|
|
149
|
+
"Manage projects",
|
|
115
150
|
[
|
|
116
151
|
Cmd(
|
|
117
152
|
"list ls",
|
|
118
153
|
list_projects,
|
|
119
|
-
"list projects",
|
|
154
|
+
"list all projects",
|
|
120
155
|
[
|
|
121
156
|
Group(
|
|
122
157
|
Arg("--csv", action="store_true", help="print as CSV"),
|
|
@@ -129,12 +164,12 @@ main_cmd = Cmd(
|
|
|
129
164
|
Cmd(
|
|
130
165
|
"create",
|
|
131
166
|
create_project,
|
|
132
|
-
"create a project",
|
|
167
|
+
"create a new project",
|
|
133
168
|
[
|
|
134
169
|
Arg(
|
|
135
170
|
"name",
|
|
136
|
-
help="The name of the project. Must begin with a letter
|
|
137
|
-
"contain letters, numbers, and
|
|
171
|
+
help="The name of the project. Must begin with a letter and may "
|
|
172
|
+
"contain letters, numbers, and hyphens.",
|
|
138
173
|
),
|
|
139
174
|
Arg("--description", help="The description of the project"),
|
|
140
175
|
Arg("--owner", help="The owner of the project"),
|
|
@@ -143,16 +178,16 @@ main_cmd = Cmd(
|
|
|
143
178
|
Cmd(
|
|
144
179
|
"update",
|
|
145
180
|
update_project,
|
|
146
|
-
"
|
|
181
|
+
"update an existing project",
|
|
147
182
|
[
|
|
148
|
-
Arg("projectname", help="The name of the project"),
|
|
183
|
+
Arg("projectname", help="The current name of the project"),
|
|
149
184
|
Arg(
|
|
150
185
|
"--name",
|
|
151
|
-
help="The new name of the project. Must begin with a letter
|
|
152
|
-
"contain letters, numbers, and
|
|
186
|
+
help="The new name of the project. Must begin with a letter and may "
|
|
187
|
+
"contain letters, numbers, and hyphens.",
|
|
153
188
|
),
|
|
154
189
|
Arg("--description", help="The new description of the project"),
|
|
155
|
-
Arg("--owner", help="The owner of the project"),
|
|
190
|
+
Arg("--owner", help="The new owner of the project"),
|
|
156
191
|
],
|
|
157
192
|
),
|
|
158
193
|
Cmd(
|
|
@@ -160,13 +195,13 @@ main_cmd = Cmd(
|
|
|
160
195
|
delete_project,
|
|
161
196
|
"delete a project",
|
|
162
197
|
[
|
|
163
|
-
Arg("name", help="The name of the project"),
|
|
198
|
+
Arg("name", help="The name of the project to delete"),
|
|
164
199
|
],
|
|
165
200
|
),
|
|
166
201
|
Cmd(
|
|
167
202
|
"show",
|
|
168
203
|
show_project,
|
|
169
|
-
"show a project",
|
|
204
|
+
"show details of a project",
|
|
170
205
|
[
|
|
171
206
|
Arg("name", help="The name of the project"),
|
|
172
207
|
Group(
|
|
@@ -175,6 +210,24 @@ main_cmd = Cmd(
|
|
|
175
210
|
),
|
|
176
211
|
],
|
|
177
212
|
),
|
|
213
|
+
Cmd(
|
|
214
|
+
"set|-for-session",
|
|
215
|
+
activate_project,
|
|
216
|
+
"set the project for the current session, limiting future commands to show and affect "
|
|
217
|
+
"resources from that project only.",
|
|
218
|
+
[
|
|
219
|
+
Arg("name", help="The name of the project"),
|
|
220
|
+
],
|
|
221
|
+
),
|
|
222
|
+
Cmd(
|
|
223
|
+
"clear|-for-session",
|
|
224
|
+
clear_project,
|
|
225
|
+
"clear the project from the current session. Display all resources. New resources "
|
|
226
|
+
"will be created in the default project limiting future commands to show and affect "
|
|
227
|
+
"resources from the default project only.",
|
|
228
|
+
[],
|
|
229
|
+
),
|
|
230
|
+
Cmd("display|-for-session", display_project, "display the current session project", []),
|
|
178
231
|
],
|
|
179
232
|
)
|
|
180
233
|
|
|
@@ -1153,6 +1153,14 @@ class TestCli:
|
|
|
1153
1153
|
actual = subprocess.check_output(["aioli", "user", "list"]).decode("utf-8")
|
|
1154
1154
|
assert (actual.find(expected)) > 0
|
|
1155
1155
|
|
|
1156
|
+
def test_user_delete(self, setup_login: None) -> None:
|
|
1157
|
+
assert os.system("aioli user create testuser2 --password passwd") == 0
|
|
1158
|
+
# Delete user and test for expected values
|
|
1159
|
+
assert os.system("aioli user delete testuser2") == 0
|
|
1160
|
+
actual = subprocess.check_output(["aioli", "user", "list"]).decode("utf-8")
|
|
1161
|
+
expected = "testuser2"
|
|
1162
|
+
assert (actual.find(expected)) < 0 # Expect to be not found
|
|
1163
|
+
|
|
1156
1164
|
def test_template_resource_create_and_update(self, setup_login: None) -> None:
|
|
1157
1165
|
# Create a resource template
|
|
1158
1166
|
assert (
|
|
@@ -220,8 +220,16 @@ def whoami(parsed_args: Namespace) -> None:
|
|
|
220
220
|
print("You are logged in as user '{}'".format(user.username))
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
|
|
223
|
+
@authentication.required
|
|
224
|
+
def delete(parsed_args: Namespace) -> None:
|
|
225
|
+
with cli.setup_session(parsed_args) as session:
|
|
226
|
+
api_instance = aiolirest.UsersApi(session)
|
|
227
|
+
found = get_user_by_name(parsed_args.username, api_instance)
|
|
228
|
+
assert found.id is not None
|
|
229
|
+
api_instance.users_id_delete(int(found.id))
|
|
224
230
|
|
|
231
|
+
|
|
232
|
+
# fmt: off
|
|
225
233
|
args_description = [
|
|
226
234
|
Cmd("u|ser", None, "manage users", [
|
|
227
235
|
Cmd("list ls", list_users, "list users",
|
|
@@ -279,6 +287,9 @@ args_description = [
|
|
|
279
287
|
help="set user as active/inactive",
|
|
280
288
|
),
|
|
281
289
|
]),
|
|
290
|
+
Cmd("delete", delete, "delete user", [
|
|
291
|
+
Arg("username", help="name of user to delete")
|
|
292
|
+
]),
|
|
282
293
|
])
|
|
283
294
|
] # type: List[Any]
|
|
284
295
|
|
|
@@ -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.3.0-
|
|
10
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
392
|
+
"Version of the API: 1.3.0-dev34\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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
9
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/auto_scaling_template_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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -38,13 +38,14 @@ class DeploymentRequest(BaseModel):
|
|
|
38
38
|
canary_traffic_percent: Optional[StrictInt] = Field(default=None, description="Percent traffic to pass to new model version", alias="canaryTrafficPercent")
|
|
39
39
|
environment: Optional[Dict[str, StrictStr]] = Field(default=None, description="Environment variables added to the service")
|
|
40
40
|
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")
|
|
41
|
-
model: StrictStr = Field(description="
|
|
41
|
+
model: StrictStr = Field(description="ModelID is the name or ID of the model to be deployed.")
|
|
42
42
|
name: StrictStr = Field(description="The deployment name. It must be a valid subdomain name and consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.")
|
|
43
43
|
namespace: Optional[StrictStr] = Field(default=None, description="The Kubernetes namespace to be used for the deployment.")
|
|
44
44
|
node_selectors: Optional[Dict[str, StrictStr]] = Field(default=None, description="Node selectors to be added to the service", alias="nodeSelectors")
|
|
45
45
|
priority_class_name: Optional[StrictStr] = Field(default=None, description="Priority Class Name to be used for prioritization of deployments.", alias="priorityClassName")
|
|
46
|
+
project: Optional[StrictStr] = Field(default=None, description="The optional name or ID of the containing project. If unspecified, the project is determined by the project in the session, otherwise it uses the default project configured for the user.")
|
|
46
47
|
security: Optional[Security] = None
|
|
47
|
-
__properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "environment", "goalStatus", "model", "name", "namespace", "nodeSelectors", "priorityClassName", "security"]
|
|
48
|
+
__properties: ClassVar[List[str]] = ["arguments", "autoScaling", "canaryTrafficPercent", "environment", "goalStatus", "model", "name", "namespace", "nodeSelectors", "priorityClassName", "project", "security"]
|
|
48
49
|
|
|
49
50
|
model_config = {
|
|
50
51
|
"populate_by_name": True,
|
|
@@ -110,6 +111,7 @@ class DeploymentRequest(BaseModel):
|
|
|
110
111
|
"namespace": obj.get("namespace"),
|
|
111
112
|
"nodeSelectors": obj.get("nodeSelectors"),
|
|
112
113
|
"priorityClassName": obj.get("priorityClassName"),
|
|
114
|
+
"project": obj.get("project"),
|
|
113
115
|
"security": Security.from_dict(obj.get("security")) if obj.get("security") is not None else None
|
|
114
116
|
})
|
|
115
117
|
return _obj
|
|
@@ -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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/aiolirest/models/resources_template_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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -31,10 +31,10 @@ class RoleAssignment(BaseModel):
|
|
|
31
31
|
"""
|
|
32
32
|
RoleAssignment describes a user-role assignment.
|
|
33
33
|
""" # noqa: E501
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
project: Optional[StrictStr] = Field(default=None, description="Optional project name or ID specifying the scope of the role assignment. An empty value indicates a global role assignment.")
|
|
35
|
+
role_name: StrictStr = Field(description="Role Name. Must be one of the values: (Admin, Viewer, Maintainer, Robot, CacheManager, ProjectCreator, ProjectOwner, ProjectWriter, ProjectViewer).", alias="roleName")
|
|
36
36
|
user_name: StrictStr = Field(description="User Name.", alias="userName")
|
|
37
|
-
__properties: ClassVar[List[str]] = ["
|
|
37
|
+
__properties: ClassVar[List[str]] = ["project", "roleName", "userName"]
|
|
38
38
|
|
|
39
39
|
model_config = {
|
|
40
40
|
"populate_by_name": True,
|
|
@@ -84,8 +84,8 @@ class RoleAssignment(BaseModel):
|
|
|
84
84
|
return cls.model_validate(obj)
|
|
85
85
|
|
|
86
86
|
_obj = cls.model_validate({
|
|
87
|
+
"project": obj.get("project"),
|
|
87
88
|
"roleName": obj.get("roleName"),
|
|
88
|
-
"scopeName": obj.get("scopeName"),
|
|
89
89
|
"userName": obj.get("userName")
|
|
90
90
|
})
|
|
91
91
|
return _obj
|
|
@@ -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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
{aioli_sdk-1.3.0.dev30 → aioli_sdk-1.3.0.dev34}/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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
9
9
|
Contact: community@determined-ai
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -37,9 +37,10 @@ class TrainedModelRegistryRequest(BaseModel):
|
|
|
37
37
|
insecure_https: Optional[StrictBool] = Field(default=None, description="For https endpoints, the server certificate will be accepted without validation.", alias="insecureHttps")
|
|
38
38
|
modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the registry. This is a read-only field and is automatically updated.", alias="modifiedAt")
|
|
39
39
|
name: StrictStr = Field(description="The name of the registry. Must begin with a letter, but may contain letters, numbers, and hyphen.")
|
|
40
|
+
project: Optional[StrictStr] = Field(default=None, description="The type of this model registry. Must be one of the values: (s3, http, openllm, ngc, pfs). * `s3` - Configuration to enable direct model download from an s3 bucket. * `openllm` - Configuration to enable direct model download of OpenLLM models from huggingface.co. * `ngc` - Configuration to enable direct model download from the NVIDIA NGC: AI Development Catalog. * `pfs` - Configuration to enable direct model download from an HPE MLDM Pachyderm File System. The optional name or ID of the containing project. If unspecified, the project is determined by the project in the session, otherwise it uses the default project configured for the user.")
|
|
40
41
|
secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. * `s3` - The secret key for the S3 bucket. * `openllm` - The access token for huggingface.co and is supplied to the launched container via the `HF_TOKEN` environment variable. * `ngc` - The required NVIDIA NGC apikey. * `pfs` - The required authentication token (e.g. c91ab42a10a...).", alias="secretKey")
|
|
41
|
-
type: StrictStr
|
|
42
|
-
__properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
|
|
42
|
+
type: StrictStr
|
|
43
|
+
__properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "insecureHttps", "modifiedAt", "name", "project", "secretKey", "type"]
|
|
43
44
|
|
|
44
45
|
model_config = {
|
|
45
46
|
"populate_by_name": True,
|
|
@@ -95,6 +96,7 @@ class TrainedModelRegistryRequest(BaseModel):
|
|
|
95
96
|
"insecureHttps": obj.get("insecureHttps"),
|
|
96
97
|
"modifiedAt": obj.get("modifiedAt"),
|
|
97
98
|
"name": obj.get("name"),
|
|
99
|
+
"project": obj.get("project"),
|
|
98
100
|
"secretKey": obj.get("secretKey"),
|
|
99
101
|
"type": obj.get("type")
|
|
100
102
|
})
|
|
@@ -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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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.3.0-
|
|
8
|
+
The version of the OpenAPI document: 1.3.0-dev34
|
|
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
|
|
File without changes
|
|
File without changes
|