aioli-sdk 1.3.0.dev2__tar.gz → 1.3.0.dev4__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.
Files changed (101) hide show
  1. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/PKG-INFO +1 -1
  2. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/__version__.py +1 -1
  3. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/test/test_cli.py +16 -0
  4. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/user.py +42 -1
  5. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/declarative_argparse.py +5 -0
  6. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/util.py +12 -0
  7. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/PKG-INFO +1 -1
  8. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/__init__.py +1 -1
  9. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/authentication_api.py +1 -1
  10. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/deployments_api.py +1 -1
  11. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/information_api.py +1 -1
  12. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/packaged_models_api.py +1 -1
  13. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/registries_api.py +1 -1
  14. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/roles_api.py +1 -1
  15. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/templates_api.py +1 -1
  16. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/tokens_api.py +1 -1
  17. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/users_api.py +4 -4
  18. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api_client.py +1 -1
  19. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/configuration.py +2 -2
  20. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/exceptions.py +1 -1
  21. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/__init__.py +1 -1
  22. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/auto_scaling_template.py +1 -1
  23. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/auto_scaling_template_request.py +1 -1
  24. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/autoscaling.py +1 -1
  25. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/configuration_resources.py +1 -1
  26. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/controller_config.py +1 -1
  27. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/controller_status.py +1 -1
  28. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment.py +1 -1
  29. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_model_version.py +1 -1
  30. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_priority.py +1 -1
  31. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_request.py +1 -1
  32. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_state.py +1 -1
  33. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_token.py +1 -1
  34. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_token_patch_request.py +1 -1
  35. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/deployment_token_request.py +1 -1
  36. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/error_response.py +1 -1
  37. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/event_info.py +1 -1
  38. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/ezua_info.py +1 -1
  39. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/failure_info.py +1 -1
  40. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/login_request.py +1 -1
  41. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/login_response.py +1 -1
  42. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/model_auth_token.py +1 -1
  43. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/model_response.py +1 -1
  44. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/observability.py +1 -1
  45. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/packaged_model.py +1 -1
  46. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/packaged_model_request.py +1 -1
  47. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/resource_profile.py +1 -1
  48. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/resources_template.py +1 -1
  49. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/resources_template_request.py +1 -1
  50. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/role.py +1 -1
  51. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/role_assignment.py +1 -1
  52. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/role_assignments.py +1 -1
  53. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/security.py +1 -1
  54. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/success_response.py +1 -1
  55. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/telemetry_info.py +1 -1
  56. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/trained_model_registry.py +3 -3
  57. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/trained_model_registry_request.py +3 -3
  58. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/user.py +1 -1
  59. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/user_patch_request.py +7 -3
  60. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/models/user_request.py +1 -1
  61. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/rest.py +1 -1
  62. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/setup.py +1 -1
  63. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/README.md +0 -0
  64. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/__init__.py +0 -0
  65. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/__init__.py +0 -0
  66. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/__main__.py +0 -0
  67. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/_util.py +0 -0
  68. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/cli.py +0 -0
  69. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/deployment.py +0 -0
  70. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/errors.py +0 -0
  71. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/model.py +0 -0
  72. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/registry.py +0 -0
  73. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/render.py +0 -0
  74. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/role.py +0 -0
  75. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/sso.py +0 -0
  76. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/template.py +0 -0
  77. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/test/conftest.py +0 -0
  78. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/token.py +0 -0
  79. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/cli/version.py +0 -0
  80. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/__init__.py +0 -0
  81. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/__init__.py +0 -0
  82. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/_util.py +0 -0
  83. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/authentication.py +0 -0
  84. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/certs.py +0 -0
  85. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/errors.py +0 -0
  86. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/api/request.py +0 -0
  87. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/check.py +0 -0
  88. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/constants.py +0 -0
  89. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/common/requests.py +0 -0
  90. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli/util.py +0 -0
  91. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/SOURCES.txt +0 -0
  92. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/dependency_links.txt +0 -0
  93. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/entry_points.txt +0 -0
  94. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/not-zip-safe +0 -0
  95. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/requires.txt +0 -0
  96. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aioli_sdk.egg-info/top_level.txt +0 -0
  97. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api/__init__.py +0 -0
  98. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/api_response.py +0 -0
  99. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/aiolirest/py.typed +0 -0
  100. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/pyproject.toml +0 -0
  101. {aioli_sdk-1.3.0.dev2 → aioli_sdk-1.3.0.dev4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.3.0.dev2
3
+ Version: 1.3.0.dev4
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -1,2 +1,2 @@
1
1
  # © Copyright 2024 Hewlett Packard Enterprise Development LP
2
- __version__ = "1.3.0-dev2"
2
+ __version__ = "1.3.0-dev4"
@@ -1011,6 +1011,22 @@ class TestCli:
1011
1011
  actual = subprocess.check_output(["aioli", "user", "list"]).decode("utf-8")
1012
1012
  assert (actual.find(expected)) > 0
1013
1013
 
1014
+ def test_user_update(self, setup_login: None) -> None:
1015
+ # update testuser and check for expected values
1016
+ assert (
1017
+ os.system(
1018
+ "aioli user update testuser --username newuser --display-name 'new display name'"
1019
+ )
1020
+ == 0
1021
+ )
1022
+ expected = "newuser | new display name | True"
1023
+ actual = subprocess.check_output(["aioli", "user", "list"]).decode("utf-8")
1024
+ assert (actual.find(expected)) > 0
1025
+ assert os.system("aioli user update newuser --username testuser --active f") == 0
1026
+ expected = "testuser | new display name | False"
1027
+ actual = subprocess.check_output(["aioli", "user", "list"]).decode("utf-8")
1028
+ assert (actual.find(expected)) > 0
1029
+
1014
1030
  def test_user_whoami(self, setup_login: None) -> None:
1015
1031
  assert os.system("aioli user whoami") == 0
1016
1032
  expected = "You are logged in as user 'admin'\n"
@@ -8,7 +8,7 @@ from aioli import cli
8
8
  from aioli.cli import errors, render
9
9
  from aioli.common.api import authentication, certs
10
10
  from aioli.common.api.errors import NotFoundException
11
- from aioli.common.declarative_argparse import Arg, Cmd, Group
11
+ from aioli.common.declarative_argparse import Arg, Cmd, Group, string_to_bool
12
12
  from aiolirest.api import UsersApi
13
13
  from aiolirest.models.user import User
14
14
  from aiolirest.models.user_patch_request import UserPatchRequest
@@ -176,6 +176,30 @@ def create_user(parsed_args: Namespace) -> None:
176
176
  api_instance.users_post(user=new_user)
177
177
 
178
178
 
179
+ @authentication.required
180
+ def update(parsed_args: Namespace) -> None:
181
+ changes = []
182
+ patch = UserPatchRequest()
183
+
184
+ if parsed_args.username is not None:
185
+ patch.username = parsed_args.username
186
+ changes.append("Username")
187
+
188
+ if parsed_args.display_name is not None:
189
+ patch.display_name = parsed_args.display_name
190
+ changes.append("Display Name")
191
+
192
+ if parsed_args.activate is not None:
193
+ patch.active = parsed_args.activate
194
+ changes.append("Active")
195
+
196
+ if len(changes) > 0:
197
+ patch_user(parsed_args, parsed_args.target_user, patch)
198
+ print("Changes made to the following fields: " + ", ".join(changes))
199
+ else:
200
+ raise errors.CliError("No field provided. Use 'aioli user update -h' for usage.")
201
+
202
+
179
203
  @authentication.required
180
204
  def whoami(parsed_args: Namespace) -> None:
181
205
  with cli.setup_session(parsed_args) as session:
@@ -227,6 +251,23 @@ args_description = [
227
251
  Arg("--role", help="assign a role to the created user"),
228
252
  ]),
229
253
  Cmd("whoami", whoami, "print the active user", []),
254
+ Cmd("update", update, "update user fields", [
255
+ Arg(
256
+ "target_user",
257
+ default=None,
258
+ help="name of user that should be updated"
259
+ ),
260
+ Arg("--display-name", default=None, help="new display name for target_user"),
261
+ Arg("--username", default=None, help="new username for target_user"),
262
+ Arg(
263
+ "--active",
264
+ dest="activate",
265
+ type=string_to_bool,
266
+ metavar="(true|false)",
267
+ default=None,
268
+ help="set user as active/inactive",
269
+ ),
270
+ ]),
230
271
  ])
231
272
  ] # type: List[Any]
232
273
 
@@ -258,3 +258,8 @@ def add_args(parser: ArgumentParser, description: ArgsDescription, depth: int =
258
258
  # the default print help.
259
259
  if subparsers is not None and parser.get_default("func") is None:
260
260
  parser.set_defaults(func=help_func(parser))
261
+
262
+
263
+ def string_to_bool(s: str) -> bool:
264
+ """Converts string values to boolean for flag arguments (e.g. --active=true)"""
265
+ return util.strtobool(s)
@@ -174,3 +174,15 @@ def construct_arguments(args: Namespace) -> List[str]:
174
174
  continue
175
175
  arguments.append(entry.strip())
176
176
  return arguments
177
+
178
+
179
+ def strtobool(val: str) -> bool:
180
+ """
181
+ A port of the distutils.util.strtobool function, removed in python 3.12.
182
+
183
+ The only difference in this function is that any non-falsy value which is a non-empty string is
184
+ accepted as a true value. That small difference gives us a small headstart on this todo:
185
+
186
+ TODO(MLG-1520): we should instead treat any nonempty string as "true".
187
+ """
188
+ return bool(val and val.lower() not in ("n", "no", "f", "false", "off", "0"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.3.0.dev2
3
+ Version: 1.3.0.dev4
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -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-dev2
10
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -868,7 +868,7 @@ class UsersApi:
868
868
  ) -> User:
869
869
  """Update user properties.
870
870
 
871
- Update a user's properties. Provide a body that contains one or more of the properties: - `password` - `admin` - `active`
871
+ Update a user's properties. Provide a body that contains one or more of the properties: - `username` - `displayName` - `password` - `active`
872
872
 
873
873
  :param id: User ID (required)
874
874
  :type id: str
@@ -943,7 +943,7 @@ class UsersApi:
943
943
  ) -> ApiResponse[User]:
944
944
  """Update user properties.
945
945
 
946
- Update a user's properties. Provide a body that contains one or more of the properties: - `password` - `admin` - `active`
946
+ Update a user's properties. Provide a body that contains one or more of the properties: - `username` - `displayName` - `password` - `active`
947
947
 
948
948
  :param id: User ID (required)
949
949
  :type id: str
@@ -1018,7 +1018,7 @@ class UsersApi:
1018
1018
  ) -> RESTResponseType:
1019
1019
  """Update user properties.
1020
1020
 
1021
- Update a user's properties. Provide a body that contains one or more of the properties: - `password` - `admin` - `active`
1021
+ Update a user's properties. Provide a body that contains one or more of the properties: - `username` - `displayName` - `password` - `active`
1022
1022
 
1023
1023
  :param id: User ID (required)
1024
1024
  :type id: 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.3.0-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2\n"\
392
+ "Version of the API: 1.3.0-dev4\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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
9
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -33,12 +33,12 @@ class TrainedModelRegistry(BaseModel):
33
33
  """ # noqa: E501
34
34
  access_key: Optional[StrictStr] = Field(default=None, description="The access key, username or team name for the registry. * `s3` - The access key/username. * `ngc` - The optional NGC team name. * `pfs` - The optional repository name.", alias="accessKey")
35
35
  bucket: Optional[StrictStr] = Field(default=None, description="The bucket or organization name, depending on which of the following values is selected as the model registry type. * `s3` - The required S3 bucket name. * `ngc` - The required NGC org name. * `pfs` - The required project name.")
36
- endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co-compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com). * `pfs` - The required HPE MLDM cluster (pachd) address.", alias="endpointUrl")
36
+ endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com). * `pfs` - The required HPE MLDM cluster (pachd) address.", alias="endpointUrl")
37
37
  id: Optional[StrictStr] = Field(default=None, description="The ID of the model registry. This is a read-only field and is automatically assigned on creation.")
38
38
  insecure_https: Optional[StrictBool] = Field(default=None, description="For https endpoints, the server certificate will be accepted without validation.", alias="insecureHttps")
39
39
  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")
40
40
  name: StrictStr = Field(description="The name of the registry. Must begin with a letter, but may contain letters, numbers, and hyphen.")
41
- secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. The value is masked to \"**********\" on return. * `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.bucket. * `ngc` - The NVIDIA NGC apikey. * `pfs` - The required authentication token.", alias="secretKey")
41
+ secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. The value is masked to \"**********\" on return. * `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 NVIDIA NGC apikey. * `pfs` - The required authentication token.", alias="secretKey")
42
42
  type: StrictStr = Field(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.")
43
43
  __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "id", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
44
44
 
@@ -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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -33,11 +33,11 @@ class TrainedModelRegistryRequest(BaseModel):
33
33
  """ # noqa: E501
34
34
  access_key: Optional[StrictStr] = Field(default=None, description="The access key, username or team name for the registry. * `s3` - The access key/username. * `ngc` - The optional NGC team name. * `pfs` - The optional repository name.", alias="accessKey")
35
35
  bucket: Optional[StrictStr] = Field(default=None, description="The bucket or organization name. * `s3` - The required S3 bucket name. * `ngc` - The required NGC org name. * `pfs` - The required project name.")
36
- endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co-compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com). * `pfs` - The required HPE MLDM cluster (pachd) address.", alias="endpointUrl")
36
+ endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com). * `pfs` - The required HPE MLDM cluster (pachd) address.", alias="endpointUrl")
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
- 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.bucket. * `ngc` - The required NVIDIA NGC apikey. * `pfs` - The required authentication token.", alias="secretKey")
40
+ 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.", alias="secretKey")
41
41
  type: StrictStr = Field(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.")
42
42
  __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
43
43
 
@@ -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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -32,9 +32,11 @@ class UserPatchRequest(BaseModel):
32
32
  UserPatchRequest
33
33
  """ # noqa: E501
34
34
  active: Optional[StrictBool] = None
35
+ display_name: Optional[StrictStr] = None
35
36
  is_hashed: Optional[StrictBool] = Field(default=None, alias="isHashed")
36
37
  password: Optional[StrictStr] = None
37
- __properties: ClassVar[List[str]] = ["active", "isHashed", "password"]
38
+ username: Optional[StrictStr] = None
39
+ __properties: ClassVar[List[str]] = ["active", "display_name", "isHashed", "password", "username"]
38
40
 
39
41
  model_config = {
40
42
  "populate_by_name": True,
@@ -85,8 +87,10 @@ class UserPatchRequest(BaseModel):
85
87
 
86
88
  _obj = cls.model_validate({
87
89
  "active": obj.get("active"),
90
+ "display_name": obj.get("display_name"),
88
91
  "isHashed": obj.get("isHashed"),
89
- "password": obj.get("password")
92
+ "password": obj.get("password"),
93
+ "username": obj.get("username")
90
94
  })
91
95
  return _obj
92
96
 
@@ -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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
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-dev2
8
+ The version of the OpenAPI document: 1.3.0-dev4
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@ with open("README.md", "r") as readme:
6
6
 
7
7
  setuptools.setup(
8
8
  name="aioli-sdk",
9
- version="1.3.0-dev2",
9
+ version="1.3.0-dev4",
10
10
  author="HPE AI Solutions",
11
11
  # author_email="hello@determined.ai",
12
12
  url="https://github.com/determined-ai/aioli",
File without changes
File without changes