rapidata 0.4.0__py3-none-any.whl → 0.5.0__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.
- rapidata/__init__.py +4 -3
- rapidata/api_client/__init__.py +51 -15
- rapidata/api_client/api/__init__.py +5 -0
- rapidata/api_client/api/campaign_api.py +1044 -0
- rapidata/api_client/api/compare_workflow_api.py +316 -0
- rapidata/api_client/api/dataset_api.py +24 -24
- rapidata/api_client/api/order_api.py +206 -536
- rapidata/api_client/api/pipeline_api.py +843 -0
- rapidata/api_client/api/rapid_api.py +6 -6
- rapidata/api_client/api/simple_workflow_api.py +350 -0
- rapidata/api_client/api/validation_api.py +6 -6
- rapidata/api_client/api/workflow_api.py +2386 -0
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/models/__init__.py +46 -15
- rapidata/api_client/models/add_campaign_artifact_result.py +87 -0
- rapidata/api_client/models/add_campaign_model.py +149 -0
- rapidata/api_client/models/admin_order_model.py +8 -1
- rapidata/api_client/models/age_group.py +1 -1
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/campaign_artifact_model.py +98 -0
- rapidata/api_client/models/campaign_query_model.py +105 -0
- rapidata/api_client/models/campaign_query_model_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +39 -0
- rapidata/api_client/models/campaign_user_filter_model.py +2 -2
- rapidata/api_client/models/compare_workflow_config.py +2 -12
- rapidata/api_client/models/compare_workflow_config_model.py +138 -0
- rapidata/api_client/models/compare_workflow_get_result_overview_get200_response.py +137 -0
- rapidata/api_client/models/compare_workflow_model1.py +146 -0
- rapidata/api_client/models/completed_rapid_model.py +103 -0
- rapidata/api_client/models/conditional_validation_selection.py +106 -0
- rapidata/api_client/models/country_user_filter_model.py +2 -2
- rapidata/api_client/models/create_demographic_rapid_model.py +3 -3
- rapidata/api_client/models/create_independent_workflow_model.py +93 -0
- rapidata/api_client/models/create_independent_workflow_model_workflow_config.py +140 -0
- rapidata/api_client/models/create_independent_workflow_result.py +89 -0
- rapidata/api_client/models/create_order_model.py +40 -31
- rapidata/api_client/models/create_order_model_selections_inner.py +40 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +35 -35
- rapidata/api_client/models/customer_order_model.py +8 -1
- rapidata/api_client/models/dataset_artifact_model.py +98 -0
- rapidata/api_client/models/demographic_rapid_selection_config.py +7 -5
- rapidata/api_client/models/demographic_selection.py +8 -6
- rapidata/api_client/models/feedback_model.py +1 -1
- rapidata/api_client/models/file_artifact_model.py +98 -0
- rapidata/api_client/models/gender.py +1 -1
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/get_attach_category_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_workflow_result_overview_result.py +125 -0
- rapidata/api_client/models/get_compare_workflow_result_overview_small_result.py +114 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +100 -0
- rapidata/api_client/models/get_pipeline_by_id_result_artifacts_value.py +182 -0
- rapidata/api_client/models/get_simple_workflow_result_overview_result.py +142 -0
- rapidata/api_client/models/get_workflow_by_id_result.py +91 -0
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +140 -0
- rapidata/api_client/models/get_workflow_progress_result.py +100 -0
- rapidata/api_client/models/get_workflow_result_overview_result.py +104 -0
- rapidata/api_client/models/i_workflow_model_paged_result.py +105 -0
- rapidata/api_client/models/in_progress_rapid_model.py +103 -0
- rapidata/api_client/models/labeling_selection.py +2 -2
- rapidata/api_client/models/language_user_filter_model.py +2 -2
- rapidata/api_client/models/not_started_rapid_model.py +93 -0
- rapidata/api_client/models/order_state.py +43 -0
- rapidata/api_client/models/query_campaigns_model.py +112 -0
- rapidata/api_client/models/query_workflows_model.py +112 -0
- rapidata/api_client/models/ranked_datapoint_model.py +95 -0
- rapidata/api_client/models/rapid_answer.py +97 -0
- rapidata/api_client/models/rapid_answer_result.py +252 -0
- rapidata/api_client/models/simple_workflow_config.py +2 -12
- rapidata/api_client/models/simple_workflow_config_model.py +132 -0
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +238 -0
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +137 -0
- rapidata/api_client/models/simple_workflow_model1.py +140 -0
- rapidata/api_client/models/static_selection.py +96 -0
- rapidata/api_client/models/update_workflow_config_request.py +107 -0
- rapidata/api_client/models/update_workflow_config_request_config.py +140 -0
- rapidata/api_client/models/user_score_user_filter_model.py +3 -3
- rapidata/api_client/models/validation_selection.py +3 -3
- rapidata/api_client/models/workflow_artifact_model.py +98 -0
- rapidata/api_client/models/workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +140 -0
- rapidata/api_client/models/workflow_state.py +41 -0
- rapidata/api_client/rest.py +1 -1
- rapidata/api_client_README.md +75 -29
- rapidata/rapidata_client/__init__.py +6 -1
- rapidata/rapidata_client/order/rapidata_order_builder.py +2 -1
- rapidata/rapidata_client/selection/__init__.py +1 -0
- rapidata/rapidata_client/selection/conditional_validation_rapid_selection.py +41 -0
- rapidata/rapidata_client/selection/demographic_selection.py +3 -5
- {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/METADATA +1 -1
- {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/RECORD +92 -40
- {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/LICENSE +0 -0
- {rapidata-0.4.0.dist-info → rapidata-0.5.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Rapidata.Dataset
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictInt, StrictStr
|
|
20
|
+
from typing import Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from rapidata.api_client.models.compare_workflow_get_result_overview_get200_response import CompareWorkflowGetResultOverviewGet200Response
|
|
23
|
+
|
|
24
|
+
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
25
|
+
from rapidata.api_client.api_response import ApiResponse
|
|
26
|
+
from rapidata.api_client.rest import RESTResponseType
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class CompareWorkflowApi:
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None) -> None:
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient.get_default()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@validate_call
|
|
43
|
+
def compare_workflow_get_result_overview_get(
|
|
44
|
+
self,
|
|
45
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
46
|
+
display_count: Annotated[Optional[StrictInt], Field(description="The number of datapoints to return.")] = None,
|
|
47
|
+
_request_timeout: Union[
|
|
48
|
+
None,
|
|
49
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
50
|
+
Tuple[
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
53
|
+
]
|
|
54
|
+
] = None,
|
|
55
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
56
|
+
_content_type: Optional[StrictStr] = None,
|
|
57
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
59
|
+
) -> CompareWorkflowGetResultOverviewGet200Response:
|
|
60
|
+
"""Get the result overview for a compare workflow.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
64
|
+
:type workflow_id: str
|
|
65
|
+
:param display_count: The number of datapoints to return.
|
|
66
|
+
:type display_count: int
|
|
67
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
68
|
+
number provided, it will be total request
|
|
69
|
+
timeout. It can also be a pair (tuple) of
|
|
70
|
+
(connection, read) timeouts.
|
|
71
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
72
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
73
|
+
request; this effectively ignores the
|
|
74
|
+
authentication in the spec for a single request.
|
|
75
|
+
:type _request_auth: dict, optional
|
|
76
|
+
:param _content_type: force content-type for the request.
|
|
77
|
+
:type _content_type: str, Optional
|
|
78
|
+
:param _headers: set to override the headers for a single
|
|
79
|
+
request; this effectively ignores the headers
|
|
80
|
+
in the spec for a single request.
|
|
81
|
+
:type _headers: dict, optional
|
|
82
|
+
:param _host_index: set to override the host_index for a single
|
|
83
|
+
request; this effectively ignores the host_index
|
|
84
|
+
in the spec for a single request.
|
|
85
|
+
:type _host_index: int, optional
|
|
86
|
+
:return: Returns the result object.
|
|
87
|
+
""" # noqa: E501
|
|
88
|
+
|
|
89
|
+
_param = self._compare_workflow_get_result_overview_get_serialize(
|
|
90
|
+
workflow_id=workflow_id,
|
|
91
|
+
display_count=display_count,
|
|
92
|
+
_request_auth=_request_auth,
|
|
93
|
+
_content_type=_content_type,
|
|
94
|
+
_headers=_headers,
|
|
95
|
+
_host_index=_host_index
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
+
'200': "CompareWorkflowGetResultOverviewGet200Response",
|
|
100
|
+
}
|
|
101
|
+
response_data = self.api_client.call_api(
|
|
102
|
+
*_param,
|
|
103
|
+
_request_timeout=_request_timeout
|
|
104
|
+
)
|
|
105
|
+
response_data.read()
|
|
106
|
+
return self.api_client.response_deserialize(
|
|
107
|
+
response_data=response_data,
|
|
108
|
+
response_types_map=_response_types_map,
|
|
109
|
+
).data
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@validate_call
|
|
113
|
+
def compare_workflow_get_result_overview_get_with_http_info(
|
|
114
|
+
self,
|
|
115
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
116
|
+
display_count: Annotated[Optional[StrictInt], Field(description="The number of datapoints to return.")] = None,
|
|
117
|
+
_request_timeout: Union[
|
|
118
|
+
None,
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
120
|
+
Tuple[
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
123
|
+
]
|
|
124
|
+
] = None,
|
|
125
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
126
|
+
_content_type: Optional[StrictStr] = None,
|
|
127
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
|
+
) -> ApiResponse[CompareWorkflowGetResultOverviewGet200Response]:
|
|
130
|
+
"""Get the result overview for a compare workflow.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
134
|
+
:type workflow_id: str
|
|
135
|
+
:param display_count: The number of datapoints to return.
|
|
136
|
+
:type display_count: int
|
|
137
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
138
|
+
number provided, it will be total request
|
|
139
|
+
timeout. It can also be a pair (tuple) of
|
|
140
|
+
(connection, read) timeouts.
|
|
141
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
142
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
143
|
+
request; this effectively ignores the
|
|
144
|
+
authentication in the spec for a single request.
|
|
145
|
+
:type _request_auth: dict, optional
|
|
146
|
+
:param _content_type: force content-type for the request.
|
|
147
|
+
:type _content_type: str, Optional
|
|
148
|
+
:param _headers: set to override the headers for a single
|
|
149
|
+
request; this effectively ignores the headers
|
|
150
|
+
in the spec for a single request.
|
|
151
|
+
:type _headers: dict, optional
|
|
152
|
+
:param _host_index: set to override the host_index for a single
|
|
153
|
+
request; this effectively ignores the host_index
|
|
154
|
+
in the spec for a single request.
|
|
155
|
+
:type _host_index: int, optional
|
|
156
|
+
:return: Returns the result object.
|
|
157
|
+
""" # noqa: E501
|
|
158
|
+
|
|
159
|
+
_param = self._compare_workflow_get_result_overview_get_serialize(
|
|
160
|
+
workflow_id=workflow_id,
|
|
161
|
+
display_count=display_count,
|
|
162
|
+
_request_auth=_request_auth,
|
|
163
|
+
_content_type=_content_type,
|
|
164
|
+
_headers=_headers,
|
|
165
|
+
_host_index=_host_index
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
169
|
+
'200': "CompareWorkflowGetResultOverviewGet200Response",
|
|
170
|
+
}
|
|
171
|
+
response_data = self.api_client.call_api(
|
|
172
|
+
*_param,
|
|
173
|
+
_request_timeout=_request_timeout
|
|
174
|
+
)
|
|
175
|
+
response_data.read()
|
|
176
|
+
return self.api_client.response_deserialize(
|
|
177
|
+
response_data=response_data,
|
|
178
|
+
response_types_map=_response_types_map,
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
@validate_call
|
|
183
|
+
def compare_workflow_get_result_overview_get_without_preload_content(
|
|
184
|
+
self,
|
|
185
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
186
|
+
display_count: Annotated[Optional[StrictInt], Field(description="The number of datapoints to return.")] = None,
|
|
187
|
+
_request_timeout: Union[
|
|
188
|
+
None,
|
|
189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
190
|
+
Tuple[
|
|
191
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
192
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
193
|
+
]
|
|
194
|
+
] = None,
|
|
195
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
196
|
+
_content_type: Optional[StrictStr] = None,
|
|
197
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
198
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
199
|
+
) -> RESTResponseType:
|
|
200
|
+
"""Get the result overview for a compare workflow.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
204
|
+
:type workflow_id: str
|
|
205
|
+
:param display_count: The number of datapoints to return.
|
|
206
|
+
:type display_count: int
|
|
207
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
208
|
+
number provided, it will be total request
|
|
209
|
+
timeout. It can also be a pair (tuple) of
|
|
210
|
+
(connection, read) timeouts.
|
|
211
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
212
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
213
|
+
request; this effectively ignores the
|
|
214
|
+
authentication in the spec for a single request.
|
|
215
|
+
:type _request_auth: dict, optional
|
|
216
|
+
:param _content_type: force content-type for the request.
|
|
217
|
+
:type _content_type: str, Optional
|
|
218
|
+
:param _headers: set to override the headers for a single
|
|
219
|
+
request; this effectively ignores the headers
|
|
220
|
+
in the spec for a single request.
|
|
221
|
+
:type _headers: dict, optional
|
|
222
|
+
:param _host_index: set to override the host_index for a single
|
|
223
|
+
request; this effectively ignores the host_index
|
|
224
|
+
in the spec for a single request.
|
|
225
|
+
:type _host_index: int, optional
|
|
226
|
+
:return: Returns the result object.
|
|
227
|
+
""" # noqa: E501
|
|
228
|
+
|
|
229
|
+
_param = self._compare_workflow_get_result_overview_get_serialize(
|
|
230
|
+
workflow_id=workflow_id,
|
|
231
|
+
display_count=display_count,
|
|
232
|
+
_request_auth=_request_auth,
|
|
233
|
+
_content_type=_content_type,
|
|
234
|
+
_headers=_headers,
|
|
235
|
+
_host_index=_host_index
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
239
|
+
'200': "CompareWorkflowGetResultOverviewGet200Response",
|
|
240
|
+
}
|
|
241
|
+
response_data = self.api_client.call_api(
|
|
242
|
+
*_param,
|
|
243
|
+
_request_timeout=_request_timeout
|
|
244
|
+
)
|
|
245
|
+
return response_data.response
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
def _compare_workflow_get_result_overview_get_serialize(
|
|
249
|
+
self,
|
|
250
|
+
workflow_id,
|
|
251
|
+
display_count,
|
|
252
|
+
_request_auth,
|
|
253
|
+
_content_type,
|
|
254
|
+
_headers,
|
|
255
|
+
_host_index,
|
|
256
|
+
) -> RequestSerialized:
|
|
257
|
+
|
|
258
|
+
_host = None
|
|
259
|
+
|
|
260
|
+
_collection_formats: Dict[str, str] = {
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
_path_params: Dict[str, str] = {}
|
|
264
|
+
_query_params: List[Tuple[str, str]] = []
|
|
265
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
266
|
+
_form_params: List[Tuple[str, str]] = []
|
|
267
|
+
_files: Dict[
|
|
268
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
269
|
+
] = {}
|
|
270
|
+
_body_params: Optional[bytes] = None
|
|
271
|
+
|
|
272
|
+
# process the path parameters
|
|
273
|
+
# process the query parameters
|
|
274
|
+
if workflow_id is not None:
|
|
275
|
+
|
|
276
|
+
_query_params.append(('WorkflowId', workflow_id))
|
|
277
|
+
|
|
278
|
+
if display_count is not None:
|
|
279
|
+
|
|
280
|
+
_query_params.append(('DisplayCount', display_count))
|
|
281
|
+
|
|
282
|
+
# process the header parameters
|
|
283
|
+
# process the form parameters
|
|
284
|
+
# process the body parameter
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
# set the HTTP header `Accept`
|
|
288
|
+
if 'Accept' not in _header_params:
|
|
289
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
290
|
+
[
|
|
291
|
+
'application/json'
|
|
292
|
+
]
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
# authentication setting
|
|
297
|
+
_auth_settings: List[str] = [
|
|
298
|
+
'bearer'
|
|
299
|
+
]
|
|
300
|
+
|
|
301
|
+
return self.api_client.param_serialize(
|
|
302
|
+
method='GET',
|
|
303
|
+
resource_path='/CompareWorkflow/GetResultOverview',
|
|
304
|
+
path_params=_path_params,
|
|
305
|
+
query_params=_query_params,
|
|
306
|
+
header_params=_header_params,
|
|
307
|
+
body=_body_params,
|
|
308
|
+
post_params=_form_params,
|
|
309
|
+
files=_files,
|
|
310
|
+
auth_settings=_auth_settings,
|
|
311
|
+
collection_formats=_collection_formats,
|
|
312
|
+
_host=_host,
|
|
313
|
+
_request_auth=_request_auth
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
|
|
@@ -47,7 +47,7 @@ class DatasetApi:
|
|
|
47
47
|
@validate_call
|
|
48
48
|
def dataset_create_datapoint_post(
|
|
49
49
|
self,
|
|
50
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
50
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
51
51
|
model: Optional[DatapointMetadataModel] = None,
|
|
52
52
|
_request_timeout: Union[
|
|
53
53
|
None,
|
|
@@ -66,7 +66,7 @@ class DatasetApi:
|
|
|
66
66
|
|
|
67
67
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
68
68
|
|
|
69
|
-
:param files:
|
|
69
|
+
:param files: The image files to upload.
|
|
70
70
|
:type files: List[bytearray]
|
|
71
71
|
:param model:
|
|
72
72
|
:type model: DatapointMetadataModel
|
|
@@ -118,7 +118,7 @@ class DatasetApi:
|
|
|
118
118
|
@validate_call
|
|
119
119
|
def dataset_create_datapoint_post_with_http_info(
|
|
120
120
|
self,
|
|
121
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
121
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
122
122
|
model: Optional[DatapointMetadataModel] = None,
|
|
123
123
|
_request_timeout: Union[
|
|
124
124
|
None,
|
|
@@ -137,7 +137,7 @@ class DatasetApi:
|
|
|
137
137
|
|
|
138
138
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
139
139
|
|
|
140
|
-
:param files:
|
|
140
|
+
:param files: The image files to upload.
|
|
141
141
|
:type files: List[bytearray]
|
|
142
142
|
:param model:
|
|
143
143
|
:type model: DatapointMetadataModel
|
|
@@ -189,7 +189,7 @@ class DatasetApi:
|
|
|
189
189
|
@validate_call
|
|
190
190
|
def dataset_create_datapoint_post_without_preload_content(
|
|
191
191
|
self,
|
|
192
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
192
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
193
193
|
model: Optional[DatapointMetadataModel] = None,
|
|
194
194
|
_request_timeout: Union[
|
|
195
195
|
None,
|
|
@@ -208,7 +208,7 @@ class DatasetApi:
|
|
|
208
208
|
|
|
209
209
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
210
210
|
|
|
211
|
-
:param files:
|
|
211
|
+
:param files: The image files to upload.
|
|
212
212
|
:type files: List[bytearray]
|
|
213
213
|
:param model:
|
|
214
214
|
:type model: DatapointMetadataModel
|
|
@@ -602,7 +602,7 @@ class DatasetApi:
|
|
|
602
602
|
def dataset_import_post(
|
|
603
603
|
self,
|
|
604
604
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
|
|
605
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
605
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
|
|
606
606
|
_request_timeout: Union[
|
|
607
607
|
None,
|
|
608
608
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -621,7 +621,7 @@ class DatasetApi:
|
|
|
621
621
|
|
|
622
622
|
:param dataset_id: The id of the dataset to import the datapoints to.
|
|
623
623
|
:type dataset_id: str
|
|
624
|
-
:param file:
|
|
624
|
+
:param file: The csv file to import.
|
|
625
625
|
:type file: bytearray
|
|
626
626
|
:param _request_timeout: timeout setting for this request. If one
|
|
627
627
|
number provided, it will be total request
|
|
@@ -672,7 +672,7 @@ class DatasetApi:
|
|
|
672
672
|
def dataset_import_post_with_http_info(
|
|
673
673
|
self,
|
|
674
674
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
|
|
675
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
675
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
|
|
676
676
|
_request_timeout: Union[
|
|
677
677
|
None,
|
|
678
678
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -691,7 +691,7 @@ class DatasetApi:
|
|
|
691
691
|
|
|
692
692
|
:param dataset_id: The id of the dataset to import the datapoints to.
|
|
693
693
|
:type dataset_id: str
|
|
694
|
-
:param file:
|
|
694
|
+
:param file: The csv file to import.
|
|
695
695
|
:type file: bytearray
|
|
696
696
|
:param _request_timeout: timeout setting for this request. If one
|
|
697
697
|
number provided, it will be total request
|
|
@@ -742,7 +742,7 @@ class DatasetApi:
|
|
|
742
742
|
def dataset_import_post_without_preload_content(
|
|
743
743
|
self,
|
|
744
744
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
|
|
745
|
-
file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
745
|
+
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
|
|
746
746
|
_request_timeout: Union[
|
|
747
747
|
None,
|
|
748
748
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -761,7 +761,7 @@ class DatasetApi:
|
|
|
761
761
|
|
|
762
762
|
:param dataset_id: The id of the dataset to import the datapoints to.
|
|
763
763
|
:type dataset_id: str
|
|
764
|
-
:param file:
|
|
764
|
+
:param file: The csv file to import.
|
|
765
765
|
:type file: bytearray
|
|
766
766
|
:param _request_timeout: timeout setting for this request. If one
|
|
767
767
|
number provided, it will be total request
|
|
@@ -1162,7 +1162,7 @@ class DatasetApi:
|
|
|
1162
1162
|
def dataset_upload_datapoint_post(
|
|
1163
1163
|
self,
|
|
1164
1164
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
|
|
1165
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1165
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
|
|
1166
1166
|
_request_timeout: Union[
|
|
1167
1167
|
None,
|
|
1168
1168
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1181,7 +1181,7 @@ class DatasetApi:
|
|
|
1181
1181
|
|
|
1182
1182
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
1183
1183
|
:type dataset_id: str
|
|
1184
|
-
:param files:
|
|
1184
|
+
:param files: The image files to create the asset from.
|
|
1185
1185
|
:type files: List[bytearray]
|
|
1186
1186
|
:param _request_timeout: timeout setting for this request. If one
|
|
1187
1187
|
number provided, it will be total request
|
|
@@ -1232,7 +1232,7 @@ class DatasetApi:
|
|
|
1232
1232
|
def dataset_upload_datapoint_post_with_http_info(
|
|
1233
1233
|
self,
|
|
1234
1234
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
|
|
1235
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1235
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
|
|
1236
1236
|
_request_timeout: Union[
|
|
1237
1237
|
None,
|
|
1238
1238
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1251,7 +1251,7 @@ class DatasetApi:
|
|
|
1251
1251
|
|
|
1252
1252
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
1253
1253
|
:type dataset_id: str
|
|
1254
|
-
:param files:
|
|
1254
|
+
:param files: The image files to create the asset from.
|
|
1255
1255
|
:type files: List[bytearray]
|
|
1256
1256
|
:param _request_timeout: timeout setting for this request. If one
|
|
1257
1257
|
number provided, it will be total request
|
|
@@ -1302,7 +1302,7 @@ class DatasetApi:
|
|
|
1302
1302
|
def dataset_upload_datapoint_post_without_preload_content(
|
|
1303
1303
|
self,
|
|
1304
1304
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
|
|
1305
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1305
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
|
|
1306
1306
|
_request_timeout: Union[
|
|
1307
1307
|
None,
|
|
1308
1308
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1321,7 +1321,7 @@ class DatasetApi:
|
|
|
1321
1321
|
|
|
1322
1322
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
1323
1323
|
:type dataset_id: str
|
|
1324
|
-
:param files:
|
|
1324
|
+
:param files: The image files to create the asset from.
|
|
1325
1325
|
:type files: List[bytearray]
|
|
1326
1326
|
:param _request_timeout: timeout setting for this request. If one
|
|
1327
1327
|
number provided, it will be total request
|
|
@@ -1731,7 +1731,7 @@ class DatasetApi:
|
|
|
1731
1731
|
def dataset_upload_images_to_dataset_post(
|
|
1732
1732
|
self,
|
|
1733
1733
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
|
|
1734
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1734
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
1735
1735
|
_request_timeout: Union[
|
|
1736
1736
|
None,
|
|
1737
1737
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1751,7 +1751,7 @@ class DatasetApi:
|
|
|
1751
1751
|
|
|
1752
1752
|
:param dataset_id: The id of the dataset to upload the images to.
|
|
1753
1753
|
:type dataset_id: str
|
|
1754
|
-
:param files:
|
|
1754
|
+
:param files: The image files to upload.
|
|
1755
1755
|
:type files: List[bytearray]
|
|
1756
1756
|
:param _request_timeout: timeout setting for this request. If one
|
|
1757
1757
|
number provided, it will be total request
|
|
@@ -1802,7 +1802,7 @@ class DatasetApi:
|
|
|
1802
1802
|
def dataset_upload_images_to_dataset_post_with_http_info(
|
|
1803
1803
|
self,
|
|
1804
1804
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
|
|
1805
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1805
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
1806
1806
|
_request_timeout: Union[
|
|
1807
1807
|
None,
|
|
1808
1808
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1822,7 +1822,7 @@ class DatasetApi:
|
|
|
1822
1822
|
|
|
1823
1823
|
:param dataset_id: The id of the dataset to upload the images to.
|
|
1824
1824
|
:type dataset_id: str
|
|
1825
|
-
:param files:
|
|
1825
|
+
:param files: The image files to upload.
|
|
1826
1826
|
:type files: List[bytearray]
|
|
1827
1827
|
:param _request_timeout: timeout setting for this request. If one
|
|
1828
1828
|
number provided, it will be total request
|
|
@@ -1873,7 +1873,7 @@ class DatasetApi:
|
|
|
1873
1873
|
def dataset_upload_images_to_dataset_post_without_preload_content(
|
|
1874
1874
|
self,
|
|
1875
1875
|
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
|
|
1876
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1876
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
|
|
1877
1877
|
_request_timeout: Union[
|
|
1878
1878
|
None,
|
|
1879
1879
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1893,7 +1893,7 @@ class DatasetApi:
|
|
|
1893
1893
|
|
|
1894
1894
|
:param dataset_id: The id of the dataset to upload the images to.
|
|
1895
1895
|
:type dataset_id: str
|
|
1896
|
-
:param files:
|
|
1896
|
+
:param files: The image files to upload.
|
|
1897
1897
|
:type files: List[bytearray]
|
|
1898
1898
|
:param _request_timeout: timeout setting for this request. If one
|
|
1899
1899
|
number provided, it will be total request
|