rapidata 2.28.4__py3-none-any.whl → 2.28.5__py3-none-any.whl
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.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +1 -1
- rapidata/api_client/__init__.py +3 -9
- rapidata/api_client/api/campaign_api.py +0 -780
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/datapoint_api.py +0 -524
- rapidata/api_client/api/dataset_api.py +579 -2276
- rapidata/api_client/api/feedback_api.py +0 -270
- rapidata/api_client/api/identity_api.py +74 -888
- rapidata/api_client/api/leaderboard_api.py +267 -6
- rapidata/api_client/api/order_api.py +617 -5692
- rapidata/api_client/api/pipeline_api.py +31 -334
- rapidata/api_client/api/validation_set_api.py +469 -3356
- rapidata/api_client/api/workflow_api.py +0 -799
- rapidata/api_client/models/__init__.py +3 -9
- rapidata/api_client/models/add_validation_rapid_model.py +1 -3
- rapidata/api_client/models/add_validation_text_rapid_model.py +1 -3
- rapidata/api_client/models/clone_order_model.py +2 -4
- rapidata/api_client/models/get_participant_by_id_result.py +6 -2
- rapidata/api_client/models/get_validation_rapids_result.py +3 -3
- rapidata/api_client/models/get_workflow_results_result.py +3 -3
- rapidata/api_client/models/participant_by_leaderboard.py +6 -2
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/rapid_model.py +3 -3
- rapidata/api_client/models/simple_workflow_config.py +3 -3
- rapidata/api_client/models/simple_workflow_model1.py +3 -3
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client_README.md +6 -61
- rapidata/rapidata_client/order/rapidata_order.py +1 -1
- rapidata/rapidata_client/validation/rapidata_validation_set.py +1 -1
- rapidata/rapidata_client/validation/rapids/rapids.py +4 -6
- {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/METADATA +1 -1
- {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/RECORD +35 -33
- {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/LICENSE +0 -0
- {rapidata-2.28.4.dist-info → rapidata-2.28.5.dist-info}/WHEEL +0 -0
|
@@ -39,276 +39,6 @@ class FeedbackApi:
|
|
|
39
39
|
self.api_client = api_client
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
@validate_call
|
|
43
|
-
def feedback_feedback_post(
|
|
44
|
-
self,
|
|
45
|
-
feedback_model: Annotated[Optional[FeedbackModel], Field(description="The body content of the request")] = None,
|
|
46
|
-
_request_timeout: Union[
|
|
47
|
-
None,
|
|
48
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
49
|
-
Tuple[
|
|
50
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
52
|
-
]
|
|
53
|
-
] = None,
|
|
54
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
55
|
-
_content_type: Optional[StrictStr] = None,
|
|
56
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
|
-
) -> None:
|
|
59
|
-
"""(Deprecated) Submits feedback about our services.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
:param feedback_model: The body content of the request
|
|
63
|
-
:type feedback_model: FeedbackModel
|
|
64
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
65
|
-
number provided, it will be total request
|
|
66
|
-
timeout. It can also be a pair (tuple) of
|
|
67
|
-
(connection, read) timeouts.
|
|
68
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
69
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
70
|
-
request; this effectively ignores the
|
|
71
|
-
authentication in the spec for a single request.
|
|
72
|
-
:type _request_auth: dict, optional
|
|
73
|
-
:param _content_type: force content-type for the request.
|
|
74
|
-
:type _content_type: str, Optional
|
|
75
|
-
:param _headers: set to override the headers for a single
|
|
76
|
-
request; this effectively ignores the headers
|
|
77
|
-
in the spec for a single request.
|
|
78
|
-
:type _headers: dict, optional
|
|
79
|
-
:param _host_index: set to override the host_index for a single
|
|
80
|
-
request; this effectively ignores the host_index
|
|
81
|
-
in the spec for a single request.
|
|
82
|
-
:type _host_index: int, optional
|
|
83
|
-
:return: Returns the result object.
|
|
84
|
-
""" # noqa: E501
|
|
85
|
-
warnings.warn("POST /feedback/feedback is deprecated.", DeprecationWarning)
|
|
86
|
-
|
|
87
|
-
_param = self._feedback_feedback_post_serialize(
|
|
88
|
-
feedback_model=feedback_model,
|
|
89
|
-
_request_auth=_request_auth,
|
|
90
|
-
_content_type=_content_type,
|
|
91
|
-
_headers=_headers,
|
|
92
|
-
_host_index=_host_index
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
96
|
-
'204': None,
|
|
97
|
-
}
|
|
98
|
-
response_data = self.api_client.call_api(
|
|
99
|
-
*_param,
|
|
100
|
-
_request_timeout=_request_timeout
|
|
101
|
-
)
|
|
102
|
-
response_data.read()
|
|
103
|
-
return self.api_client.response_deserialize(
|
|
104
|
-
response_data=response_data,
|
|
105
|
-
response_types_map=_response_types_map,
|
|
106
|
-
).data
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@validate_call
|
|
110
|
-
def feedback_feedback_post_with_http_info(
|
|
111
|
-
self,
|
|
112
|
-
feedback_model: Annotated[Optional[FeedbackModel], Field(description="The body content of the request")] = None,
|
|
113
|
-
_request_timeout: Union[
|
|
114
|
-
None,
|
|
115
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
116
|
-
Tuple[
|
|
117
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
118
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
119
|
-
]
|
|
120
|
-
] = None,
|
|
121
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
122
|
-
_content_type: Optional[StrictStr] = None,
|
|
123
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
124
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125
|
-
) -> ApiResponse[None]:
|
|
126
|
-
"""(Deprecated) Submits feedback about our services.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
:param feedback_model: The body content of the request
|
|
130
|
-
:type feedback_model: FeedbackModel
|
|
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
|
-
warnings.warn("POST /feedback/feedback is deprecated.", DeprecationWarning)
|
|
153
|
-
|
|
154
|
-
_param = self._feedback_feedback_post_serialize(
|
|
155
|
-
feedback_model=feedback_model,
|
|
156
|
-
_request_auth=_request_auth,
|
|
157
|
-
_content_type=_content_type,
|
|
158
|
-
_headers=_headers,
|
|
159
|
-
_host_index=_host_index
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
163
|
-
'204': None,
|
|
164
|
-
}
|
|
165
|
-
response_data = self.api_client.call_api(
|
|
166
|
-
*_param,
|
|
167
|
-
_request_timeout=_request_timeout
|
|
168
|
-
)
|
|
169
|
-
response_data.read()
|
|
170
|
-
return self.api_client.response_deserialize(
|
|
171
|
-
response_data=response_data,
|
|
172
|
-
response_types_map=_response_types_map,
|
|
173
|
-
)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
@validate_call
|
|
177
|
-
def feedback_feedback_post_without_preload_content(
|
|
178
|
-
self,
|
|
179
|
-
feedback_model: Annotated[Optional[FeedbackModel], Field(description="The body content of the request")] = None,
|
|
180
|
-
_request_timeout: Union[
|
|
181
|
-
None,
|
|
182
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
183
|
-
Tuple[
|
|
184
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
185
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
186
|
-
]
|
|
187
|
-
] = None,
|
|
188
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
189
|
-
_content_type: Optional[StrictStr] = None,
|
|
190
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
191
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
192
|
-
) -> RESTResponseType:
|
|
193
|
-
"""(Deprecated) Submits feedback about our services.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
:param feedback_model: The body content of the request
|
|
197
|
-
:type feedback_model: FeedbackModel
|
|
198
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
199
|
-
number provided, it will be total request
|
|
200
|
-
timeout. It can also be a pair (tuple) of
|
|
201
|
-
(connection, read) timeouts.
|
|
202
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
203
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
204
|
-
request; this effectively ignores the
|
|
205
|
-
authentication in the spec for a single request.
|
|
206
|
-
:type _request_auth: dict, optional
|
|
207
|
-
:param _content_type: force content-type for the request.
|
|
208
|
-
:type _content_type: str, Optional
|
|
209
|
-
:param _headers: set to override the headers for a single
|
|
210
|
-
request; this effectively ignores the headers
|
|
211
|
-
in the spec for a single request.
|
|
212
|
-
:type _headers: dict, optional
|
|
213
|
-
:param _host_index: set to override the host_index for a single
|
|
214
|
-
request; this effectively ignores the host_index
|
|
215
|
-
in the spec for a single request.
|
|
216
|
-
:type _host_index: int, optional
|
|
217
|
-
:return: Returns the result object.
|
|
218
|
-
""" # noqa: E501
|
|
219
|
-
warnings.warn("POST /feedback/feedback is deprecated.", DeprecationWarning)
|
|
220
|
-
|
|
221
|
-
_param = self._feedback_feedback_post_serialize(
|
|
222
|
-
feedback_model=feedback_model,
|
|
223
|
-
_request_auth=_request_auth,
|
|
224
|
-
_content_type=_content_type,
|
|
225
|
-
_headers=_headers,
|
|
226
|
-
_host_index=_host_index
|
|
227
|
-
)
|
|
228
|
-
|
|
229
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
230
|
-
'204': None,
|
|
231
|
-
}
|
|
232
|
-
response_data = self.api_client.call_api(
|
|
233
|
-
*_param,
|
|
234
|
-
_request_timeout=_request_timeout
|
|
235
|
-
)
|
|
236
|
-
return response_data.response
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
def _feedback_feedback_post_serialize(
|
|
240
|
-
self,
|
|
241
|
-
feedback_model,
|
|
242
|
-
_request_auth,
|
|
243
|
-
_content_type,
|
|
244
|
-
_headers,
|
|
245
|
-
_host_index,
|
|
246
|
-
) -> RequestSerialized:
|
|
247
|
-
|
|
248
|
-
_host = None
|
|
249
|
-
|
|
250
|
-
_collection_formats: Dict[str, str] = {
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
_path_params: Dict[str, str] = {}
|
|
254
|
-
_query_params: List[Tuple[str, str]] = []
|
|
255
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
256
|
-
_form_params: List[Tuple[str, str]] = []
|
|
257
|
-
_files: Dict[
|
|
258
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
259
|
-
] = {}
|
|
260
|
-
_body_params: Optional[bytes] = None
|
|
261
|
-
|
|
262
|
-
# process the path parameters
|
|
263
|
-
# process the query parameters
|
|
264
|
-
# process the header parameters
|
|
265
|
-
# process the form parameters
|
|
266
|
-
# process the body parameter
|
|
267
|
-
if feedback_model is not None:
|
|
268
|
-
_body_params = feedback_model
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
# set the HTTP header `Content-Type`
|
|
273
|
-
if _content_type:
|
|
274
|
-
_header_params['Content-Type'] = _content_type
|
|
275
|
-
else:
|
|
276
|
-
_default_content_type = (
|
|
277
|
-
self.api_client.select_header_content_type(
|
|
278
|
-
[
|
|
279
|
-
'application/json',
|
|
280
|
-
'text/json',
|
|
281
|
-
'application/*+json'
|
|
282
|
-
]
|
|
283
|
-
)
|
|
284
|
-
)
|
|
285
|
-
if _default_content_type is not None:
|
|
286
|
-
_header_params['Content-Type'] = _default_content_type
|
|
287
|
-
|
|
288
|
-
# authentication setting
|
|
289
|
-
_auth_settings: List[str] = [
|
|
290
|
-
'bearer',
|
|
291
|
-
'oauth2'
|
|
292
|
-
]
|
|
293
|
-
|
|
294
|
-
return self.api_client.param_serialize(
|
|
295
|
-
method='POST',
|
|
296
|
-
resource_path='/feedback/feedback',
|
|
297
|
-
path_params=_path_params,
|
|
298
|
-
query_params=_query_params,
|
|
299
|
-
header_params=_header_params,
|
|
300
|
-
body=_body_params,
|
|
301
|
-
post_params=_form_params,
|
|
302
|
-
files=_files,
|
|
303
|
-
auth_settings=_auth_settings,
|
|
304
|
-
collection_formats=_collection_formats,
|
|
305
|
-
_host=_host,
|
|
306
|
-
_request_auth=_request_auth
|
|
307
|
-
)
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
42
|
@validate_call
|
|
313
43
|
def feedback_post(
|
|
314
44
|
self,
|