rapidata 0.3.0__py3-none-any.whl → 0.4.1__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 +18 -1
- rapidata/api_client/__init__.py +29 -3
- rapidata/api_client/api/__init__.py +3 -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 +515 -289
- 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 +26 -3
- 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_user_filter_model.py +2 -2
- 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/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 +24 -10
- 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/demographic_rapid_selection_config.py +3 -3
- rapidata/api_client/models/demographic_selection.py +4 -4
- rapidata/api_client/models/feedback_model.py +1 -1
- 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_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_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_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/user_score_user_filter_model.py +3 -3
- rapidata/api_client/models/validation_selection.py +3 -3
- rapidata/api_client/models/workflow_state.py +41 -0
- rapidata/api_client/rest.py +1 -1
- rapidata/api_client_README.md +44 -8
- rapidata/rapidata_client/__init__.py +7 -1
- rapidata/rapidata_client/country_codes/__init__.py +1 -1
- rapidata/rapidata_client/feature_flags/__init__.py +1 -1
- rapidata/rapidata_client/metadata/__init__.py +5 -0
- rapidata/rapidata_client/order/rapidata_order_builder.py +20 -2
- rapidata/rapidata_client/rapidata_client.py +22 -0
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/selection/__init__.py +4 -0
- rapidata/rapidata_client/workflow/__init__.py +5 -4
- {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/METADATA +1 -1
- {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/RECORD +72 -43
- {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/LICENSE +0 -0
- {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/WHEEL +0 -0
|
@@ -313,7 +313,7 @@ class RapidApi:
|
|
|
313
313
|
def rapid_create_demographic_rapid_post(
|
|
314
314
|
self,
|
|
315
315
|
model: Optional[CreateDemographicRapidModel] = None,
|
|
316
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
316
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
317
317
|
_request_timeout: Union[
|
|
318
318
|
None,
|
|
319
319
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -332,7 +332,7 @@ class RapidApi:
|
|
|
332
332
|
|
|
333
333
|
:param model:
|
|
334
334
|
:type model: CreateDemographicRapidModel
|
|
335
|
-
:param file:
|
|
335
|
+
:param file: The file to use as the asset for the rapid.
|
|
336
336
|
:type file: List[bytearray]
|
|
337
337
|
:param _request_timeout: timeout setting for this request. If one
|
|
338
338
|
number provided, it will be total request
|
|
@@ -383,7 +383,7 @@ class RapidApi:
|
|
|
383
383
|
def rapid_create_demographic_rapid_post_with_http_info(
|
|
384
384
|
self,
|
|
385
385
|
model: Optional[CreateDemographicRapidModel] = None,
|
|
386
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
386
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
387
387
|
_request_timeout: Union[
|
|
388
388
|
None,
|
|
389
389
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -402,7 +402,7 @@ class RapidApi:
|
|
|
402
402
|
|
|
403
403
|
:param model:
|
|
404
404
|
:type model: CreateDemographicRapidModel
|
|
405
|
-
:param file:
|
|
405
|
+
:param file: The file to use as the asset for the rapid.
|
|
406
406
|
:type file: List[bytearray]
|
|
407
407
|
:param _request_timeout: timeout setting for this request. If one
|
|
408
408
|
number provided, it will be total request
|
|
@@ -453,7 +453,7 @@ class RapidApi:
|
|
|
453
453
|
def rapid_create_demographic_rapid_post_without_preload_content(
|
|
454
454
|
self,
|
|
455
455
|
model: Optional[CreateDemographicRapidModel] = None,
|
|
456
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
456
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
457
457
|
_request_timeout: Union[
|
|
458
458
|
None,
|
|
459
459
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -472,7 +472,7 @@ class RapidApi:
|
|
|
472
472
|
|
|
473
473
|
:param model:
|
|
474
474
|
:type model: CreateDemographicRapidModel
|
|
475
|
-
:param file:
|
|
475
|
+
:param file: The file to use as the asset for the rapid.
|
|
476
476
|
:type file: List[bytearray]
|
|
477
477
|
:param _request_timeout: timeout setting for this request. If one
|
|
478
478
|
number provided, it will be total request
|
|
@@ -0,0 +1,350 @@
|
|
|
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.simple_workflow_get_result_overview_get200_response import SimpleWorkflowGetResultOverviewGet200Response
|
|
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 SimpleWorkflowApi:
|
|
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 simple_workflow_get_result_overview_get(
|
|
44
|
+
self,
|
|
45
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
46
|
+
not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
|
|
47
|
+
in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
|
|
48
|
+
completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
|
|
49
|
+
_request_timeout: Union[
|
|
50
|
+
None,
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Tuple[
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
55
|
+
]
|
|
56
|
+
] = None,
|
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
+
) -> SimpleWorkflowGetResultOverviewGet200Response:
|
|
62
|
+
"""Get the result overview for a simple workflow.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
66
|
+
:type workflow_id: str
|
|
67
|
+
:param not_started_display_count: The number of rapids that have not started to return.
|
|
68
|
+
:type not_started_display_count: int
|
|
69
|
+
:param in_progress_display_count: The number of rapids that are in progress to return.
|
|
70
|
+
:type in_progress_display_count: int
|
|
71
|
+
:param completed_display_count: The number of rapids that are completed to return.
|
|
72
|
+
:type completed_display_count: int
|
|
73
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
74
|
+
number provided, it will be total request
|
|
75
|
+
timeout. It can also be a pair (tuple) of
|
|
76
|
+
(connection, read) timeouts.
|
|
77
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
78
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
79
|
+
request; this effectively ignores the
|
|
80
|
+
authentication in the spec for a single request.
|
|
81
|
+
:type _request_auth: dict, optional
|
|
82
|
+
:param _content_type: force content-type for the request.
|
|
83
|
+
:type _content_type: str, Optional
|
|
84
|
+
:param _headers: set to override the headers for a single
|
|
85
|
+
request; this effectively ignores the headers
|
|
86
|
+
in the spec for a single request.
|
|
87
|
+
:type _headers: dict, optional
|
|
88
|
+
:param _host_index: set to override the host_index for a single
|
|
89
|
+
request; this effectively ignores the host_index
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _host_index: int, optional
|
|
92
|
+
:return: Returns the result object.
|
|
93
|
+
""" # noqa: E501
|
|
94
|
+
|
|
95
|
+
_param = self._simple_workflow_get_result_overview_get_serialize(
|
|
96
|
+
workflow_id=workflow_id,
|
|
97
|
+
not_started_display_count=not_started_display_count,
|
|
98
|
+
in_progress_display_count=in_progress_display_count,
|
|
99
|
+
completed_display_count=completed_display_count,
|
|
100
|
+
_request_auth=_request_auth,
|
|
101
|
+
_content_type=_content_type,
|
|
102
|
+
_headers=_headers,
|
|
103
|
+
_host_index=_host_index
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
107
|
+
'200': "SimpleWorkflowGetResultOverviewGet200Response",
|
|
108
|
+
}
|
|
109
|
+
response_data = self.api_client.call_api(
|
|
110
|
+
*_param,
|
|
111
|
+
_request_timeout=_request_timeout
|
|
112
|
+
)
|
|
113
|
+
response_data.read()
|
|
114
|
+
return self.api_client.response_deserialize(
|
|
115
|
+
response_data=response_data,
|
|
116
|
+
response_types_map=_response_types_map,
|
|
117
|
+
).data
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@validate_call
|
|
121
|
+
def simple_workflow_get_result_overview_get_with_http_info(
|
|
122
|
+
self,
|
|
123
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
124
|
+
not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
|
|
125
|
+
in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
|
|
126
|
+
completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
|
|
127
|
+
_request_timeout: Union[
|
|
128
|
+
None,
|
|
129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
130
|
+
Tuple[
|
|
131
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
133
|
+
]
|
|
134
|
+
] = None,
|
|
135
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
136
|
+
_content_type: Optional[StrictStr] = None,
|
|
137
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
138
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
139
|
+
) -> ApiResponse[SimpleWorkflowGetResultOverviewGet200Response]:
|
|
140
|
+
"""Get the result overview for a simple workflow.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
144
|
+
:type workflow_id: str
|
|
145
|
+
:param not_started_display_count: The number of rapids that have not started to return.
|
|
146
|
+
:type not_started_display_count: int
|
|
147
|
+
:param in_progress_display_count: The number of rapids that are in progress to return.
|
|
148
|
+
:type in_progress_display_count: int
|
|
149
|
+
:param completed_display_count: The number of rapids that are completed to return.
|
|
150
|
+
:type completed_display_count: int
|
|
151
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
152
|
+
number provided, it will be total request
|
|
153
|
+
timeout. It can also be a pair (tuple) of
|
|
154
|
+
(connection, read) timeouts.
|
|
155
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
156
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
157
|
+
request; this effectively ignores the
|
|
158
|
+
authentication in the spec for a single request.
|
|
159
|
+
:type _request_auth: dict, optional
|
|
160
|
+
:param _content_type: force content-type for the request.
|
|
161
|
+
:type _content_type: str, Optional
|
|
162
|
+
:param _headers: set to override the headers for a single
|
|
163
|
+
request; this effectively ignores the headers
|
|
164
|
+
in the spec for a single request.
|
|
165
|
+
:type _headers: dict, optional
|
|
166
|
+
:param _host_index: set to override the host_index for a single
|
|
167
|
+
request; this effectively ignores the host_index
|
|
168
|
+
in the spec for a single request.
|
|
169
|
+
:type _host_index: int, optional
|
|
170
|
+
:return: Returns the result object.
|
|
171
|
+
""" # noqa: E501
|
|
172
|
+
|
|
173
|
+
_param = self._simple_workflow_get_result_overview_get_serialize(
|
|
174
|
+
workflow_id=workflow_id,
|
|
175
|
+
not_started_display_count=not_started_display_count,
|
|
176
|
+
in_progress_display_count=in_progress_display_count,
|
|
177
|
+
completed_display_count=completed_display_count,
|
|
178
|
+
_request_auth=_request_auth,
|
|
179
|
+
_content_type=_content_type,
|
|
180
|
+
_headers=_headers,
|
|
181
|
+
_host_index=_host_index
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
185
|
+
'200': "SimpleWorkflowGetResultOverviewGet200Response",
|
|
186
|
+
}
|
|
187
|
+
response_data = self.api_client.call_api(
|
|
188
|
+
*_param,
|
|
189
|
+
_request_timeout=_request_timeout
|
|
190
|
+
)
|
|
191
|
+
response_data.read()
|
|
192
|
+
return self.api_client.response_deserialize(
|
|
193
|
+
response_data=response_data,
|
|
194
|
+
response_types_map=_response_types_map,
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
@validate_call
|
|
199
|
+
def simple_workflow_get_result_overview_get_without_preload_content(
|
|
200
|
+
self,
|
|
201
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
|
|
202
|
+
not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
|
|
203
|
+
in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
|
|
204
|
+
completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
|
|
205
|
+
_request_timeout: Union[
|
|
206
|
+
None,
|
|
207
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
208
|
+
Tuple[
|
|
209
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
210
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
211
|
+
]
|
|
212
|
+
] = None,
|
|
213
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
214
|
+
_content_type: Optional[StrictStr] = None,
|
|
215
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
216
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
217
|
+
) -> RESTResponseType:
|
|
218
|
+
"""Get the result overview for a simple workflow.
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
:param workflow_id: The ID of the workflow. (required)
|
|
222
|
+
:type workflow_id: str
|
|
223
|
+
:param not_started_display_count: The number of rapids that have not started to return.
|
|
224
|
+
:type not_started_display_count: int
|
|
225
|
+
:param in_progress_display_count: The number of rapids that are in progress to return.
|
|
226
|
+
:type in_progress_display_count: int
|
|
227
|
+
:param completed_display_count: The number of rapids that are completed to return.
|
|
228
|
+
:type completed_display_count: int
|
|
229
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
230
|
+
number provided, it will be total request
|
|
231
|
+
timeout. It can also be a pair (tuple) of
|
|
232
|
+
(connection, read) timeouts.
|
|
233
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
234
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
235
|
+
request; this effectively ignores the
|
|
236
|
+
authentication in the spec for a single request.
|
|
237
|
+
:type _request_auth: dict, optional
|
|
238
|
+
:param _content_type: force content-type for the request.
|
|
239
|
+
:type _content_type: str, Optional
|
|
240
|
+
:param _headers: set to override the headers for a single
|
|
241
|
+
request; this effectively ignores the headers
|
|
242
|
+
in the spec for a single request.
|
|
243
|
+
:type _headers: dict, optional
|
|
244
|
+
:param _host_index: set to override the host_index for a single
|
|
245
|
+
request; this effectively ignores the host_index
|
|
246
|
+
in the spec for a single request.
|
|
247
|
+
:type _host_index: int, optional
|
|
248
|
+
:return: Returns the result object.
|
|
249
|
+
""" # noqa: E501
|
|
250
|
+
|
|
251
|
+
_param = self._simple_workflow_get_result_overview_get_serialize(
|
|
252
|
+
workflow_id=workflow_id,
|
|
253
|
+
not_started_display_count=not_started_display_count,
|
|
254
|
+
in_progress_display_count=in_progress_display_count,
|
|
255
|
+
completed_display_count=completed_display_count,
|
|
256
|
+
_request_auth=_request_auth,
|
|
257
|
+
_content_type=_content_type,
|
|
258
|
+
_headers=_headers,
|
|
259
|
+
_host_index=_host_index
|
|
260
|
+
)
|
|
261
|
+
|
|
262
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
263
|
+
'200': "SimpleWorkflowGetResultOverviewGet200Response",
|
|
264
|
+
}
|
|
265
|
+
response_data = self.api_client.call_api(
|
|
266
|
+
*_param,
|
|
267
|
+
_request_timeout=_request_timeout
|
|
268
|
+
)
|
|
269
|
+
return response_data.response
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
def _simple_workflow_get_result_overview_get_serialize(
|
|
273
|
+
self,
|
|
274
|
+
workflow_id,
|
|
275
|
+
not_started_display_count,
|
|
276
|
+
in_progress_display_count,
|
|
277
|
+
completed_display_count,
|
|
278
|
+
_request_auth,
|
|
279
|
+
_content_type,
|
|
280
|
+
_headers,
|
|
281
|
+
_host_index,
|
|
282
|
+
) -> RequestSerialized:
|
|
283
|
+
|
|
284
|
+
_host = None
|
|
285
|
+
|
|
286
|
+
_collection_formats: Dict[str, str] = {
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
_path_params: Dict[str, str] = {}
|
|
290
|
+
_query_params: List[Tuple[str, str]] = []
|
|
291
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
292
|
+
_form_params: List[Tuple[str, str]] = []
|
|
293
|
+
_files: Dict[
|
|
294
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
295
|
+
] = {}
|
|
296
|
+
_body_params: Optional[bytes] = None
|
|
297
|
+
|
|
298
|
+
# process the path parameters
|
|
299
|
+
# process the query parameters
|
|
300
|
+
if workflow_id is not None:
|
|
301
|
+
|
|
302
|
+
_query_params.append(('WorkflowId', workflow_id))
|
|
303
|
+
|
|
304
|
+
if not_started_display_count is not None:
|
|
305
|
+
|
|
306
|
+
_query_params.append(('NotStartedDisplayCount', not_started_display_count))
|
|
307
|
+
|
|
308
|
+
if in_progress_display_count is not None:
|
|
309
|
+
|
|
310
|
+
_query_params.append(('InProgressDisplayCount', in_progress_display_count))
|
|
311
|
+
|
|
312
|
+
if completed_display_count is not None:
|
|
313
|
+
|
|
314
|
+
_query_params.append(('CompletedDisplayCount', completed_display_count))
|
|
315
|
+
|
|
316
|
+
# process the header parameters
|
|
317
|
+
# process the form parameters
|
|
318
|
+
# process the body parameter
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
# set the HTTP header `Accept`
|
|
322
|
+
if 'Accept' not in _header_params:
|
|
323
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
324
|
+
[
|
|
325
|
+
'application/json'
|
|
326
|
+
]
|
|
327
|
+
)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
# authentication setting
|
|
331
|
+
_auth_settings: List[str] = [
|
|
332
|
+
'bearer'
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
return self.api_client.param_serialize(
|
|
336
|
+
method='GET',
|
|
337
|
+
resource_path='/SimpleWorkflow/GetResultOverview',
|
|
338
|
+
path_params=_path_params,
|
|
339
|
+
query_params=_query_params,
|
|
340
|
+
header_params=_header_params,
|
|
341
|
+
body=_body_params,
|
|
342
|
+
post_params=_form_params,
|
|
343
|
+
files=_files,
|
|
344
|
+
auth_settings=_auth_settings,
|
|
345
|
+
collection_formats=_collection_formats,
|
|
346
|
+
_host=_host,
|
|
347
|
+
_request_auth=_request_auth
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
|
|
@@ -50,7 +50,7 @@ class ValidationApi:
|
|
|
50
50
|
def validation_add_validation_rapid_post(
|
|
51
51
|
self,
|
|
52
52
|
model: Optional[AddValidationRapidModel] = None,
|
|
53
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
53
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to be used as assets for the validation rapid. Each file will create a new rapid.")] = None,
|
|
54
54
|
_request_timeout: Union[
|
|
55
55
|
None,
|
|
56
56
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -69,7 +69,7 @@ class ValidationApi:
|
|
|
69
69
|
|
|
70
70
|
:param model:
|
|
71
71
|
:type model: AddValidationRapidModel
|
|
72
|
-
:param files:
|
|
72
|
+
:param files: The files to be used as assets for the validation rapid. Each file will create a new rapid.
|
|
73
73
|
:type files: List[bytearray]
|
|
74
74
|
:param _request_timeout: timeout setting for this request. If one
|
|
75
75
|
number provided, it will be total request
|
|
@@ -120,7 +120,7 @@ class ValidationApi:
|
|
|
120
120
|
def validation_add_validation_rapid_post_with_http_info(
|
|
121
121
|
self,
|
|
122
122
|
model: Optional[AddValidationRapidModel] = None,
|
|
123
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
123
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to be used as assets for the validation rapid. Each file will create a new rapid.")] = None,
|
|
124
124
|
_request_timeout: Union[
|
|
125
125
|
None,
|
|
126
126
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -139,7 +139,7 @@ class ValidationApi:
|
|
|
139
139
|
|
|
140
140
|
:param model:
|
|
141
141
|
:type model: AddValidationRapidModel
|
|
142
|
-
:param files:
|
|
142
|
+
:param files: The files to be used as assets for the validation rapid. Each file will create a new rapid.
|
|
143
143
|
:type files: List[bytearray]
|
|
144
144
|
:param _request_timeout: timeout setting for this request. If one
|
|
145
145
|
number provided, it will be total request
|
|
@@ -190,7 +190,7 @@ class ValidationApi:
|
|
|
190
190
|
def validation_add_validation_rapid_post_without_preload_content(
|
|
191
191
|
self,
|
|
192
192
|
model: Optional[AddValidationRapidModel] = None,
|
|
193
|
-
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
193
|
+
files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to be used as assets for the validation rapid. Each file will create a new rapid.")] = None,
|
|
194
194
|
_request_timeout: Union[
|
|
195
195
|
None,
|
|
196
196
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -209,7 +209,7 @@ class ValidationApi:
|
|
|
209
209
|
|
|
210
210
|
:param model:
|
|
211
211
|
:type model: AddValidationRapidModel
|
|
212
|
-
:param files:
|
|
212
|
+
:param files: The files to be used as assets for the validation rapid. Each file will create a new rapid.
|
|
213
213
|
:type files: List[bytearray]
|
|
214
214
|
:param _request_timeout: timeout setting for this request. If one
|
|
215
215
|
number provided, it will be total request
|