rapidata 2.28.3__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/assets/_media_asset.py +1 -1
- rapidata/rapidata_client/assets/_text_asset.py +1 -1
- 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.3.dist-info → rapidata-2.28.5.dist-info}/METADATA +1 -1
- {rapidata-2.28.3.dist-info → rapidata-2.28.5.dist-info}/RECORD +37 -35
- {rapidata-2.28.3.dist-info → rapidata-2.28.5.dist-info}/LICENSE +0 -0
- {rapidata-2.28.3.dist-info → rapidata-2.28.5.dist-info}/WHEEL +0 -0
|
@@ -22,7 +22,7 @@ from typing_extensions import Annotated
|
|
|
22
22
|
from rapidata.api_client.models.add_campaign_artifact_result import AddCampaignArtifactResult
|
|
23
23
|
from rapidata.api_client.models.add_campaign_model import AddCampaignModel
|
|
24
24
|
from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
|
|
25
|
-
from rapidata.api_client.models.
|
|
25
|
+
from rapidata.api_client.models.pipeline_id_workflow_config_put_request import PipelineIdWorkflowConfigPutRequest
|
|
26
26
|
from rapidata.api_client.models.preliminary_download_model import PreliminaryDownloadModel
|
|
27
27
|
from rapidata.api_client.models.preliminary_download_result import PreliminaryDownloadResult
|
|
28
28
|
from rapidata.api_client.models.update_campaign_model import UpdateCampaignModel
|
|
@@ -45,315 +45,12 @@ class PipelineApi:
|
|
|
45
45
|
self.api_client = api_client
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
@validate_call
|
|
49
|
-
def pipeline_id_workflow_artifact_id_put(
|
|
50
|
-
self,
|
|
51
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
52
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
53
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
54
|
-
_request_timeout: Union[
|
|
55
|
-
None,
|
|
56
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
-
Tuple[
|
|
58
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
60
|
-
]
|
|
61
|
-
] = None,
|
|
62
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
-
_content_type: Optional[StrictStr] = None,
|
|
64
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
66
|
-
) -> None:
|
|
67
|
-
"""(Deprecated) Updates the workflow configuration for a pipeline.
|
|
68
|
-
|
|
69
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
70
|
-
|
|
71
|
-
:param id: The id of the pipeline to update. (required)
|
|
72
|
-
:type id: str
|
|
73
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
74
|
-
:type artifact_id: str
|
|
75
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
76
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
77
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
78
|
-
number provided, it will be total request
|
|
79
|
-
timeout. It can also be a pair (tuple) of
|
|
80
|
-
(connection, read) timeouts.
|
|
81
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
82
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
83
|
-
request; this effectively ignores the
|
|
84
|
-
authentication in the spec for a single request.
|
|
85
|
-
:type _request_auth: dict, optional
|
|
86
|
-
:param _content_type: force content-type for the request.
|
|
87
|
-
:type _content_type: str, Optional
|
|
88
|
-
:param _headers: set to override the headers for a single
|
|
89
|
-
request; this effectively ignores the headers
|
|
90
|
-
in the spec for a single request.
|
|
91
|
-
:type _headers: dict, optional
|
|
92
|
-
:param _host_index: set to override the host_index for a single
|
|
93
|
-
request; this effectively ignores the host_index
|
|
94
|
-
in the spec for a single request.
|
|
95
|
-
:type _host_index: int, optional
|
|
96
|
-
:return: Returns the result object.
|
|
97
|
-
""" # noqa: E501
|
|
98
|
-
warnings.warn("PUT /pipeline/{id}/workflow/{artifactId} is deprecated.", DeprecationWarning)
|
|
99
|
-
|
|
100
|
-
_param = self._pipeline_id_workflow_artifact_id_put_serialize(
|
|
101
|
-
id=id,
|
|
102
|
-
artifact_id=artifact_id,
|
|
103
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
104
|
-
_request_auth=_request_auth,
|
|
105
|
-
_content_type=_content_type,
|
|
106
|
-
_headers=_headers,
|
|
107
|
-
_host_index=_host_index
|
|
108
|
-
)
|
|
109
|
-
|
|
110
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
111
|
-
'204': None,
|
|
112
|
-
}
|
|
113
|
-
response_data = self.api_client.call_api(
|
|
114
|
-
*_param,
|
|
115
|
-
_request_timeout=_request_timeout
|
|
116
|
-
)
|
|
117
|
-
response_data.read()
|
|
118
|
-
return self.api_client.response_deserialize(
|
|
119
|
-
response_data=response_data,
|
|
120
|
-
response_types_map=_response_types_map,
|
|
121
|
-
).data
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
@validate_call
|
|
125
|
-
def pipeline_id_workflow_artifact_id_put_with_http_info(
|
|
126
|
-
self,
|
|
127
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
128
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
129
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
130
|
-
_request_timeout: Union[
|
|
131
|
-
None,
|
|
132
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
133
|
-
Tuple[
|
|
134
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
135
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
136
|
-
]
|
|
137
|
-
] = None,
|
|
138
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
-
_content_type: Optional[StrictStr] = None,
|
|
140
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
141
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
142
|
-
) -> ApiResponse[None]:
|
|
143
|
-
"""(Deprecated) Updates the workflow configuration for a pipeline.
|
|
144
|
-
|
|
145
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
146
|
-
|
|
147
|
-
:param id: The id of the pipeline to update. (required)
|
|
148
|
-
:type id: str
|
|
149
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
150
|
-
:type artifact_id: str
|
|
151
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
152
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
153
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
154
|
-
number provided, it will be total request
|
|
155
|
-
timeout. It can also be a pair (tuple) of
|
|
156
|
-
(connection, read) timeouts.
|
|
157
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
158
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
159
|
-
request; this effectively ignores the
|
|
160
|
-
authentication in the spec for a single request.
|
|
161
|
-
:type _request_auth: dict, optional
|
|
162
|
-
:param _content_type: force content-type for the request.
|
|
163
|
-
:type _content_type: str, Optional
|
|
164
|
-
:param _headers: set to override the headers for a single
|
|
165
|
-
request; this effectively ignores the headers
|
|
166
|
-
in the spec for a single request.
|
|
167
|
-
:type _headers: dict, optional
|
|
168
|
-
:param _host_index: set to override the host_index for a single
|
|
169
|
-
request; this effectively ignores the host_index
|
|
170
|
-
in the spec for a single request.
|
|
171
|
-
:type _host_index: int, optional
|
|
172
|
-
:return: Returns the result object.
|
|
173
|
-
""" # noqa: E501
|
|
174
|
-
warnings.warn("PUT /pipeline/{id}/workflow/{artifactId} is deprecated.", DeprecationWarning)
|
|
175
|
-
|
|
176
|
-
_param = self._pipeline_id_workflow_artifact_id_put_serialize(
|
|
177
|
-
id=id,
|
|
178
|
-
artifact_id=artifact_id,
|
|
179
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
180
|
-
_request_auth=_request_auth,
|
|
181
|
-
_content_type=_content_type,
|
|
182
|
-
_headers=_headers,
|
|
183
|
-
_host_index=_host_index
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
187
|
-
'204': None,
|
|
188
|
-
}
|
|
189
|
-
response_data = self.api_client.call_api(
|
|
190
|
-
*_param,
|
|
191
|
-
_request_timeout=_request_timeout
|
|
192
|
-
)
|
|
193
|
-
response_data.read()
|
|
194
|
-
return self.api_client.response_deserialize(
|
|
195
|
-
response_data=response_data,
|
|
196
|
-
response_types_map=_response_types_map,
|
|
197
|
-
)
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
@validate_call
|
|
201
|
-
def pipeline_id_workflow_artifact_id_put_without_preload_content(
|
|
202
|
-
self,
|
|
203
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
204
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
205
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
206
|
-
_request_timeout: Union[
|
|
207
|
-
None,
|
|
208
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
209
|
-
Tuple[
|
|
210
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
211
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
212
|
-
]
|
|
213
|
-
] = None,
|
|
214
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
215
|
-
_content_type: Optional[StrictStr] = None,
|
|
216
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
217
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
218
|
-
) -> RESTResponseType:
|
|
219
|
-
"""(Deprecated) Updates the workflow configuration for a pipeline.
|
|
220
|
-
|
|
221
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
222
|
-
|
|
223
|
-
:param id: The id of the pipeline to update. (required)
|
|
224
|
-
:type id: str
|
|
225
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
226
|
-
:type artifact_id: str
|
|
227
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
228
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
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
|
-
warnings.warn("PUT /pipeline/{id}/workflow/{artifactId} is deprecated.", DeprecationWarning)
|
|
251
|
-
|
|
252
|
-
_param = self._pipeline_id_workflow_artifact_id_put_serialize(
|
|
253
|
-
id=id,
|
|
254
|
-
artifact_id=artifact_id,
|
|
255
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
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
|
-
'204': None,
|
|
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 _pipeline_id_workflow_artifact_id_put_serialize(
|
|
273
|
-
self,
|
|
274
|
-
id,
|
|
275
|
-
artifact_id,
|
|
276
|
-
pipeline_id_workflow_artifact_id_put_request,
|
|
277
|
-
_request_auth,
|
|
278
|
-
_content_type,
|
|
279
|
-
_headers,
|
|
280
|
-
_host_index,
|
|
281
|
-
) -> RequestSerialized:
|
|
282
|
-
|
|
283
|
-
_host = None
|
|
284
|
-
|
|
285
|
-
_collection_formats: Dict[str, str] = {
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
_path_params: Dict[str, str] = {}
|
|
289
|
-
_query_params: List[Tuple[str, str]] = []
|
|
290
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
291
|
-
_form_params: List[Tuple[str, str]] = []
|
|
292
|
-
_files: Dict[
|
|
293
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
294
|
-
] = {}
|
|
295
|
-
_body_params: Optional[bytes] = None
|
|
296
|
-
|
|
297
|
-
# process the path parameters
|
|
298
|
-
if id is not None:
|
|
299
|
-
_path_params['id'] = id
|
|
300
|
-
if artifact_id is not None:
|
|
301
|
-
_path_params['artifactId'] = artifact_id
|
|
302
|
-
# process the query parameters
|
|
303
|
-
# process the header parameters
|
|
304
|
-
# process the form parameters
|
|
305
|
-
# process the body parameter
|
|
306
|
-
if pipeline_id_workflow_artifact_id_put_request is not None:
|
|
307
|
-
_body_params = pipeline_id_workflow_artifact_id_put_request
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
# set the HTTP header `Content-Type`
|
|
312
|
-
if _content_type:
|
|
313
|
-
_header_params['Content-Type'] = _content_type
|
|
314
|
-
else:
|
|
315
|
-
_default_content_type = (
|
|
316
|
-
self.api_client.select_header_content_type(
|
|
317
|
-
[
|
|
318
|
-
'application/json',
|
|
319
|
-
'text/json',
|
|
320
|
-
'application/*+json'
|
|
321
|
-
]
|
|
322
|
-
)
|
|
323
|
-
)
|
|
324
|
-
if _default_content_type is not None:
|
|
325
|
-
_header_params['Content-Type'] = _default_content_type
|
|
326
|
-
|
|
327
|
-
# authentication setting
|
|
328
|
-
_auth_settings: List[str] = [
|
|
329
|
-
'bearer',
|
|
330
|
-
'oauth2'
|
|
331
|
-
]
|
|
332
|
-
|
|
333
|
-
return self.api_client.param_serialize(
|
|
334
|
-
method='PUT',
|
|
335
|
-
resource_path='/pipeline/{id}/workflow/{artifactId}',
|
|
336
|
-
path_params=_path_params,
|
|
337
|
-
query_params=_query_params,
|
|
338
|
-
header_params=_header_params,
|
|
339
|
-
body=_body_params,
|
|
340
|
-
post_params=_form_params,
|
|
341
|
-
files=_files,
|
|
342
|
-
auth_settings=_auth_settings,
|
|
343
|
-
collection_formats=_collection_formats,
|
|
344
|
-
_host=_host,
|
|
345
|
-
_request_auth=_request_auth
|
|
346
|
-
)
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
48
|
@validate_call
|
|
352
49
|
def pipeline_id_workflow_config_artifact_id_put(
|
|
353
50
|
self,
|
|
354
51
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
355
52
|
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
356
|
-
|
|
53
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
357
54
|
_request_timeout: Union[
|
|
358
55
|
None,
|
|
359
56
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -375,8 +72,8 @@ class PipelineApi:
|
|
|
375
72
|
:type id: str
|
|
376
73
|
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
377
74
|
:type artifact_id: str
|
|
378
|
-
:param
|
|
379
|
-
:type
|
|
75
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
76
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
380
77
|
:param _request_timeout: timeout setting for this request. If one
|
|
381
78
|
number provided, it will be total request
|
|
382
79
|
timeout. It can also be a pair (tuple) of
|
|
@@ -402,7 +99,7 @@ class PipelineApi:
|
|
|
402
99
|
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
403
100
|
id=id,
|
|
404
101
|
artifact_id=artifact_id,
|
|
405
|
-
|
|
102
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
406
103
|
_request_auth=_request_auth,
|
|
407
104
|
_content_type=_content_type,
|
|
408
105
|
_headers=_headers,
|
|
@@ -428,7 +125,7 @@ class PipelineApi:
|
|
|
428
125
|
self,
|
|
429
126
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
430
127
|
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
431
|
-
|
|
128
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
432
129
|
_request_timeout: Union[
|
|
433
130
|
None,
|
|
434
131
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -450,8 +147,8 @@ class PipelineApi:
|
|
|
450
147
|
:type id: str
|
|
451
148
|
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
452
149
|
:type artifact_id: str
|
|
453
|
-
:param
|
|
454
|
-
:type
|
|
150
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
151
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
455
152
|
:param _request_timeout: timeout setting for this request. If one
|
|
456
153
|
number provided, it will be total request
|
|
457
154
|
timeout. It can also be a pair (tuple) of
|
|
@@ -477,7 +174,7 @@ class PipelineApi:
|
|
|
477
174
|
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
478
175
|
id=id,
|
|
479
176
|
artifact_id=artifact_id,
|
|
480
|
-
|
|
177
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
481
178
|
_request_auth=_request_auth,
|
|
482
179
|
_content_type=_content_type,
|
|
483
180
|
_headers=_headers,
|
|
@@ -503,7 +200,7 @@ class PipelineApi:
|
|
|
503
200
|
self,
|
|
504
201
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
505
202
|
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
506
|
-
|
|
203
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
507
204
|
_request_timeout: Union[
|
|
508
205
|
None,
|
|
509
206
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -525,8 +222,8 @@ class PipelineApi:
|
|
|
525
222
|
:type id: str
|
|
526
223
|
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
527
224
|
:type artifact_id: str
|
|
528
|
-
:param
|
|
529
|
-
:type
|
|
225
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
226
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
530
227
|
:param _request_timeout: timeout setting for this request. If one
|
|
531
228
|
number provided, it will be total request
|
|
532
229
|
timeout. It can also be a pair (tuple) of
|
|
@@ -552,7 +249,7 @@ class PipelineApi:
|
|
|
552
249
|
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
553
250
|
id=id,
|
|
554
251
|
artifact_id=artifact_id,
|
|
555
|
-
|
|
252
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
556
253
|
_request_auth=_request_auth,
|
|
557
254
|
_content_type=_content_type,
|
|
558
255
|
_headers=_headers,
|
|
@@ -573,7 +270,7 @@ class PipelineApi:
|
|
|
573
270
|
self,
|
|
574
271
|
id,
|
|
575
272
|
artifact_id,
|
|
576
|
-
|
|
273
|
+
pipeline_id_workflow_config_put_request,
|
|
577
274
|
_request_auth,
|
|
578
275
|
_content_type,
|
|
579
276
|
_headers,
|
|
@@ -603,8 +300,8 @@ class PipelineApi:
|
|
|
603
300
|
# process the header parameters
|
|
604
301
|
# process the form parameters
|
|
605
302
|
# process the body parameter
|
|
606
|
-
if
|
|
607
|
-
_body_params =
|
|
303
|
+
if pipeline_id_workflow_config_put_request is not None:
|
|
304
|
+
_body_params = pipeline_id_workflow_config_put_request
|
|
608
305
|
|
|
609
306
|
|
|
610
307
|
|
|
@@ -652,7 +349,7 @@ class PipelineApi:
|
|
|
652
349
|
def pipeline_id_workflow_config_put(
|
|
653
350
|
self,
|
|
654
351
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
655
|
-
|
|
352
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
656
353
|
_request_timeout: Union[
|
|
657
354
|
None,
|
|
658
355
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -672,8 +369,8 @@ class PipelineApi:
|
|
|
672
369
|
|
|
673
370
|
:param id: The id of the pipeline to update. (required)
|
|
674
371
|
:type id: str
|
|
675
|
-
:param
|
|
676
|
-
:type
|
|
372
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
373
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
677
374
|
:param _request_timeout: timeout setting for this request. If one
|
|
678
375
|
number provided, it will be total request
|
|
679
376
|
timeout. It can also be a pair (tuple) of
|
|
@@ -698,7 +395,7 @@ class PipelineApi:
|
|
|
698
395
|
|
|
699
396
|
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
700
397
|
id=id,
|
|
701
|
-
|
|
398
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
702
399
|
_request_auth=_request_auth,
|
|
703
400
|
_content_type=_content_type,
|
|
704
401
|
_headers=_headers,
|
|
@@ -723,7 +420,7 @@ class PipelineApi:
|
|
|
723
420
|
def pipeline_id_workflow_config_put_with_http_info(
|
|
724
421
|
self,
|
|
725
422
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
726
|
-
|
|
423
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
727
424
|
_request_timeout: Union[
|
|
728
425
|
None,
|
|
729
426
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -743,8 +440,8 @@ class PipelineApi:
|
|
|
743
440
|
|
|
744
441
|
:param id: The id of the pipeline to update. (required)
|
|
745
442
|
:type id: str
|
|
746
|
-
:param
|
|
747
|
-
:type
|
|
443
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
444
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
748
445
|
:param _request_timeout: timeout setting for this request. If one
|
|
749
446
|
number provided, it will be total request
|
|
750
447
|
timeout. It can also be a pair (tuple) of
|
|
@@ -769,7 +466,7 @@ class PipelineApi:
|
|
|
769
466
|
|
|
770
467
|
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
771
468
|
id=id,
|
|
772
|
-
|
|
469
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
773
470
|
_request_auth=_request_auth,
|
|
774
471
|
_content_type=_content_type,
|
|
775
472
|
_headers=_headers,
|
|
@@ -794,7 +491,7 @@ class PipelineApi:
|
|
|
794
491
|
def pipeline_id_workflow_config_put_without_preload_content(
|
|
795
492
|
self,
|
|
796
493
|
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
797
|
-
|
|
494
|
+
pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
798
495
|
_request_timeout: Union[
|
|
799
496
|
None,
|
|
800
497
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -814,8 +511,8 @@ class PipelineApi:
|
|
|
814
511
|
|
|
815
512
|
:param id: The id of the pipeline to update. (required)
|
|
816
513
|
:type id: str
|
|
817
|
-
:param
|
|
818
|
-
:type
|
|
514
|
+
:param pipeline_id_workflow_config_put_request: The new workflow configuration.
|
|
515
|
+
:type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
|
|
819
516
|
:param _request_timeout: timeout setting for this request. If one
|
|
820
517
|
number provided, it will be total request
|
|
821
518
|
timeout. It can also be a pair (tuple) of
|
|
@@ -840,7 +537,7 @@ class PipelineApi:
|
|
|
840
537
|
|
|
841
538
|
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
842
539
|
id=id,
|
|
843
|
-
|
|
540
|
+
pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
|
|
844
541
|
_request_auth=_request_auth,
|
|
845
542
|
_content_type=_content_type,
|
|
846
543
|
_headers=_headers,
|
|
@@ -860,7 +557,7 @@ class PipelineApi:
|
|
|
860
557
|
def _pipeline_id_workflow_config_put_serialize(
|
|
861
558
|
self,
|
|
862
559
|
id,
|
|
863
|
-
|
|
560
|
+
pipeline_id_workflow_config_put_request,
|
|
864
561
|
_request_auth,
|
|
865
562
|
_content_type,
|
|
866
563
|
_headers,
|
|
@@ -888,8 +585,8 @@ class PipelineApi:
|
|
|
888
585
|
# process the header parameters
|
|
889
586
|
# process the form parameters
|
|
890
587
|
# process the body parameter
|
|
891
|
-
if
|
|
892
|
-
_body_params =
|
|
588
|
+
if pipeline_id_workflow_config_put_request is not None:
|
|
589
|
+
_body_params = pipeline_id_workflow_config_put_request
|
|
893
590
|
|
|
894
591
|
|
|
895
592
|
|