aioli-sdk 1.2.0.dev26__tar.gz → 1.2.0.dev28__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 (99) hide show
  1. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/PKG-INFO +1 -1
  2. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/__version__.py +1 -1
  3. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/PKG-INFO +1 -1
  4. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/SOURCES.txt +4 -0
  5. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/__init__.py +5 -1
  6. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/authentication_api.py +1 -1
  7. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/deployments_api.py +1 -1
  8. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/information_api.py +249 -1
  9. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/packaged_models_api.py +1 -1
  10. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/registries_api.py +1 -1
  11. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/roles_api.py +1 -1
  12. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/templates_api.py +1 -1
  13. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/tokens_api.py +1 -1
  14. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/users_api.py +1 -1
  15. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api_client.py +1 -1
  16. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/configuration.py +2 -2
  17. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/exceptions.py +1 -1
  18. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/__init__.py +5 -1
  19. aioli_sdk-1.2.0.dev28/aiolirest/models/aproto_controller_config.py +103 -0
  20. aioli_sdk-1.2.0.dev28/aiolirest/models/aproto_ezua_info.py +95 -0
  21. aioli_sdk-1.2.0.dev28/aiolirest/models/aproto_telemetry_info.py +90 -0
  22. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/auto_scaling_template.py +1 -1
  23. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/autoscaling.py +1 -1
  24. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/configuration_resources.py +2 -2
  25. aioli_sdk-1.2.0.dev28/aiolirest/models/controller_status.py +97 -0
  26. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment.py +1 -1
  27. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_model_version.py +1 -1
  28. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_priority.py +1 -1
  29. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_request.py +1 -1
  30. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_state.py +1 -1
  31. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_token.py +1 -1
  32. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_token_patch_request.py +1 -1
  33. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/deployment_token_request.py +1 -1
  34. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/error_response.py +1 -1
  35. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/event_info.py +1 -1
  36. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/failure_info.py +1 -1
  37. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/login_request.py +1 -1
  38. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/login_response.py +1 -1
  39. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/model_auth_token.py +1 -1
  40. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/model_response.py +1 -1
  41. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/observability.py +1 -1
  42. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/packaged_model.py +1 -1
  43. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/packaged_model_request.py +1 -1
  44. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/resource_profile.py +1 -1
  45. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/resources_template.py +1 -1
  46. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/role.py +1 -1
  47. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/role_assignment.py +1 -1
  48. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/role_assignments.py +1 -1
  49. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/security.py +1 -1
  50. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/success_response.py +1 -1
  51. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/trained_model_registry.py +1 -1
  52. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/trained_model_registry_request.py +1 -1
  53. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/user.py +1 -1
  54. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/user_patch_request.py +1 -1
  55. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/models/user_request.py +1 -1
  56. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/rest.py +1 -1
  57. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/setup.py +1 -1
  58. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/README.md +0 -0
  59. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/__init__.py +0 -0
  60. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/__init__.py +0 -0
  61. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/__main__.py +0 -0
  62. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/_util.py +0 -0
  63. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/cli.py +0 -0
  64. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/deployment.py +0 -0
  65. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/errors.py +0 -0
  66. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/model.py +0 -0
  67. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/registry.py +0 -0
  68. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/render.py +0 -0
  69. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/role.py +0 -0
  70. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/sso.py +0 -0
  71. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/template.py +0 -0
  72. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/test/conftest.py +0 -0
  73. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/test/test_cli.py +0 -0
  74. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/token.py +0 -0
  75. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/user.py +0 -0
  76. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/cli/version.py +0 -0
  77. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/__init__.py +0 -0
  78. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/__init__.py +0 -0
  79. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/_util.py +0 -0
  80. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/authentication.py +0 -0
  81. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/certs.py +0 -0
  82. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/errors.py +0 -0
  83. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/api/request.py +0 -0
  84. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/check.py +0 -0
  85. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/constants.py +0 -0
  86. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/declarative_argparse.py +0 -0
  87. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/requests.py +0 -0
  88. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/common/util.py +0 -0
  89. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli/util.py +0 -0
  90. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/dependency_links.txt +0 -0
  91. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/entry_points.txt +0 -0
  92. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/not-zip-safe +0 -0
  93. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/requires.txt +0 -0
  94. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aioli_sdk.egg-info/top_level.txt +0 -0
  95. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api/__init__.py +0 -0
  96. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/api_response.py +0 -0
  97. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/aiolirest/py.typed +0 -0
  98. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/pyproject.toml +0 -0
  99. {aioli_sdk-1.2.0.dev26 → aioli_sdk-1.2.0.dev28}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.2.0.dev26
3
+ Version: 1.2.0.dev28
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.2.0-dev26"
2
+ __version__ = "1.2.0-dev28"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 1.2.0.dev26
3
+ Version: 1.2.0.dev28
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
@@ -58,9 +58,13 @@ aiolirest/api/templates_api.py
58
58
  aiolirest/api/tokens_api.py
59
59
  aiolirest/api/users_api.py
60
60
  aiolirest/models/__init__.py
61
+ aiolirest/models/aproto_controller_config.py
62
+ aiolirest/models/aproto_ezua_info.py
63
+ aiolirest/models/aproto_telemetry_info.py
61
64
  aiolirest/models/auto_scaling_template.py
62
65
  aiolirest/models/autoscaling.py
63
66
  aiolirest/models/configuration_resources.py
67
+ aiolirest/models/controller_status.py
64
68
  aiolirest/models/deployment.py
65
69
  aiolirest/models/deployment_model_version.py
66
70
  aiolirest/models/deployment_priority.py
@@ -7,7 +7,7 @@
7
7
 
8
8
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
9
9
 
10
- The version of the OpenAPI document: 1.2.0-dev26
10
+ The version of the OpenAPI document: 1.2.0-dev28
11
11
  Contact: community@determined-ai
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -40,9 +40,13 @@ from aiolirest.exceptions import ApiAttributeError
40
40
  from aiolirest.exceptions import ApiException
41
41
 
42
42
  # import models into sdk package
43
+ from aiolirest.models.aproto_controller_config import AprotoControllerConfig
44
+ from aiolirest.models.aproto_ezua_info import AprotoEZUAInfo
45
+ from aiolirest.models.aproto_telemetry_info import AprotoTelemetryInfo
43
46
  from aiolirest.models.auto_scaling_template import AutoScalingTemplate
44
47
  from aiolirest.models.autoscaling import Autoscaling
45
48
  from aiolirest.models.configuration_resources import ConfigurationResources
49
+ from aiolirest.models.controller_status import ControllerStatus
46
50
  from aiolirest.models.deployment import Deployment
47
51
  from aiolirest.models.deployment_model_version import DeploymentModelVersion
48
52
  from aiolirest.models.deployment_priority import DeploymentPriority
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -24,6 +24,7 @@ try:
24
24
  except ImportError:
25
25
  from typing_extensions import Annotated
26
26
 
27
+ from aiolirest.models.controller_status import ControllerStatus
27
28
 
28
29
  from aiolirest.api_client import ApiClient
29
30
  from aiolirest.api_response import ApiResponse
@@ -43,6 +44,253 @@ class InformationApi:
43
44
  self.api_client = api_client
44
45
 
45
46
 
47
+ @validate_call
48
+ def controller_status_get(
49
+ self,
50
+ _request_timeout: Union[
51
+ None,
52
+ Annotated[StrictFloat, Field(gt=0)],
53
+ Tuple[
54
+ Annotated[StrictFloat, Field(gt=0)],
55
+ Annotated[StrictFloat, Field(gt=0)]
56
+ ]
57
+ ] = None,
58
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
59
+ _content_type: Optional[StrictStr] = None,
60
+ _headers: Optional[Dict[StrictStr, Any]] = None,
61
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
62
+ ) -> ControllerStatus:
63
+ """Get the status of the controller.
64
+
65
+ Returns any global status information available for the controller.
66
+
67
+ :param _request_timeout: timeout setting for this request. If one
68
+ number provided, it will be total request
69
+ timeout. It can also be a pair (tuple) of
70
+ (connection, read) timeouts.
71
+ :type _request_timeout: int, tuple(int, int), optional
72
+ :param _request_auth: set to override the auth_settings for an a single
73
+ request; this effectively ignores the
74
+ authentication in the spec for a single request.
75
+ :type _request_auth: dict, optional
76
+ :param _content_type: force content-type for the request.
77
+ :type _content_type: str, Optional
78
+ :param _headers: set to override the headers for a single
79
+ request; this effectively ignores the headers
80
+ in the spec for a single request.
81
+ :type _headers: dict, optional
82
+ :param _host_index: set to override the host_index for a single
83
+ request; this effectively ignores the host_index
84
+ in the spec for a single request.
85
+ :type _host_index: int, optional
86
+ :return: Returns the result object.
87
+ """ # noqa: E501
88
+
89
+ _param = self._controller_status_get_serialize(
90
+ _request_auth=_request_auth,
91
+ _content_type=_content_type,
92
+ _headers=_headers,
93
+ _host_index=_host_index
94
+ )
95
+
96
+ _response_types_map: Dict[str, Optional[str]] = {
97
+ '200': "ControllerStatus"
98
+
99
+ }
100
+ response_data = self.api_client.call_api(
101
+ *_param,
102
+ _request_timeout=_request_timeout
103
+ )
104
+ response_data.read()
105
+ return self.api_client.response_deserialize(
106
+ response_data=response_data,
107
+ response_types_map=_response_types_map,
108
+ ).data
109
+
110
+
111
+ @validate_call
112
+ def controller_status_get_with_http_info(
113
+ self,
114
+ _request_timeout: Union[
115
+ None,
116
+ Annotated[StrictFloat, Field(gt=0)],
117
+ Tuple[
118
+ Annotated[StrictFloat, Field(gt=0)],
119
+ Annotated[StrictFloat, Field(gt=0)]
120
+ ]
121
+ ] = None,
122
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
123
+ _content_type: Optional[StrictStr] = None,
124
+ _headers: Optional[Dict[StrictStr, Any]] = None,
125
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
126
+ ) -> ApiResponse[ControllerStatus]:
127
+ """Get the status of the controller.
128
+
129
+ Returns any global status information available for the controller.
130
+
131
+ :param _request_timeout: timeout setting for this request. If one
132
+ number provided, it will be total request
133
+ timeout. It can also be a pair (tuple) of
134
+ (connection, read) timeouts.
135
+ :type _request_timeout: int, tuple(int, int), optional
136
+ :param _request_auth: set to override the auth_settings for an a single
137
+ request; this effectively ignores the
138
+ authentication in the spec for a single request.
139
+ :type _request_auth: dict, optional
140
+ :param _content_type: force content-type for the request.
141
+ :type _content_type: str, Optional
142
+ :param _headers: set to override the headers for a single
143
+ request; this effectively ignores the headers
144
+ in the spec for a single request.
145
+ :type _headers: dict, optional
146
+ :param _host_index: set to override the host_index for a single
147
+ request; this effectively ignores the host_index
148
+ in the spec for a single request.
149
+ :type _host_index: int, optional
150
+ :return: Returns the result object.
151
+ """ # noqa: E501
152
+
153
+ _param = self._controller_status_get_serialize(
154
+ _request_auth=_request_auth,
155
+ _content_type=_content_type,
156
+ _headers=_headers,
157
+ _host_index=_host_index
158
+ )
159
+
160
+ _response_types_map: Dict[str, Optional[str]] = {
161
+ '200': "ControllerStatus"
162
+
163
+ }
164
+ response_data = self.api_client.call_api(
165
+ *_param,
166
+ _request_timeout=_request_timeout
167
+ )
168
+ response_data.read()
169
+ return self.api_client.response_deserialize(
170
+ response_data=response_data,
171
+ response_types_map=_response_types_map,
172
+ )
173
+
174
+
175
+ @validate_call
176
+ def controller_status_get_without_preload_content(
177
+ self,
178
+ _request_timeout: Union[
179
+ None,
180
+ Annotated[StrictFloat, Field(gt=0)],
181
+ Tuple[
182
+ Annotated[StrictFloat, Field(gt=0)],
183
+ Annotated[StrictFloat, Field(gt=0)]
184
+ ]
185
+ ] = None,
186
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
187
+ _content_type: Optional[StrictStr] = None,
188
+ _headers: Optional[Dict[StrictStr, Any]] = None,
189
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
190
+ ) -> RESTResponseType:
191
+ """Get the status of the controller.
192
+
193
+ Returns any global status information available for the controller.
194
+
195
+ :param _request_timeout: timeout setting for this request. If one
196
+ number provided, it will be total request
197
+ timeout. It can also be a pair (tuple) of
198
+ (connection, read) timeouts.
199
+ :type _request_timeout: int, tuple(int, int), optional
200
+ :param _request_auth: set to override the auth_settings for an a single
201
+ request; this effectively ignores the
202
+ authentication in the spec for a single request.
203
+ :type _request_auth: dict, optional
204
+ :param _content_type: force content-type for the request.
205
+ :type _content_type: str, Optional
206
+ :param _headers: set to override the headers for a single
207
+ request; this effectively ignores the headers
208
+ in the spec for a single request.
209
+ :type _headers: dict, optional
210
+ :param _host_index: set to override the host_index for a single
211
+ request; this effectively ignores the host_index
212
+ in the spec for a single request.
213
+ :type _host_index: int, optional
214
+ :return: Returns the result object.
215
+ """ # noqa: E501
216
+
217
+ _param = self._controller_status_get_serialize(
218
+ _request_auth=_request_auth,
219
+ _content_type=_content_type,
220
+ _headers=_headers,
221
+ _host_index=_host_index
222
+ )
223
+
224
+ _response_types_map: Dict[str, Optional[str]] = {
225
+ '200': "ControllerStatus"
226
+
227
+ }
228
+ response_data = self.api_client.call_api(
229
+ *_param,
230
+ _request_timeout=_request_timeout
231
+ )
232
+ return response_data.response
233
+
234
+
235
+ def _controller_status_get_serialize(
236
+ self,
237
+ _request_auth,
238
+ _content_type,
239
+ _headers,
240
+ _host_index,
241
+ ) -> Tuple:
242
+
243
+ _host = None
244
+
245
+ _collection_formats: Dict[str, str] = {
246
+
247
+ }
248
+
249
+ _path_params: Dict[str, str] = {}
250
+ _query_params: List[Tuple[str, str]] = []
251
+ _header_params: Dict[str, Optional[str]] = _headers or {}
252
+ _form_params: List[Tuple[str, str]] = []
253
+ _files: Dict[str, str] = {}
254
+ _body_params: Optional[bytes] = None
255
+
256
+ # process the path parameters
257
+ # process the query parameters
258
+ # process the header parameters
259
+ # process the form parameters
260
+ # process the body parameter
261
+
262
+
263
+ # set the HTTP header `Accept`
264
+ _header_params['Accept'] = self.api_client.select_header_accept(
265
+ [
266
+ '*/*'
267
+ ]
268
+ )
269
+
270
+
271
+ # authentication setting
272
+ _auth_settings: List[str] = [
273
+ 'ApiKeyAuth'
274
+ ]
275
+
276
+ return self.api_client.param_serialize(
277
+ method='GET',
278
+ resource_path='/controller/status',
279
+ path_params=_path_params,
280
+ query_params=_query_params,
281
+ header_params=_header_params,
282
+ body=_body_params,
283
+ post_params=_form_params,
284
+ files=_files,
285
+ auth_settings=_auth_settings,
286
+ collection_formats=_collection_formats,
287
+ _host=_host,
288
+ _request_auth=_request_auth
289
+ )
290
+
291
+
292
+
293
+
46
294
  @validate_call
47
295
  def version_get(
48
296
  self,
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -389,7 +389,7 @@ conf = aiolirest.Configuration(
389
389
  return "Python SDK Debug Report:\n"\
390
390
  "OS: {env}\n"\
391
391
  "Python Version: {pyversion}\n"\
392
- "Version of the API: 1.2.0-dev26\n"\
392
+ "Version of the API: 1.2.0-dev28\n"\
393
393
  "SDK Package Version: 1.0.0".\
394
394
  format(env=sys.platform, pyversion=sys.version)
395
395
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 1.2.0-dev26
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
8
8
 
9
- The version of the OpenAPI document: 1.2.0-dev26
9
+ The version of the OpenAPI document: 1.2.0-dev28
10
10
  Contact: community@determined-ai
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -15,9 +15,13 @@
15
15
 
16
16
 
17
17
  # import models into model package
18
+ from aiolirest.models.aproto_controller_config import AprotoControllerConfig
19
+ from aiolirest.models.aproto_ezua_info import AprotoEZUAInfo
20
+ from aiolirest.models.aproto_telemetry_info import AprotoTelemetryInfo
18
21
  from aiolirest.models.auto_scaling_template import AutoScalingTemplate
19
22
  from aiolirest.models.autoscaling import Autoscaling
20
23
  from aiolirest.models.configuration_resources import ConfigurationResources
24
+ from aiolirest.models.controller_status import ControllerStatus
21
25
  from aiolirest.models.deployment import Deployment
22
26
  from aiolirest.models.deployment_model_version import DeploymentModelVersion
23
27
  from aiolirest.models.deployment_priority import DeploymentPriority
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ HPE Machine Learning Inference Software (MLIS/Aioli)
5
+
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
+
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
+ Contact: community@determined-ai
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from pydantic import BaseModel, StrictBool, StrictStr
24
+ from pydantic import Field
25
+ from aiolirest.models.aproto_ezua_info import AprotoEZUAInfo
26
+ from aiolirest.models.aproto_telemetry_info import AprotoTelemetryInfo
27
+ try:
28
+ from typing import Self
29
+ except ImportError:
30
+ from typing_extensions import Self
31
+
32
+ class AprotoControllerConfig(BaseModel):
33
+ """
34
+ AprotoControllerConfig
35
+ """ # noqa: E501
36
+ caching_enabled: Optional[StrictBool] = Field(default=None, alias="cachingEnabled")
37
+ ezua: Optional[AprotoEZUAInfo] = None
38
+ telemetry: Optional[AprotoTelemetryInfo] = None
39
+ version: Optional[StrictStr] = None
40
+ __properties: ClassVar[List[str]] = ["cachingEnabled", "ezua", "telemetry", "version"]
41
+
42
+ model_config = {
43
+ "populate_by_name": True,
44
+ "validate_assignment": True
45
+ }
46
+
47
+
48
+ def to_str(self) -> str:
49
+ """Returns the string representation of the model using alias"""
50
+ return pprint.pformat(self.model_dump(by_alias=True))
51
+
52
+ def to_json(self) -> str:
53
+ """Returns the JSON representation of the model using alias"""
54
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
55
+ return json.dumps(self.to_dict())
56
+
57
+ @classmethod
58
+ def from_json(cls, json_str: str) -> Self:
59
+ """Create an instance of AprotoControllerConfig from a JSON string"""
60
+ return cls.from_dict(json.loads(json_str))
61
+
62
+ def to_dict(self) -> Dict[str, Any]:
63
+ """Return the dictionary representation of the model using alias.
64
+
65
+ This has the following differences from calling pydantic's
66
+ `self.model_dump(by_alias=True)`:
67
+
68
+ * `None` is only added to the output dict for nullable fields that
69
+ were set at model initialization. Other fields with value `None`
70
+ are ignored.
71
+ """
72
+ _dict = self.model_dump(
73
+ by_alias=True,
74
+ exclude={
75
+ },
76
+ exclude_none=True,
77
+ )
78
+ # override the default output from pydantic by calling `to_dict()` of ezua
79
+ if self.ezua:
80
+ _dict['ezua'] = self.ezua.to_dict()
81
+ # override the default output from pydantic by calling `to_dict()` of telemetry
82
+ if self.telemetry:
83
+ _dict['telemetry'] = self.telemetry.to_dict()
84
+ return _dict
85
+
86
+ @classmethod
87
+ def from_dict(cls, obj: Dict) -> Self:
88
+ """Create an instance of AprotoControllerConfig from a dict"""
89
+ if obj is None:
90
+ return None
91
+
92
+ if not isinstance(obj, dict):
93
+ return cls.model_validate(obj)
94
+
95
+ _obj = cls.model_validate({
96
+ "cachingEnabled": obj.get("cachingEnabled"),
97
+ "ezua": AprotoEZUAInfo.from_dict(obj.get("ezua")) if obj.get("ezua") is not None else None,
98
+ "telemetry": AprotoTelemetryInfo.from_dict(obj.get("telemetry")) if obj.get("telemetry") is not None else None,
99
+ "version": obj.get("version")
100
+ })
101
+ return _obj
102
+
103
+
@@ -0,0 +1,95 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ HPE Machine Learning Inference Software (MLIS/Aioli)
5
+
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
+
8
+ The version of the OpenAPI document: 1.2.0-dev28
9
+ Contact: community@determined-ai
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from pydantic import BaseModel, StrictBool
24
+ from pydantic import Field
25
+ try:
26
+ from typing import Self
27
+ except ImportError:
28
+ from typing_extensions import Self
29
+
30
+ class AprotoEZUAInfo(BaseModel):
31
+ """
32
+ AprotoEZUAInfo
33
+ """ # noqa: E501
34
+ air_gapped: Optional[StrictBool] = None
35
+ enabled: Optional[StrictBool] = None
36
+ ngc_enabled: Optional[StrictBool] = None
37
+ show_mlis_signin_page: Optional[StrictBool] = Field(default=None, description="TODO: Moved to /info show_signin_page property. Remove from here when UI is ready.")
38
+ __properties: ClassVar[List[str]] = ["air_gapped", "enabled", "ngc_enabled", "show_mlis_signin_page"]
39
+
40
+ model_config = {
41
+ "populate_by_name": True,
42
+ "validate_assignment": True
43
+ }
44
+
45
+
46
+ def to_str(self) -> str:
47
+ """Returns the string representation of the model using alias"""
48
+ return pprint.pformat(self.model_dump(by_alias=True))
49
+
50
+ def to_json(self) -> str:
51
+ """Returns the JSON representation of the model using alias"""
52
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
53
+ return json.dumps(self.to_dict())
54
+
55
+ @classmethod
56
+ def from_json(cls, json_str: str) -> Self:
57
+ """Create an instance of AprotoEZUAInfo from a JSON string"""
58
+ return cls.from_dict(json.loads(json_str))
59
+
60
+ def to_dict(self) -> Dict[str, Any]:
61
+ """Return the dictionary representation of the model using alias.
62
+
63
+ This has the following differences from calling pydantic's
64
+ `self.model_dump(by_alias=True)`:
65
+
66
+ * `None` is only added to the output dict for nullable fields that
67
+ were set at model initialization. Other fields with value `None`
68
+ are ignored.
69
+ """
70
+ _dict = self.model_dump(
71
+ by_alias=True,
72
+ exclude={
73
+ },
74
+ exclude_none=True,
75
+ )
76
+ return _dict
77
+
78
+ @classmethod
79
+ def from_dict(cls, obj: Dict) -> Self:
80
+ """Create an instance of AprotoEZUAInfo from a dict"""
81
+ if obj is None:
82
+ return None
83
+
84
+ if not isinstance(obj, dict):
85
+ return cls.model_validate(obj)
86
+
87
+ _obj = cls.model_validate({
88
+ "air_gapped": obj.get("air_gapped"),
89
+ "enabled": obj.get("enabled"),
90
+ "ngc_enabled": obj.get("ngc_enabled"),
91
+ "show_mlis_signin_page": obj.get("show_mlis_signin_page")
92
+ })
93
+ return _obj
94
+
95
+