stackit-modelserving 0.1.0__tar.gz → 0.1.2__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.
- stackit_modelserving-0.1.2/LICENSE.md +201 -0
- stackit_modelserving-0.1.2/NOTICE.txt +2 -0
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/PKG-INFO +1 -1
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/pyproject.toml +1 -1
- stackit_modelserving-0.1.2/src/stackit/modelserving/__init__.py +106 -0
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api/default_api.py +33 -33
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api_client.py +19 -6
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/configuration.py +32 -6
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/exceptions.py +20 -1
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/__init__.py +1 -1
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/chat_model_details.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/create_token_payload.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/create_token_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/embedding_model_details.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/error_message_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/get_chat_model_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/get_embeddings_model_resp.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/get_token_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/list_models_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/list_token_resp.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/message_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/model.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/partial_update_token_payload.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/sku.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/token.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/token_created.py +3 -3
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/update_token_response.py +2 -2
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/rest.py +2 -2
- stackit_modelserving-0.1.0/src/stackit/modelserving/__init__.py +0 -55
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/README.md +0 -0
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api/__init__.py +0 -0
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api_response.py +0 -0
- {stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/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,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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api_client.py
RENAMED
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
import datetime
|
|
16
16
|
import json
|
|
@@ -82,7 +82,7 @@ class ApiClient:
|
|
|
82
82
|
self.default_headers[header_name] = header_value
|
|
83
83
|
self.cookie = cookie
|
|
84
84
|
# Set default User-Agent.
|
|
85
|
-
self.user_agent = "
|
|
85
|
+
self.user_agent = "stackit-sdk-python/modelserving"
|
|
86
86
|
|
|
87
87
|
def __enter__(self):
|
|
88
88
|
return self
|
|
@@ -332,6 +332,10 @@ class ApiClient:
|
|
|
332
332
|
else:
|
|
333
333
|
obj_dict = obj.__dict__
|
|
334
334
|
|
|
335
|
+
if isinstance(obj_dict, list):
|
|
336
|
+
# here we handle instances that can either be a list or something else, and only became a real list by calling to_dict() # noqa: E501
|
|
337
|
+
return self.sanitize_for_serialization(obj_dict)
|
|
338
|
+
|
|
335
339
|
return {key: self.sanitize_for_serialization(val) for key, val in obj_dict.items()}
|
|
336
340
|
|
|
337
341
|
def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
|
|
@@ -351,12 +355,12 @@ class ApiClient:
|
|
|
351
355
|
data = json.loads(response_text)
|
|
352
356
|
except ValueError:
|
|
353
357
|
data = response_text
|
|
354
|
-
elif
|
|
358
|
+
elif re.match(r"^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)", content_type, re.IGNORECASE):
|
|
355
359
|
if response_text == "":
|
|
356
360
|
data = ""
|
|
357
361
|
else:
|
|
358
362
|
data = json.loads(response_text)
|
|
359
|
-
elif
|
|
363
|
+
elif re.match(r"^text\/[a-z.+-]+\s*(;|$)", content_type, re.IGNORECASE):
|
|
360
364
|
data = response_text
|
|
361
365
|
else:
|
|
362
366
|
raise ApiException(status=0, reason="Unsupported content type: {0}".format(content_type))
|
|
@@ -458,7 +462,7 @@ class ApiClient:
|
|
|
458
462
|
if k in collection_formats:
|
|
459
463
|
collection_format = collection_formats[k]
|
|
460
464
|
if collection_format == "multi":
|
|
461
|
-
new_params.extend((k, str(value)) for value in v)
|
|
465
|
+
new_params.extend((k, quote(str(value))) for value in v)
|
|
462
466
|
else:
|
|
463
467
|
if collection_format == "ssv":
|
|
464
468
|
delimiter = " "
|
|
@@ -474,7 +478,10 @@ class ApiClient:
|
|
|
474
478
|
|
|
475
479
|
return "&".join(["=".join(map(str, item)) for item in new_params])
|
|
476
480
|
|
|
477
|
-
def files_parameters(
|
|
481
|
+
def files_parameters(
|
|
482
|
+
self,
|
|
483
|
+
files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]],
|
|
484
|
+
):
|
|
478
485
|
"""Builds form parameters.
|
|
479
486
|
|
|
480
487
|
:param files: File parameters.
|
|
@@ -489,6 +496,12 @@ class ApiClient:
|
|
|
489
496
|
elif isinstance(v, bytes):
|
|
490
497
|
filename = k
|
|
491
498
|
filedata = v
|
|
499
|
+
elif isinstance(v, tuple):
|
|
500
|
+
filename, filedata = v
|
|
501
|
+
elif isinstance(v, list):
|
|
502
|
+
for file_param in v:
|
|
503
|
+
params.extend(self.files_parameters({k: file_param}))
|
|
504
|
+
continue
|
|
492
505
|
else:
|
|
493
506
|
raise ValueError("Unsupported file value")
|
|
494
507
|
mimetype = mimetypes.guess_type(filename)[0] or "application/octet-stream"
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/configuration.py
RENAMED
|
@@ -10,11 +10,31 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import sys
|
|
16
|
+
from typing import Dict, List, Optional, TypedDict
|
|
17
|
+
|
|
18
|
+
from typing_extensions import NotRequired
|
|
14
19
|
|
|
15
20
|
import os
|
|
16
21
|
|
|
17
22
|
|
|
23
|
+
ServerVariablesT = Dict[str, str]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class HostSettingVariable(TypedDict):
|
|
27
|
+
description: str
|
|
28
|
+
default_value: str
|
|
29
|
+
enum_values: List[str]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class HostSetting(TypedDict):
|
|
33
|
+
url: str
|
|
34
|
+
description: str
|
|
35
|
+
variables: NotRequired[Dict[str, HostSettingVariable]]
|
|
36
|
+
|
|
37
|
+
|
|
18
38
|
class HostConfiguration:
|
|
19
39
|
def __init__(
|
|
20
40
|
self,
|
|
@@ -30,6 +50,7 @@ class HostConfiguration:
|
|
|
30
50
|
"as a function argument instead of being set in the client configuration.\n"
|
|
31
51
|
"Once all services have migrated, the methods to specify the region in the client configuration "
|
|
32
52
|
"will be removed.",
|
|
53
|
+
file=sys.stderr,
|
|
33
54
|
)
|
|
34
55
|
"""Constructor
|
|
35
56
|
"""
|
|
@@ -50,7 +71,7 @@ class HostConfiguration:
|
|
|
50
71
|
"""Ignore operation servers
|
|
51
72
|
"""
|
|
52
73
|
|
|
53
|
-
def get_host_settings(self):
|
|
74
|
+
def get_host_settings(self) -> List[HostSetting]:
|
|
54
75
|
"""Gets an array of host settings
|
|
55
76
|
|
|
56
77
|
:return: An array of host settings
|
|
@@ -68,7 +89,12 @@ class HostConfiguration:
|
|
|
68
89
|
}
|
|
69
90
|
]
|
|
70
91
|
|
|
71
|
-
def get_host_from_settings(
|
|
92
|
+
def get_host_from_settings(
|
|
93
|
+
self,
|
|
94
|
+
index: Optional[int],
|
|
95
|
+
variables: Optional[ServerVariablesT] = None,
|
|
96
|
+
servers: Optional[List[HostSetting]] = None,
|
|
97
|
+
) -> str:
|
|
72
98
|
"""Gets host URL based on the index and variables
|
|
73
99
|
:param index: array index of the host settings
|
|
74
100
|
:param variables: hash of variable and the corresponding value
|
|
@@ -108,7 +134,7 @@ class HostConfiguration:
|
|
|
108
134
|
and variables.get(variable_name) is not None
|
|
109
135
|
):
|
|
110
136
|
raise ValueError(
|
|
111
|
-
"this API does not support setting a region in the
|
|
137
|
+
"this API does not support setting a region in the client configuration, "
|
|
112
138
|
"please check if the region can be specified as a function parameter"
|
|
113
139
|
)
|
|
114
140
|
used_value = variables.get(variable_name, variable["default_value"])
|
|
@@ -127,12 +153,12 @@ class HostConfiguration:
|
|
|
127
153
|
return url
|
|
128
154
|
|
|
129
155
|
@property
|
|
130
|
-
def host(self):
|
|
156
|
+
def host(self) -> str:
|
|
131
157
|
"""Return generated host."""
|
|
132
158
|
return self.get_host_from_settings(self.server_index, variables=self.server_variables)
|
|
133
159
|
|
|
134
160
|
@host.setter
|
|
135
|
-
def host(self, value):
|
|
161
|
+
def host(self, value: str) -> None:
|
|
136
162
|
"""Fix base path."""
|
|
137
163
|
self._base_path = value
|
|
138
164
|
self.server_index = None
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/exceptions.py
RENAMED
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from typing import Any, Optional
|
|
16
16
|
|
|
@@ -152,6 +152,13 @@ class ApiException(OpenApiException):
|
|
|
152
152
|
if http_resp.status == 404:
|
|
153
153
|
raise NotFoundException(http_resp=http_resp, body=body, data=data)
|
|
154
154
|
|
|
155
|
+
# Added new conditions for 409 and 422
|
|
156
|
+
if http_resp.status == 409:
|
|
157
|
+
raise ConflictException(http_resp=http_resp, body=body, data=data)
|
|
158
|
+
|
|
159
|
+
if http_resp.status == 422:
|
|
160
|
+
raise UnprocessableEntityException(http_resp=http_resp, body=body, data=data)
|
|
161
|
+
|
|
155
162
|
if 500 <= http_resp.status <= 599:
|
|
156
163
|
raise ServiceException(http_resp=http_resp, body=body, data=data)
|
|
157
164
|
raise ApiException(http_resp=http_resp, body=body, data=data)
|
|
@@ -188,6 +195,18 @@ class ServiceException(ApiException):
|
|
|
188
195
|
pass
|
|
189
196
|
|
|
190
197
|
|
|
198
|
+
class ConflictException(ApiException):
|
|
199
|
+
"""Exception for HTTP 409 Conflict."""
|
|
200
|
+
|
|
201
|
+
pass
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class UnprocessableEntityException(ApiException):
|
|
205
|
+
"""Exception for HTTP 422 Unprocessable Entity."""
|
|
206
|
+
|
|
207
|
+
pass
|
|
208
|
+
|
|
209
|
+
|
|
191
210
|
def render_path(path_to_item):
|
|
192
211
|
"""Returns a string representation of a path"""
|
|
193
212
|
result = ""
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
@@ -28,7 +28,7 @@ from stackit.modelserving.models.sku import SKU
|
|
|
28
28
|
class ChatModelDetails(BaseModel):
|
|
29
29
|
"""
|
|
30
30
|
ChatModelDetails
|
|
31
|
-
"""
|
|
31
|
+
""" # noqa: E501
|
|
32
32
|
|
|
33
33
|
bits: Optional[StrictInt] = None
|
|
34
34
|
category: StrictStr
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Annotated, Self
|
|
|
26
26
|
class CreateTokenPayload(BaseModel):
|
|
27
27
|
"""
|
|
28
28
|
CreateTokenPayload
|
|
29
|
-
"""
|
|
29
|
+
""" # noqa: E501
|
|
30
30
|
|
|
31
31
|
description: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = None
|
|
32
32
|
name: Annotated[str, Field(min_length=1, strict=True, max_length=200)]
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.token_created import TokenCreated
|
|
|
27
27
|
class CreateTokenResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
CreateTokenResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
token: TokenCreated
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
@@ -28,7 +28,7 @@ from stackit.modelserving.models.sku import SKU
|
|
|
28
28
|
class EmbeddingModelDetails(BaseModel):
|
|
29
29
|
"""
|
|
30
30
|
EmbeddingModelDetails
|
|
31
|
-
"""
|
|
31
|
+
""" # noqa: E501
|
|
32
32
|
|
|
33
33
|
category: StrictStr
|
|
34
34
|
description: Annotated[str, Field(strict=True, max_length=2000)]
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class ErrorMessageResponse(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
ErrorMessageResponse
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
error: Optional[StrictStr] = None
|
|
31
31
|
message: Optional[StrictStr] = None
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.chat_model_details import ChatModelDetails
|
|
|
27
27
|
class GetChatModelResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
GetChatModelResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
model: ChatModelDetails
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.embedding_model_details import EmbeddingModelDe
|
|
|
27
27
|
class GetEmbeddingsModelResp(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
GetEmbeddingsModelResp
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
model: EmbeddingModelDetails
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.token import Token
|
|
|
27
27
|
class GetTokenResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
GetTokenResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
token: Token
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.model import Model
|
|
|
27
27
|
class ListModelsResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListModelsResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
models: List[Model]
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.token import Token
|
|
|
27
27
|
class ListTokenResp(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
ListTokenResp
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
tokens: List[Token]
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class MessageResponse(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
MessageResponse
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
message: Optional[StrictStr] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["message"]
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/model.py
RENAMED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
@@ -28,7 +28,7 @@ from stackit.modelserving.models.sku import SKU
|
|
|
28
28
|
class Model(BaseModel):
|
|
29
29
|
"""
|
|
30
30
|
Model
|
|
31
|
-
"""
|
|
31
|
+
""" # noqa: E501
|
|
32
32
|
|
|
33
33
|
category: StrictStr
|
|
34
34
|
description: Annotated[str, Field(strict=True, max_length=2000)]
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
21
|
|
|
22
22
|
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Annotated, Self
|
|
|
26
26
|
class PartialUpdateTokenPayload(BaseModel):
|
|
27
27
|
"""
|
|
28
28
|
PartialUpdateTokenPayload
|
|
29
|
-
"""
|
|
29
|
+
""" # noqa: E501
|
|
30
30
|
|
|
31
31
|
description: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = None
|
|
32
32
|
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=200)]] = None
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/sku.py
RENAMED
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ from typing_extensions import Self
|
|
|
25
25
|
class SKU(BaseModel):
|
|
26
26
|
"""
|
|
27
27
|
SKU
|
|
28
|
-
"""
|
|
28
|
+
""" # noqa: E501
|
|
29
29
|
|
|
30
30
|
description: Optional[StrictStr] = None
|
|
31
31
|
id: StrictStr
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/models/token.py
RENAMED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@ from typing_extensions import Annotated, Self
|
|
|
27
27
|
class Token(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
Token
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
description: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = None
|
|
33
33
|
id: StrictStr
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
18
|
import pprint
|
|
19
|
-
import re
|
|
19
|
+
import re # noqa: F401
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@ from typing_extensions import Annotated, Self
|
|
|
27
27
|
class TokenCreated(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
TokenCreated
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
content: Annotated[str, Field(min_length=1, strict=True, max_length=200)]
|
|
33
33
|
description: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = None
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ from stackit.modelserving.models.token import Token
|
|
|
27
27
|
class UpdateTokenResponse(BaseModel):
|
|
28
28
|
"""
|
|
29
29
|
UpdateTokenResponse
|
|
30
|
-
"""
|
|
30
|
+
""" # noqa: E501
|
|
31
31
|
|
|
32
32
|
message: Optional[StrictStr] = None
|
|
33
33
|
token: Token
|
|
@@ -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
|
|
13
|
+
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
import io
|
|
16
16
|
import json
|
|
@@ -125,7 +125,7 @@ class RESTClientObject:
|
|
|
125
125
|
data=body,
|
|
126
126
|
headers=headers,
|
|
127
127
|
)
|
|
128
|
-
elif headers["Content-Type"]
|
|
128
|
+
elif headers["Content-Type"].startswith("text/") and isinstance(body, bool):
|
|
129
129
|
request_body = "true" if body else "false"
|
|
130
130
|
r = self.session.request(method, url, data=request_body, headers=headers)
|
|
131
131
|
else:
|
|
@@ -1,55 +0,0 @@
|
|
|
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 docstring might be too long
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
__version__ = "1.0.0"
|
|
19
|
-
|
|
20
|
-
# import apis into sdk package
|
|
21
|
-
from stackit.modelserving.api.default_api import DefaultApi
|
|
22
|
-
from stackit.modelserving.api_client import ApiClient
|
|
23
|
-
|
|
24
|
-
# import ApiClient
|
|
25
|
-
from stackit.modelserving.api_response import ApiResponse
|
|
26
|
-
from stackit.modelserving.configuration import HostConfiguration
|
|
27
|
-
from stackit.modelserving.exceptions import (
|
|
28
|
-
ApiAttributeError,
|
|
29
|
-
ApiException,
|
|
30
|
-
ApiKeyError,
|
|
31
|
-
ApiTypeError,
|
|
32
|
-
ApiValueError,
|
|
33
|
-
OpenApiException,
|
|
34
|
-
)
|
|
35
|
-
|
|
36
|
-
# import models into sdk package
|
|
37
|
-
from stackit.modelserving.models.chat_model_details import ChatModelDetails
|
|
38
|
-
from stackit.modelserving.models.create_token_payload import CreateTokenPayload
|
|
39
|
-
from stackit.modelserving.models.create_token_response import CreateTokenResponse
|
|
40
|
-
from stackit.modelserving.models.embedding_model_details import EmbeddingModelDetails
|
|
41
|
-
from stackit.modelserving.models.error_message_response import ErrorMessageResponse
|
|
42
|
-
from stackit.modelserving.models.get_chat_model_response import GetChatModelResponse
|
|
43
|
-
from stackit.modelserving.models.get_embeddings_model_resp import GetEmbeddingsModelResp
|
|
44
|
-
from stackit.modelserving.models.get_token_response import GetTokenResponse
|
|
45
|
-
from stackit.modelserving.models.list_models_response import ListModelsResponse
|
|
46
|
-
from stackit.modelserving.models.list_token_resp import ListTokenResp
|
|
47
|
-
from stackit.modelserving.models.message_response import MessageResponse
|
|
48
|
-
from stackit.modelserving.models.model import Model
|
|
49
|
-
from stackit.modelserving.models.partial_update_token_payload import (
|
|
50
|
-
PartialUpdateTokenPayload,
|
|
51
|
-
)
|
|
52
|
-
from stackit.modelserving.models.sku import SKU
|
|
53
|
-
from stackit.modelserving.models.token import Token
|
|
54
|
-
from stackit.modelserving.models.token_created import TokenCreated
|
|
55
|
-
from stackit.modelserving.models.update_token_response import UpdateTokenResponse
|
|
File without changes
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api/__init__.py
RENAMED
|
File without changes
|
{stackit_modelserving-0.1.0 → stackit_modelserving-0.1.2}/src/stackit/modelserving/api_response.py
RENAMED
|
File without changes
|
|
File without changes
|