stackit-modelserving 0.1.1__tar.gz → 0.2.0__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 (33) hide show
  1. stackit_modelserving-0.2.0/LICENSE.md +201 -0
  2. stackit_modelserving-0.2.0/NOTICE.txt +2 -0
  3. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/PKG-INFO +5 -4
  4. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/pyproject.toml +2 -2
  5. stackit_modelserving-0.2.0/src/stackit/modelserving/__init__.py +106 -0
  6. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/api/default_api.py +33 -33
  7. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/api_client.py +18 -5
  8. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/configuration.py +33 -11
  9. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/exceptions.py +20 -1
  10. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/__init__.py +1 -1
  11. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/chat_model_details.py +3 -3
  12. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/create_token_payload.py +3 -3
  13. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/create_token_response.py +2 -2
  14. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/embedding_model_details.py +3 -3
  15. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/error_message_response.py +2 -2
  16. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/get_chat_model_response.py +2 -2
  17. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/get_embeddings_model_resp.py +2 -2
  18. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/get_token_response.py +2 -2
  19. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/list_models_response.py +2 -2
  20. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/list_token_resp.py +2 -2
  21. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/message_response.py +2 -2
  22. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/model.py +3 -3
  23. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/partial_update_token_payload.py +3 -3
  24. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/sku.py +2 -2
  25. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/token.py +3 -3
  26. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/token_created.py +3 -3
  27. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/models/update_token_response.py +2 -2
  28. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/rest.py +2 -2
  29. stackit_modelserving-0.1.1/src/stackit/modelserving/__init__.py +0 -55
  30. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/README.md +0 -0
  31. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/api/__init__.py +0 -0
  32. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/api_response.py +0 -0
  33. {stackit_modelserving-0.1.1 → stackit_modelserving-0.2.0}/src/stackit/modelserving/py.typed +0 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Schwarz IT KG
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,2 @@
1
+ STACKIT ModelServing SDK for Python
2
+ Copyright 2025 Schwarz IT KG
@@ -1,14 +1,13 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: stackit-modelserving
3
- Version: 0.1.1
3
+ Version: 0.2.0
4
4
  Summary: STACKIT Model Serving API
5
5
  Author: STACKIT Developer Tools
6
6
  Author-email: developer-tools@stackit.cloud
7
- Requires-Python: >=3.8,<4.0
7
+ Requires-Python: >=3.9,<4.0
8
8
  Classifier: License :: OSI Approved :: Apache Software License
9
9
  Classifier: Operating System :: OS Independent
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.8
12
11
  Classifier: Programming Language :: Python :: 3.9
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
@@ -18,6 +17,8 @@ Requires-Dist: pydantic (>=2.9.2)
18
17
  Requires-Dist: python-dateutil (>=2.9.0.post0)
19
18
  Requires-Dist: requests (>=2.32.3)
20
19
  Requires-Dist: stackit-core (>=0.0.1a)
20
+ Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
21
+ Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
21
22
  Description-Content-Type: text/markdown
22
23
 
23
24
  # stackit.modelserving
@@ -3,7 +3,7 @@ name = "stackit-modelserving"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "stackit-modelserving"
6
- version = "v0.1.1"
6
+ version = "v0.2.0"
7
7
  authors = [
8
8
  "STACKIT Developer Tools <developer-tools@stackit.cloud>",
9
9
  ]
@@ -20,7 +20,7 @@ packages = [
20
20
  ]
21
21
 
22
22
  [tool.poetry.dependencies]
23
- python = ">=3.8,<4.0"
23
+ python = ">=3.9,<4.0"
24
24
  stackit-core = ">=0.0.1a"
25
25
  requests = ">=2.32.3"
26
26
  pydantic = ">=2.9.2"
@@ -0,0 +1,106 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ STACKIT Model Serving API
7
+
8
+ This API provides endpoints for the model serving api
9
+
10
+ The version of the OpenAPI document: 1.0.0
11
+ Contact: model-serving@mail.schwarz
12
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
+
14
+ Do not edit the class manually.
15
+ """ # noqa: E501
16
+
17
+
18
+ __version__ = "1.0.0"
19
+
20
+ # Define package exports
21
+ __all__ = [
22
+ "DefaultApi",
23
+ "ApiResponse",
24
+ "ApiClient",
25
+ "HostConfiguration",
26
+ "OpenApiException",
27
+ "ApiTypeError",
28
+ "ApiValueError",
29
+ "ApiKeyError",
30
+ "ApiAttributeError",
31
+ "ApiException",
32
+ "ChatModelDetails",
33
+ "CreateTokenPayload",
34
+ "CreateTokenResponse",
35
+ "EmbeddingModelDetails",
36
+ "ErrorMessageResponse",
37
+ "GetChatModelResponse",
38
+ "GetEmbeddingsModelResp",
39
+ "GetTokenResponse",
40
+ "ListModelsResponse",
41
+ "ListTokenResp",
42
+ "MessageResponse",
43
+ "Model",
44
+ "PartialUpdateTokenPayload",
45
+ "SKU",
46
+ "Token",
47
+ "TokenCreated",
48
+ "UpdateTokenResponse",
49
+ ]
50
+
51
+ # import apis into sdk package
52
+ from stackit.modelserving.api.default_api import DefaultApi as DefaultApi
53
+ from stackit.modelserving.api_client import ApiClient as ApiClient
54
+
55
+ # import ApiClient
56
+ from stackit.modelserving.api_response import ApiResponse as ApiResponse
57
+ from stackit.modelserving.configuration import HostConfiguration as HostConfiguration
58
+ from stackit.modelserving.exceptions import ApiAttributeError as ApiAttributeError
59
+ from stackit.modelserving.exceptions import ApiException as ApiException
60
+ from stackit.modelserving.exceptions import ApiKeyError as ApiKeyError
61
+ from stackit.modelserving.exceptions import ApiTypeError as ApiTypeError
62
+ from stackit.modelserving.exceptions import ApiValueError as ApiValueError
63
+ from stackit.modelserving.exceptions import OpenApiException as OpenApiException
64
+
65
+ # import models into sdk package
66
+ from stackit.modelserving.models.chat_model_details import (
67
+ ChatModelDetails as ChatModelDetails,
68
+ )
69
+ from stackit.modelserving.models.create_token_payload import (
70
+ CreateTokenPayload as CreateTokenPayload,
71
+ )
72
+ from stackit.modelserving.models.create_token_response import (
73
+ CreateTokenResponse as CreateTokenResponse,
74
+ )
75
+ from stackit.modelserving.models.embedding_model_details import (
76
+ EmbeddingModelDetails as EmbeddingModelDetails,
77
+ )
78
+ from stackit.modelserving.models.error_message_response import (
79
+ ErrorMessageResponse as ErrorMessageResponse,
80
+ )
81
+ from stackit.modelserving.models.get_chat_model_response import (
82
+ GetChatModelResponse as GetChatModelResponse,
83
+ )
84
+ from stackit.modelserving.models.get_embeddings_model_resp import (
85
+ GetEmbeddingsModelResp as GetEmbeddingsModelResp,
86
+ )
87
+ from stackit.modelserving.models.get_token_response import (
88
+ GetTokenResponse as GetTokenResponse,
89
+ )
90
+ from stackit.modelserving.models.list_models_response import (
91
+ ListModelsResponse as ListModelsResponse,
92
+ )
93
+ from stackit.modelserving.models.list_token_resp import ListTokenResp as ListTokenResp
94
+ from stackit.modelserving.models.message_response import (
95
+ MessageResponse as MessageResponse,
96
+ )
97
+ from stackit.modelserving.models.model import Model as Model
98
+ from stackit.modelserving.models.partial_update_token_payload import (
99
+ PartialUpdateTokenPayload as PartialUpdateTokenPayload,
100
+ )
101
+ from stackit.modelserving.models.sku import SKU as SKU
102
+ from stackit.modelserving.models.token import Token as Token
103
+ from stackit.modelserving.models.token_created import TokenCreated as TokenCreated
104
+ from stackit.modelserving.models.update_token_response import (
105
+ UpdateTokenResponse as UpdateTokenResponse,
106
+ )
@@ -10,7 +10,7 @@
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
12
12
  Do not edit the class manually.
13
- """ # noqa: E501 docstring might be too long
13
+ """ # noqa: E501
14
14
 
15
15
  from typing import Any, Dict, List, Optional, Tuple, Union
16
16
 
@@ -94,7 +94,7 @@ class DefaultApi:
94
94
  in the spec for a single request.
95
95
  :type _host_index: int, optional
96
96
  :return: Returns the result object.
97
- """ # noqa: E501 docstring might be too long
97
+ """ # noqa: E501
98
98
 
99
99
  _param = self._create_token_serialize(
100
100
  region_id=region_id,
@@ -166,7 +166,7 @@ class DefaultApi:
166
166
  in the spec for a single request.
167
167
  :type _host_index: int, optional
168
168
  :return: Returns the result object.
169
- """ # noqa: E501 docstring might be too long
169
+ """ # noqa: E501
170
170
 
171
171
  _param = self._create_token_serialize(
172
172
  region_id=region_id,
@@ -238,7 +238,7 @@ class DefaultApi:
238
238
  in the spec for a single request.
239
239
  :type _host_index: int, optional
240
240
  :return: Returns the result object.
241
- """ # noqa: E501 docstring might be too long
241
+ """ # noqa: E501
242
242
 
243
243
  _param = self._create_token_serialize(
244
244
  region_id=region_id,
@@ -279,7 +279,7 @@ class DefaultApi:
279
279
  _query_params: List[Tuple[str, str]] = []
280
280
  _header_params: Dict[str, Optional[str]] = _headers or {}
281
281
  _form_params: List[Tuple[str, str]] = []
282
- _files: Dict[str, Union[str, bytes]] = {}
282
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
283
283
  _body_params: Optional[bytes] = None
284
284
 
285
285
  # process the path parameters
@@ -370,7 +370,7 @@ class DefaultApi:
370
370
  in the spec for a single request.
371
371
  :type _host_index: int, optional
372
372
  :return: Returns the result object.
373
- """ # noqa: E501 docstring might be too long
373
+ """ # noqa: E501
374
374
 
375
375
  _param = self._delete_token_serialize(
376
376
  region_id=region_id,
@@ -442,7 +442,7 @@ class DefaultApi:
442
442
  in the spec for a single request.
443
443
  :type _host_index: int, optional
444
444
  :return: Returns the result object.
445
- """ # noqa: E501 docstring might be too long
445
+ """ # noqa: E501
446
446
 
447
447
  _param = self._delete_token_serialize(
448
448
  region_id=region_id,
@@ -514,7 +514,7 @@ class DefaultApi:
514
514
  in the spec for a single request.
515
515
  :type _host_index: int, optional
516
516
  :return: Returns the result object.
517
- """ # noqa: E501 docstring might be too long
517
+ """ # noqa: E501
518
518
 
519
519
  _param = self._delete_token_serialize(
520
520
  region_id=region_id,
@@ -555,7 +555,7 @@ class DefaultApi:
555
555
  _query_params: List[Tuple[str, str]] = []
556
556
  _header_params: Dict[str, Optional[str]] = _headers or {}
557
557
  _form_params: List[Tuple[str, str]] = []
558
- _files: Dict[str, Union[str, bytes]] = {}
558
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
559
559
  _body_params: Optional[bytes] = None
560
560
 
561
561
  # process the path parameters
@@ -635,7 +635,7 @@ class DefaultApi:
635
635
  in the spec for a single request.
636
636
  :type _host_index: int, optional
637
637
  :return: Returns the result object.
638
- """ # noqa: E501 docstring might be too long
638
+ """ # noqa: E501
639
639
 
640
640
  _param = self._get_chat_model_serialize(
641
641
  region_id=region_id,
@@ -702,7 +702,7 @@ class DefaultApi:
702
702
  in the spec for a single request.
703
703
  :type _host_index: int, optional
704
704
  :return: Returns the result object.
705
- """ # noqa: E501 docstring might be too long
705
+ """ # noqa: E501
706
706
 
707
707
  _param = self._get_chat_model_serialize(
708
708
  region_id=region_id,
@@ -769,7 +769,7 @@ class DefaultApi:
769
769
  in the spec for a single request.
770
770
  :type _host_index: int, optional
771
771
  :return: Returns the result object.
772
- """ # noqa: E501 docstring might be too long
772
+ """ # noqa: E501
773
773
 
774
774
  _param = self._get_chat_model_serialize(
775
775
  region_id=region_id,
@@ -807,7 +807,7 @@ class DefaultApi:
807
807
  _query_params: List[Tuple[str, str]] = []
808
808
  _header_params: Dict[str, Optional[str]] = _headers or {}
809
809
  _form_params: List[Tuple[str, str]] = []
810
- _files: Dict[str, Union[str, bytes]] = {}
810
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
811
811
  _body_params: Optional[bytes] = None
812
812
 
813
813
  # process the path parameters
@@ -885,7 +885,7 @@ class DefaultApi:
885
885
  in the spec for a single request.
886
886
  :type _host_index: int, optional
887
887
  :return: Returns the result object.
888
- """ # noqa: E501 docstring might be too long
888
+ """ # noqa: E501
889
889
 
890
890
  _param = self._get_embedding_model_serialize(
891
891
  region_id=region_id,
@@ -952,7 +952,7 @@ class DefaultApi:
952
952
  in the spec for a single request.
953
953
  :type _host_index: int, optional
954
954
  :return: Returns the result object.
955
- """ # noqa: E501 docstring might be too long
955
+ """ # noqa: E501
956
956
 
957
957
  _param = self._get_embedding_model_serialize(
958
958
  region_id=region_id,
@@ -1019,7 +1019,7 @@ class DefaultApi:
1019
1019
  in the spec for a single request.
1020
1020
  :type _host_index: int, optional
1021
1021
  :return: Returns the result object.
1022
- """ # noqa: E501 docstring might be too long
1022
+ """ # noqa: E501
1023
1023
 
1024
1024
  _param = self._get_embedding_model_serialize(
1025
1025
  region_id=region_id,
@@ -1057,7 +1057,7 @@ class DefaultApi:
1057
1057
  _query_params: List[Tuple[str, str]] = []
1058
1058
  _header_params: Dict[str, Optional[str]] = _headers or {}
1059
1059
  _form_params: List[Tuple[str, str]] = []
1060
- _files: Dict[str, Union[str, bytes]] = {}
1060
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
1061
1061
  _body_params: Optional[bytes] = None
1062
1062
 
1063
1063
  # process the path parameters
@@ -1138,7 +1138,7 @@ class DefaultApi:
1138
1138
  in the spec for a single request.
1139
1139
  :type _host_index: int, optional
1140
1140
  :return: Returns the result object.
1141
- """ # noqa: E501 docstring might be too long
1141
+ """ # noqa: E501
1142
1142
 
1143
1143
  _param = self._get_token_serialize(
1144
1144
  region_id=region_id,
@@ -1210,7 +1210,7 @@ class DefaultApi:
1210
1210
  in the spec for a single request.
1211
1211
  :type _host_index: int, optional
1212
1212
  :return: Returns the result object.
1213
- """ # noqa: E501 docstring might be too long
1213
+ """ # noqa: E501
1214
1214
 
1215
1215
  _param = self._get_token_serialize(
1216
1216
  region_id=region_id,
@@ -1282,7 +1282,7 @@ class DefaultApi:
1282
1282
  in the spec for a single request.
1283
1283
  :type _host_index: int, optional
1284
1284
  :return: Returns the result object.
1285
- """ # noqa: E501 docstring might be too long
1285
+ """ # noqa: E501
1286
1286
 
1287
1287
  _param = self._get_token_serialize(
1288
1288
  region_id=region_id,
@@ -1323,7 +1323,7 @@ class DefaultApi:
1323
1323
  _query_params: List[Tuple[str, str]] = []
1324
1324
  _header_params: Dict[str, Optional[str]] = _headers or {}
1325
1325
  _form_params: List[Tuple[str, str]] = []
1326
- _files: Dict[str, Union[str, bytes]] = {}
1326
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
1327
1327
  _body_params: Optional[bytes] = None
1328
1328
 
1329
1329
  # process the path parameters
@@ -1400,7 +1400,7 @@ class DefaultApi:
1400
1400
  in the spec for a single request.
1401
1401
  :type _host_index: int, optional
1402
1402
  :return: Returns the result object.
1403
- """ # noqa: E501 docstring might be too long
1403
+ """ # noqa: E501
1404
1404
 
1405
1405
  _param = self._list_models_serialize(
1406
1406
  region_id=region_id,
@@ -1463,7 +1463,7 @@ class DefaultApi:
1463
1463
  in the spec for a single request.
1464
1464
  :type _host_index: int, optional
1465
1465
  :return: Returns the result object.
1466
- """ # noqa: E501 docstring might be too long
1466
+ """ # noqa: E501
1467
1467
 
1468
1468
  _param = self._list_models_serialize(
1469
1469
  region_id=region_id,
@@ -1526,7 +1526,7 @@ class DefaultApi:
1526
1526
  in the spec for a single request.
1527
1527
  :type _host_index: int, optional
1528
1528
  :return: Returns the result object.
1529
- """ # noqa: E501 docstring might be too long
1529
+ """ # noqa: E501
1530
1530
 
1531
1531
  _param = self._list_models_serialize(
1532
1532
  region_id=region_id,
@@ -1562,7 +1562,7 @@ class DefaultApi:
1562
1562
  _query_params: List[Tuple[str, str]] = []
1563
1563
  _header_params: Dict[str, Optional[str]] = _headers or {}
1564
1564
  _form_params: List[Tuple[str, str]] = []
1565
- _files: Dict[str, Union[str, bytes]] = {}
1565
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
1566
1566
  _body_params: Optional[bytes] = None
1567
1567
 
1568
1568
  # process the path parameters
@@ -1638,7 +1638,7 @@ class DefaultApi:
1638
1638
  in the spec for a single request.
1639
1639
  :type _host_index: int, optional
1640
1640
  :return: Returns the result object.
1641
- """ # noqa: E501 docstring might be too long
1641
+ """ # noqa: E501
1642
1642
 
1643
1643
  _param = self._list_tokens_serialize(
1644
1644
  region_id=region_id,
@@ -1705,7 +1705,7 @@ class DefaultApi:
1705
1705
  in the spec for a single request.
1706
1706
  :type _host_index: int, optional
1707
1707
  :return: Returns the result object.
1708
- """ # noqa: E501 docstring might be too long
1708
+ """ # noqa: E501
1709
1709
 
1710
1710
  _param = self._list_tokens_serialize(
1711
1711
  region_id=region_id,
@@ -1772,7 +1772,7 @@ class DefaultApi:
1772
1772
  in the spec for a single request.
1773
1773
  :type _host_index: int, optional
1774
1774
  :return: Returns the result object.
1775
- """ # noqa: E501 docstring might be too long
1775
+ """ # noqa: E501
1776
1776
 
1777
1777
  _param = self._list_tokens_serialize(
1778
1778
  region_id=region_id,
@@ -1810,7 +1810,7 @@ class DefaultApi:
1810
1810
  _query_params: List[Tuple[str, str]] = []
1811
1811
  _header_params: Dict[str, Optional[str]] = _headers or {}
1812
1812
  _form_params: List[Tuple[str, str]] = []
1813
- _files: Dict[str, Union[str, bytes]] = {}
1813
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
1814
1814
  _body_params: Optional[bytes] = None
1815
1815
 
1816
1816
  # process the path parameters
@@ -1894,7 +1894,7 @@ class DefaultApi:
1894
1894
  in the spec for a single request.
1895
1895
  :type _host_index: int, optional
1896
1896
  :return: Returns the result object.
1897
- """ # noqa: E501 docstring might be too long
1897
+ """ # noqa: E501
1898
1898
 
1899
1899
  _param = self._partial_update_token_serialize(
1900
1900
  region_id=region_id,
@@ -1970,7 +1970,7 @@ class DefaultApi:
1970
1970
  in the spec for a single request.
1971
1971
  :type _host_index: int, optional
1972
1972
  :return: Returns the result object.
1973
- """ # noqa: E501 docstring might be too long
1973
+ """ # noqa: E501
1974
1974
 
1975
1975
  _param = self._partial_update_token_serialize(
1976
1976
  region_id=region_id,
@@ -2046,7 +2046,7 @@ class DefaultApi:
2046
2046
  in the spec for a single request.
2047
2047
  :type _host_index: int, optional
2048
2048
  :return: Returns the result object.
2049
- """ # noqa: E501 docstring might be too long
2049
+ """ # noqa: E501
2050
2050
 
2051
2051
  _param = self._partial_update_token_serialize(
2052
2052
  region_id=region_id,
@@ -2089,7 +2089,7 @@ class DefaultApi:
2089
2089
  _query_params: List[Tuple[str, str]] = []
2090
2090
  _header_params: Dict[str, Optional[str]] = _headers or {}
2091
2091
  _form_params: List[Tuple[str, str]] = []
2092
- _files: Dict[str, Union[str, bytes]] = {}
2092
+ _files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
2093
2093
  _body_params: Optional[bytes] = None
2094
2094
 
2095
2095
  # process the path parameters