rapidata 2.28.4__py3-none-any.whl → 2.29.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.
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 +44 -17
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/benchmark_api.py +2766 -0
- rapidata/api_client/api/campaign_api.py +0 -780
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/customer_rapid_api.py +332 -1
- rapidata/api_client/api/datapoint_api.py +0 -524
- rapidata/api_client/api/dataset_api.py +595 -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 +1642 -259
- 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 +43 -17
- rapidata/api_client/models/add_campaign_model.py +3 -3
- 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/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/benchmark_query_result.py +94 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/clone_order_model.py +2 -4
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_datapoint_result.py +4 -16
- rapidata/api_client/models/create_leaderboard_model.py +18 -2
- rapidata/api_client/models/create_leaderboard_result.py +5 -3
- rapidata/api_client/models/create_order_model.py +3 -3
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +182 -0
- rapidata/api_client/models/form_file_wrapper.py +120 -0
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +94 -0
- rapidata/api_client/models/get_participant_by_id_result.py +6 -22
- rapidata/api_client/models/get_standing_by_id_result.py +113 -0
- 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/local_file_wrapper.py +120 -0
- rapidata/api_client/models/multi_asset_input.py +110 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +170 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/participant_by_benchmark.py +102 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +6 -2
- rapidata/api_client/models/participant_status.py +1 -4
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/prompt_asset_metadata_input.py +3 -3
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +170 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +92 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata_input.py +5 -3
- rapidata/api_client/models/proxy_file_wrapper.py +114 -0
- rapidata/api_client/models/query_validation_model.py +97 -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/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/stream_file_wrapper.py +116 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_prompt_model.py +89 -0
- rapidata/api_client/models/text_asset_input.py +100 -0
- rapidata/api_client/models/transcription_metadata_input.py +5 -3
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/zip_entry_file_wrapper.py +120 -0
- rapidata/api_client_README.md +67 -76
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +62 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +227 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +83 -0
- rapidata/rapidata_client/filter/not_filter.py +2 -2
- rapidata/rapidata_client/filter/or_filter.py +2 -2
- rapidata/rapidata_client/metadata/__init__.py +1 -0
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +8 -1
- rapidata/rapidata_client/metadata/_prompt_identifier_metadata.py +15 -0
- rapidata/rapidata_client/order/_rapidata_dataset.py +6 -6
- rapidata/rapidata_client/order/_rapidata_order_builder.py +4 -4
- rapidata/rapidata_client/order/rapidata_order.py +1 -1
- rapidata/rapidata_client/rapidata_client.py +3 -3
- rapidata/rapidata_client/validation/rapidata_validation_set.py +1 -1
- rapidata/rapidata_client/validation/rapids/rapids.py +4 -6
- rapidata/service/openapi_service.py +5 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/METADATA +1 -1
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/RECORD +106 -57
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard.py +0 -127
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard_manager.py +0 -92
- /rapidata/rapidata_client/{leaderboard → benchmark}/__init__.py +0 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/LICENSE +0 -0
- {rapidata-2.28.4.dist-info → rapidata-2.29.0.dist-info}/WHEEL +0 -0
|
@@ -25,7 +25,6 @@ from rapidata.api_client.models.get_workflow_by_id_result import GetWorkflowById
|
|
|
25
25
|
from rapidata.api_client.models.get_workflow_progress_result import GetWorkflowProgressResult
|
|
26
26
|
from rapidata.api_client.models.i_workflow_model_paged_result import IWorkflowModelPagedResult
|
|
27
27
|
from rapidata.api_client.models.query_model import QueryModel
|
|
28
|
-
from rapidata.api_client.models.query_workflows_model import QueryWorkflowsModel
|
|
29
28
|
from rapidata.api_client.models.sort_direction import SortDirection
|
|
30
29
|
|
|
31
30
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
@@ -300,804 +299,6 @@ class WorkflowApi:
|
|
|
300
299
|
|
|
301
300
|
|
|
302
301
|
|
|
303
|
-
@validate_call
|
|
304
|
-
def workflow_getbyid_get(
|
|
305
|
-
self,
|
|
306
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get.")] = None,
|
|
307
|
-
_request_timeout: Union[
|
|
308
|
-
None,
|
|
309
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
310
|
-
Tuple[
|
|
311
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
312
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
313
|
-
]
|
|
314
|
-
] = None,
|
|
315
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
316
|
-
_content_type: Optional[StrictStr] = None,
|
|
317
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
318
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
319
|
-
) -> GetWorkflowByIdResult:
|
|
320
|
-
"""(Deprecated) Get a workflow by its ID.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
:param workflow_id: The ID of the workflow to get.
|
|
324
|
-
:type workflow_id: str
|
|
325
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
326
|
-
number provided, it will be total request
|
|
327
|
-
timeout. It can also be a pair (tuple) of
|
|
328
|
-
(connection, read) timeouts.
|
|
329
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
330
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
331
|
-
request; this effectively ignores the
|
|
332
|
-
authentication in the spec for a single request.
|
|
333
|
-
:type _request_auth: dict, optional
|
|
334
|
-
:param _content_type: force content-type for the request.
|
|
335
|
-
:type _content_type: str, Optional
|
|
336
|
-
:param _headers: set to override the headers for a single
|
|
337
|
-
request; this effectively ignores the headers
|
|
338
|
-
in the spec for a single request.
|
|
339
|
-
:type _headers: dict, optional
|
|
340
|
-
:param _host_index: set to override the host_index for a single
|
|
341
|
-
request; this effectively ignores the host_index
|
|
342
|
-
in the spec for a single request.
|
|
343
|
-
:type _host_index: int, optional
|
|
344
|
-
:return: Returns the result object.
|
|
345
|
-
""" # noqa: E501
|
|
346
|
-
warnings.warn("GET /workflow/getbyid is deprecated.", DeprecationWarning)
|
|
347
|
-
|
|
348
|
-
_param = self._workflow_getbyid_get_serialize(
|
|
349
|
-
workflow_id=workflow_id,
|
|
350
|
-
_request_auth=_request_auth,
|
|
351
|
-
_content_type=_content_type,
|
|
352
|
-
_headers=_headers,
|
|
353
|
-
_host_index=_host_index
|
|
354
|
-
)
|
|
355
|
-
|
|
356
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
357
|
-
'200': "GetWorkflowByIdResult",
|
|
358
|
-
}
|
|
359
|
-
response_data = self.api_client.call_api(
|
|
360
|
-
*_param,
|
|
361
|
-
_request_timeout=_request_timeout
|
|
362
|
-
)
|
|
363
|
-
response_data.read()
|
|
364
|
-
return self.api_client.response_deserialize(
|
|
365
|
-
response_data=response_data,
|
|
366
|
-
response_types_map=_response_types_map,
|
|
367
|
-
).data
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
@validate_call
|
|
371
|
-
def workflow_getbyid_get_with_http_info(
|
|
372
|
-
self,
|
|
373
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get.")] = None,
|
|
374
|
-
_request_timeout: Union[
|
|
375
|
-
None,
|
|
376
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
377
|
-
Tuple[
|
|
378
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
379
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
380
|
-
]
|
|
381
|
-
] = None,
|
|
382
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
383
|
-
_content_type: Optional[StrictStr] = None,
|
|
384
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
385
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
386
|
-
) -> ApiResponse[GetWorkflowByIdResult]:
|
|
387
|
-
"""(Deprecated) Get a workflow by its ID.
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
:param workflow_id: The ID of the workflow to get.
|
|
391
|
-
:type workflow_id: str
|
|
392
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
393
|
-
number provided, it will be total request
|
|
394
|
-
timeout. It can also be a pair (tuple) of
|
|
395
|
-
(connection, read) timeouts.
|
|
396
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
397
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
398
|
-
request; this effectively ignores the
|
|
399
|
-
authentication in the spec for a single request.
|
|
400
|
-
:type _request_auth: dict, optional
|
|
401
|
-
:param _content_type: force content-type for the request.
|
|
402
|
-
:type _content_type: str, Optional
|
|
403
|
-
:param _headers: set to override the headers for a single
|
|
404
|
-
request; this effectively ignores the headers
|
|
405
|
-
in the spec for a single request.
|
|
406
|
-
:type _headers: dict, optional
|
|
407
|
-
:param _host_index: set to override the host_index for a single
|
|
408
|
-
request; this effectively ignores the host_index
|
|
409
|
-
in the spec for a single request.
|
|
410
|
-
:type _host_index: int, optional
|
|
411
|
-
:return: Returns the result object.
|
|
412
|
-
""" # noqa: E501
|
|
413
|
-
warnings.warn("GET /workflow/getbyid is deprecated.", DeprecationWarning)
|
|
414
|
-
|
|
415
|
-
_param = self._workflow_getbyid_get_serialize(
|
|
416
|
-
workflow_id=workflow_id,
|
|
417
|
-
_request_auth=_request_auth,
|
|
418
|
-
_content_type=_content_type,
|
|
419
|
-
_headers=_headers,
|
|
420
|
-
_host_index=_host_index
|
|
421
|
-
)
|
|
422
|
-
|
|
423
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
424
|
-
'200': "GetWorkflowByIdResult",
|
|
425
|
-
}
|
|
426
|
-
response_data = self.api_client.call_api(
|
|
427
|
-
*_param,
|
|
428
|
-
_request_timeout=_request_timeout
|
|
429
|
-
)
|
|
430
|
-
response_data.read()
|
|
431
|
-
return self.api_client.response_deserialize(
|
|
432
|
-
response_data=response_data,
|
|
433
|
-
response_types_map=_response_types_map,
|
|
434
|
-
)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
@validate_call
|
|
438
|
-
def workflow_getbyid_get_without_preload_content(
|
|
439
|
-
self,
|
|
440
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get.")] = None,
|
|
441
|
-
_request_timeout: Union[
|
|
442
|
-
None,
|
|
443
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
444
|
-
Tuple[
|
|
445
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
446
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
447
|
-
]
|
|
448
|
-
] = None,
|
|
449
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
450
|
-
_content_type: Optional[StrictStr] = None,
|
|
451
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
452
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
453
|
-
) -> RESTResponseType:
|
|
454
|
-
"""(Deprecated) Get a workflow by its ID.
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
:param workflow_id: The ID of the workflow to get.
|
|
458
|
-
:type workflow_id: str
|
|
459
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
460
|
-
number provided, it will be total request
|
|
461
|
-
timeout. It can also be a pair (tuple) of
|
|
462
|
-
(connection, read) timeouts.
|
|
463
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
464
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
465
|
-
request; this effectively ignores the
|
|
466
|
-
authentication in the spec for a single request.
|
|
467
|
-
:type _request_auth: dict, optional
|
|
468
|
-
:param _content_type: force content-type for the request.
|
|
469
|
-
:type _content_type: str, Optional
|
|
470
|
-
:param _headers: set to override the headers for a single
|
|
471
|
-
request; this effectively ignores the headers
|
|
472
|
-
in the spec for a single request.
|
|
473
|
-
:type _headers: dict, optional
|
|
474
|
-
:param _host_index: set to override the host_index for a single
|
|
475
|
-
request; this effectively ignores the host_index
|
|
476
|
-
in the spec for a single request.
|
|
477
|
-
:type _host_index: int, optional
|
|
478
|
-
:return: Returns the result object.
|
|
479
|
-
""" # noqa: E501
|
|
480
|
-
warnings.warn("GET /workflow/getbyid is deprecated.", DeprecationWarning)
|
|
481
|
-
|
|
482
|
-
_param = self._workflow_getbyid_get_serialize(
|
|
483
|
-
workflow_id=workflow_id,
|
|
484
|
-
_request_auth=_request_auth,
|
|
485
|
-
_content_type=_content_type,
|
|
486
|
-
_headers=_headers,
|
|
487
|
-
_host_index=_host_index
|
|
488
|
-
)
|
|
489
|
-
|
|
490
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
491
|
-
'200': "GetWorkflowByIdResult",
|
|
492
|
-
}
|
|
493
|
-
response_data = self.api_client.call_api(
|
|
494
|
-
*_param,
|
|
495
|
-
_request_timeout=_request_timeout
|
|
496
|
-
)
|
|
497
|
-
return response_data.response
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
def _workflow_getbyid_get_serialize(
|
|
501
|
-
self,
|
|
502
|
-
workflow_id,
|
|
503
|
-
_request_auth,
|
|
504
|
-
_content_type,
|
|
505
|
-
_headers,
|
|
506
|
-
_host_index,
|
|
507
|
-
) -> RequestSerialized:
|
|
508
|
-
|
|
509
|
-
_host = None
|
|
510
|
-
|
|
511
|
-
_collection_formats: Dict[str, str] = {
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
_path_params: Dict[str, str] = {}
|
|
515
|
-
_query_params: List[Tuple[str, str]] = []
|
|
516
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
517
|
-
_form_params: List[Tuple[str, str]] = []
|
|
518
|
-
_files: Dict[
|
|
519
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
520
|
-
] = {}
|
|
521
|
-
_body_params: Optional[bytes] = None
|
|
522
|
-
|
|
523
|
-
# process the path parameters
|
|
524
|
-
# process the query parameters
|
|
525
|
-
if workflow_id is not None:
|
|
526
|
-
|
|
527
|
-
_query_params.append(('workflowId', workflow_id))
|
|
528
|
-
|
|
529
|
-
# process the header parameters
|
|
530
|
-
# process the form parameters
|
|
531
|
-
# process the body parameter
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
# set the HTTP header `Accept`
|
|
535
|
-
if 'Accept' not in _header_params:
|
|
536
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
537
|
-
[
|
|
538
|
-
'text/plain',
|
|
539
|
-
'application/json',
|
|
540
|
-
'text/json'
|
|
541
|
-
]
|
|
542
|
-
)
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
# authentication setting
|
|
546
|
-
_auth_settings: List[str] = [
|
|
547
|
-
'bearer',
|
|
548
|
-
'oauth2'
|
|
549
|
-
]
|
|
550
|
-
|
|
551
|
-
return self.api_client.param_serialize(
|
|
552
|
-
method='GET',
|
|
553
|
-
resource_path='/workflow/getbyid',
|
|
554
|
-
path_params=_path_params,
|
|
555
|
-
query_params=_query_params,
|
|
556
|
-
header_params=_header_params,
|
|
557
|
-
body=_body_params,
|
|
558
|
-
post_params=_form_params,
|
|
559
|
-
files=_files,
|
|
560
|
-
auth_settings=_auth_settings,
|
|
561
|
-
collection_formats=_collection_formats,
|
|
562
|
-
_host=_host,
|
|
563
|
-
_request_auth=_request_auth
|
|
564
|
-
)
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
@validate_call
|
|
570
|
-
def workflow_getprogress_get(
|
|
571
|
-
self,
|
|
572
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get the progress for.")] = None,
|
|
573
|
-
_request_timeout: Union[
|
|
574
|
-
None,
|
|
575
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
576
|
-
Tuple[
|
|
577
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
578
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
579
|
-
]
|
|
580
|
-
] = None,
|
|
581
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
582
|
-
_content_type: Optional[StrictStr] = None,
|
|
583
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
584
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
585
|
-
) -> GetWorkflowProgressResult:
|
|
586
|
-
"""(Deprecated) Get the progress of a workflow.
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
590
|
-
:type workflow_id: str
|
|
591
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
592
|
-
number provided, it will be total request
|
|
593
|
-
timeout. It can also be a pair (tuple) of
|
|
594
|
-
(connection, read) timeouts.
|
|
595
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
596
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
597
|
-
request; this effectively ignores the
|
|
598
|
-
authentication in the spec for a single request.
|
|
599
|
-
:type _request_auth: dict, optional
|
|
600
|
-
:param _content_type: force content-type for the request.
|
|
601
|
-
:type _content_type: str, Optional
|
|
602
|
-
:param _headers: set to override the headers for a single
|
|
603
|
-
request; this effectively ignores the headers
|
|
604
|
-
in the spec for a single request.
|
|
605
|
-
:type _headers: dict, optional
|
|
606
|
-
:param _host_index: set to override the host_index for a single
|
|
607
|
-
request; this effectively ignores the host_index
|
|
608
|
-
in the spec for a single request.
|
|
609
|
-
:type _host_index: int, optional
|
|
610
|
-
:return: Returns the result object.
|
|
611
|
-
""" # noqa: E501
|
|
612
|
-
warnings.warn("GET /workflow/getprogress is deprecated.", DeprecationWarning)
|
|
613
|
-
|
|
614
|
-
_param = self._workflow_getprogress_get_serialize(
|
|
615
|
-
workflow_id=workflow_id,
|
|
616
|
-
_request_auth=_request_auth,
|
|
617
|
-
_content_type=_content_type,
|
|
618
|
-
_headers=_headers,
|
|
619
|
-
_host_index=_host_index
|
|
620
|
-
)
|
|
621
|
-
|
|
622
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
623
|
-
'200': "GetWorkflowProgressResult",
|
|
624
|
-
}
|
|
625
|
-
response_data = self.api_client.call_api(
|
|
626
|
-
*_param,
|
|
627
|
-
_request_timeout=_request_timeout
|
|
628
|
-
)
|
|
629
|
-
response_data.read()
|
|
630
|
-
return self.api_client.response_deserialize(
|
|
631
|
-
response_data=response_data,
|
|
632
|
-
response_types_map=_response_types_map,
|
|
633
|
-
).data
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
@validate_call
|
|
637
|
-
def workflow_getprogress_get_with_http_info(
|
|
638
|
-
self,
|
|
639
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get the progress for.")] = None,
|
|
640
|
-
_request_timeout: Union[
|
|
641
|
-
None,
|
|
642
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
643
|
-
Tuple[
|
|
644
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
645
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
646
|
-
]
|
|
647
|
-
] = None,
|
|
648
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
649
|
-
_content_type: Optional[StrictStr] = None,
|
|
650
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
651
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
652
|
-
) -> ApiResponse[GetWorkflowProgressResult]:
|
|
653
|
-
"""(Deprecated) Get the progress of a workflow.
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
657
|
-
:type workflow_id: str
|
|
658
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
659
|
-
number provided, it will be total request
|
|
660
|
-
timeout. It can also be a pair (tuple) of
|
|
661
|
-
(connection, read) timeouts.
|
|
662
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
663
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
664
|
-
request; this effectively ignores the
|
|
665
|
-
authentication in the spec for a single request.
|
|
666
|
-
:type _request_auth: dict, optional
|
|
667
|
-
:param _content_type: force content-type for the request.
|
|
668
|
-
:type _content_type: str, Optional
|
|
669
|
-
:param _headers: set to override the headers for a single
|
|
670
|
-
request; this effectively ignores the headers
|
|
671
|
-
in the spec for a single request.
|
|
672
|
-
:type _headers: dict, optional
|
|
673
|
-
:param _host_index: set to override the host_index for a single
|
|
674
|
-
request; this effectively ignores the host_index
|
|
675
|
-
in the spec for a single request.
|
|
676
|
-
:type _host_index: int, optional
|
|
677
|
-
:return: Returns the result object.
|
|
678
|
-
""" # noqa: E501
|
|
679
|
-
warnings.warn("GET /workflow/getprogress is deprecated.", DeprecationWarning)
|
|
680
|
-
|
|
681
|
-
_param = self._workflow_getprogress_get_serialize(
|
|
682
|
-
workflow_id=workflow_id,
|
|
683
|
-
_request_auth=_request_auth,
|
|
684
|
-
_content_type=_content_type,
|
|
685
|
-
_headers=_headers,
|
|
686
|
-
_host_index=_host_index
|
|
687
|
-
)
|
|
688
|
-
|
|
689
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
690
|
-
'200': "GetWorkflowProgressResult",
|
|
691
|
-
}
|
|
692
|
-
response_data = self.api_client.call_api(
|
|
693
|
-
*_param,
|
|
694
|
-
_request_timeout=_request_timeout
|
|
695
|
-
)
|
|
696
|
-
response_data.read()
|
|
697
|
-
return self.api_client.response_deserialize(
|
|
698
|
-
response_data=response_data,
|
|
699
|
-
response_types_map=_response_types_map,
|
|
700
|
-
)
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
@validate_call
|
|
704
|
-
def workflow_getprogress_get_without_preload_content(
|
|
705
|
-
self,
|
|
706
|
-
workflow_id: Annotated[Optional[StrictStr], Field(description="The ID of the workflow to get the progress for.")] = None,
|
|
707
|
-
_request_timeout: Union[
|
|
708
|
-
None,
|
|
709
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
710
|
-
Tuple[
|
|
711
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
712
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
713
|
-
]
|
|
714
|
-
] = None,
|
|
715
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
716
|
-
_content_type: Optional[StrictStr] = None,
|
|
717
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
718
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
719
|
-
) -> RESTResponseType:
|
|
720
|
-
"""(Deprecated) Get the progress of a workflow.
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
724
|
-
:type workflow_id: str
|
|
725
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
726
|
-
number provided, it will be total request
|
|
727
|
-
timeout. It can also be a pair (tuple) of
|
|
728
|
-
(connection, read) timeouts.
|
|
729
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
730
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
731
|
-
request; this effectively ignores the
|
|
732
|
-
authentication in the spec for a single request.
|
|
733
|
-
:type _request_auth: dict, optional
|
|
734
|
-
:param _content_type: force content-type for the request.
|
|
735
|
-
:type _content_type: str, Optional
|
|
736
|
-
:param _headers: set to override the headers for a single
|
|
737
|
-
request; this effectively ignores the headers
|
|
738
|
-
in the spec for a single request.
|
|
739
|
-
:type _headers: dict, optional
|
|
740
|
-
:param _host_index: set to override the host_index for a single
|
|
741
|
-
request; this effectively ignores the host_index
|
|
742
|
-
in the spec for a single request.
|
|
743
|
-
:type _host_index: int, optional
|
|
744
|
-
:return: Returns the result object.
|
|
745
|
-
""" # noqa: E501
|
|
746
|
-
warnings.warn("GET /workflow/getprogress is deprecated.", DeprecationWarning)
|
|
747
|
-
|
|
748
|
-
_param = self._workflow_getprogress_get_serialize(
|
|
749
|
-
workflow_id=workflow_id,
|
|
750
|
-
_request_auth=_request_auth,
|
|
751
|
-
_content_type=_content_type,
|
|
752
|
-
_headers=_headers,
|
|
753
|
-
_host_index=_host_index
|
|
754
|
-
)
|
|
755
|
-
|
|
756
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
757
|
-
'200': "GetWorkflowProgressResult",
|
|
758
|
-
}
|
|
759
|
-
response_data = self.api_client.call_api(
|
|
760
|
-
*_param,
|
|
761
|
-
_request_timeout=_request_timeout
|
|
762
|
-
)
|
|
763
|
-
return response_data.response
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
def _workflow_getprogress_get_serialize(
|
|
767
|
-
self,
|
|
768
|
-
workflow_id,
|
|
769
|
-
_request_auth,
|
|
770
|
-
_content_type,
|
|
771
|
-
_headers,
|
|
772
|
-
_host_index,
|
|
773
|
-
) -> RequestSerialized:
|
|
774
|
-
|
|
775
|
-
_host = None
|
|
776
|
-
|
|
777
|
-
_collection_formats: Dict[str, str] = {
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
_path_params: Dict[str, str] = {}
|
|
781
|
-
_query_params: List[Tuple[str, str]] = []
|
|
782
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
783
|
-
_form_params: List[Tuple[str, str]] = []
|
|
784
|
-
_files: Dict[
|
|
785
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
786
|
-
] = {}
|
|
787
|
-
_body_params: Optional[bytes] = None
|
|
788
|
-
|
|
789
|
-
# process the path parameters
|
|
790
|
-
# process the query parameters
|
|
791
|
-
if workflow_id is not None:
|
|
792
|
-
|
|
793
|
-
_query_params.append(('workflowId', workflow_id))
|
|
794
|
-
|
|
795
|
-
# process the header parameters
|
|
796
|
-
# process the form parameters
|
|
797
|
-
# process the body parameter
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
# set the HTTP header `Accept`
|
|
801
|
-
if 'Accept' not in _header_params:
|
|
802
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
803
|
-
[
|
|
804
|
-
'text/plain',
|
|
805
|
-
'application/json',
|
|
806
|
-
'text/json'
|
|
807
|
-
]
|
|
808
|
-
)
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
# authentication setting
|
|
812
|
-
_auth_settings: List[str] = [
|
|
813
|
-
'bearer',
|
|
814
|
-
'oauth2'
|
|
815
|
-
]
|
|
816
|
-
|
|
817
|
-
return self.api_client.param_serialize(
|
|
818
|
-
method='GET',
|
|
819
|
-
resource_path='/workflow/getprogress',
|
|
820
|
-
path_params=_path_params,
|
|
821
|
-
query_params=_query_params,
|
|
822
|
-
header_params=_header_params,
|
|
823
|
-
body=_body_params,
|
|
824
|
-
post_params=_form_params,
|
|
825
|
-
files=_files,
|
|
826
|
-
auth_settings=_auth_settings,
|
|
827
|
-
collection_formats=_collection_formats,
|
|
828
|
-
_host=_host,
|
|
829
|
-
_request_auth=_request_auth
|
|
830
|
-
)
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
@validate_call
|
|
836
|
-
def workflow_query_get(
|
|
837
|
-
self,
|
|
838
|
-
request: Annotated[Optional[QueryWorkflowsModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
839
|
-
_request_timeout: Union[
|
|
840
|
-
None,
|
|
841
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
842
|
-
Tuple[
|
|
843
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
844
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
845
|
-
]
|
|
846
|
-
] = None,
|
|
847
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
848
|
-
_content_type: Optional[StrictStr] = None,
|
|
849
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
850
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
851
|
-
) -> IWorkflowModelPagedResult:
|
|
852
|
-
"""(Deprecated) Queries workflows based on the provided filter, page, and sort criteria.
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
:param request: The model containing the filter, page, and sort criteria.
|
|
856
|
-
:type request: QueryWorkflowsModel
|
|
857
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
858
|
-
number provided, it will be total request
|
|
859
|
-
timeout. It can also be a pair (tuple) of
|
|
860
|
-
(connection, read) timeouts.
|
|
861
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
862
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
863
|
-
request; this effectively ignores the
|
|
864
|
-
authentication in the spec for a single request.
|
|
865
|
-
:type _request_auth: dict, optional
|
|
866
|
-
:param _content_type: force content-type for the request.
|
|
867
|
-
:type _content_type: str, Optional
|
|
868
|
-
:param _headers: set to override the headers for a single
|
|
869
|
-
request; this effectively ignores the headers
|
|
870
|
-
in the spec for a single request.
|
|
871
|
-
:type _headers: dict, optional
|
|
872
|
-
:param _host_index: set to override the host_index for a single
|
|
873
|
-
request; this effectively ignores the host_index
|
|
874
|
-
in the spec for a single request.
|
|
875
|
-
:type _host_index: int, optional
|
|
876
|
-
:return: Returns the result object.
|
|
877
|
-
""" # noqa: E501
|
|
878
|
-
warnings.warn("GET /workflow/query is deprecated.", DeprecationWarning)
|
|
879
|
-
|
|
880
|
-
_param = self._workflow_query_get_serialize(
|
|
881
|
-
request=request,
|
|
882
|
-
_request_auth=_request_auth,
|
|
883
|
-
_content_type=_content_type,
|
|
884
|
-
_headers=_headers,
|
|
885
|
-
_host_index=_host_index
|
|
886
|
-
)
|
|
887
|
-
|
|
888
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
889
|
-
'200': "IWorkflowModelPagedResult",
|
|
890
|
-
}
|
|
891
|
-
response_data = self.api_client.call_api(
|
|
892
|
-
*_param,
|
|
893
|
-
_request_timeout=_request_timeout
|
|
894
|
-
)
|
|
895
|
-
response_data.read()
|
|
896
|
-
return self.api_client.response_deserialize(
|
|
897
|
-
response_data=response_data,
|
|
898
|
-
response_types_map=_response_types_map,
|
|
899
|
-
).data
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
@validate_call
|
|
903
|
-
def workflow_query_get_with_http_info(
|
|
904
|
-
self,
|
|
905
|
-
request: Annotated[Optional[QueryWorkflowsModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
906
|
-
_request_timeout: Union[
|
|
907
|
-
None,
|
|
908
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
909
|
-
Tuple[
|
|
910
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
911
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
912
|
-
]
|
|
913
|
-
] = None,
|
|
914
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
915
|
-
_content_type: Optional[StrictStr] = None,
|
|
916
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
917
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
918
|
-
) -> ApiResponse[IWorkflowModelPagedResult]:
|
|
919
|
-
"""(Deprecated) Queries workflows based on the provided filter, page, and sort criteria.
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
:param request: The model containing the filter, page, and sort criteria.
|
|
923
|
-
:type request: QueryWorkflowsModel
|
|
924
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
925
|
-
number provided, it will be total request
|
|
926
|
-
timeout. It can also be a pair (tuple) of
|
|
927
|
-
(connection, read) timeouts.
|
|
928
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
929
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
930
|
-
request; this effectively ignores the
|
|
931
|
-
authentication in the spec for a single request.
|
|
932
|
-
:type _request_auth: dict, optional
|
|
933
|
-
:param _content_type: force content-type for the request.
|
|
934
|
-
:type _content_type: str, Optional
|
|
935
|
-
:param _headers: set to override the headers for a single
|
|
936
|
-
request; this effectively ignores the headers
|
|
937
|
-
in the spec for a single request.
|
|
938
|
-
:type _headers: dict, optional
|
|
939
|
-
:param _host_index: set to override the host_index for a single
|
|
940
|
-
request; this effectively ignores the host_index
|
|
941
|
-
in the spec for a single request.
|
|
942
|
-
:type _host_index: int, optional
|
|
943
|
-
:return: Returns the result object.
|
|
944
|
-
""" # noqa: E501
|
|
945
|
-
warnings.warn("GET /workflow/query is deprecated.", DeprecationWarning)
|
|
946
|
-
|
|
947
|
-
_param = self._workflow_query_get_serialize(
|
|
948
|
-
request=request,
|
|
949
|
-
_request_auth=_request_auth,
|
|
950
|
-
_content_type=_content_type,
|
|
951
|
-
_headers=_headers,
|
|
952
|
-
_host_index=_host_index
|
|
953
|
-
)
|
|
954
|
-
|
|
955
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
956
|
-
'200': "IWorkflowModelPagedResult",
|
|
957
|
-
}
|
|
958
|
-
response_data = self.api_client.call_api(
|
|
959
|
-
*_param,
|
|
960
|
-
_request_timeout=_request_timeout
|
|
961
|
-
)
|
|
962
|
-
response_data.read()
|
|
963
|
-
return self.api_client.response_deserialize(
|
|
964
|
-
response_data=response_data,
|
|
965
|
-
response_types_map=_response_types_map,
|
|
966
|
-
)
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
@validate_call
|
|
970
|
-
def workflow_query_get_without_preload_content(
|
|
971
|
-
self,
|
|
972
|
-
request: Annotated[Optional[QueryWorkflowsModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
973
|
-
_request_timeout: Union[
|
|
974
|
-
None,
|
|
975
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
976
|
-
Tuple[
|
|
977
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
978
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
979
|
-
]
|
|
980
|
-
] = None,
|
|
981
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
982
|
-
_content_type: Optional[StrictStr] = None,
|
|
983
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
984
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
985
|
-
) -> RESTResponseType:
|
|
986
|
-
"""(Deprecated) Queries workflows based on the provided filter, page, and sort criteria.
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
:param request: The model containing the filter, page, and sort criteria.
|
|
990
|
-
:type request: QueryWorkflowsModel
|
|
991
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
992
|
-
number provided, it will be total request
|
|
993
|
-
timeout. It can also be a pair (tuple) of
|
|
994
|
-
(connection, read) timeouts.
|
|
995
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
996
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
997
|
-
request; this effectively ignores the
|
|
998
|
-
authentication in the spec for a single request.
|
|
999
|
-
:type _request_auth: dict, optional
|
|
1000
|
-
:param _content_type: force content-type for the request.
|
|
1001
|
-
:type _content_type: str, Optional
|
|
1002
|
-
:param _headers: set to override the headers for a single
|
|
1003
|
-
request; this effectively ignores the headers
|
|
1004
|
-
in the spec for a single request.
|
|
1005
|
-
:type _headers: dict, optional
|
|
1006
|
-
:param _host_index: set to override the host_index for a single
|
|
1007
|
-
request; this effectively ignores the host_index
|
|
1008
|
-
in the spec for a single request.
|
|
1009
|
-
:type _host_index: int, optional
|
|
1010
|
-
:return: Returns the result object.
|
|
1011
|
-
""" # noqa: E501
|
|
1012
|
-
warnings.warn("GET /workflow/query is deprecated.", DeprecationWarning)
|
|
1013
|
-
|
|
1014
|
-
_param = self._workflow_query_get_serialize(
|
|
1015
|
-
request=request,
|
|
1016
|
-
_request_auth=_request_auth,
|
|
1017
|
-
_content_type=_content_type,
|
|
1018
|
-
_headers=_headers,
|
|
1019
|
-
_host_index=_host_index
|
|
1020
|
-
)
|
|
1021
|
-
|
|
1022
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1023
|
-
'200': "IWorkflowModelPagedResult",
|
|
1024
|
-
}
|
|
1025
|
-
response_data = self.api_client.call_api(
|
|
1026
|
-
*_param,
|
|
1027
|
-
_request_timeout=_request_timeout
|
|
1028
|
-
)
|
|
1029
|
-
return response_data.response
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
def _workflow_query_get_serialize(
|
|
1033
|
-
self,
|
|
1034
|
-
request,
|
|
1035
|
-
_request_auth,
|
|
1036
|
-
_content_type,
|
|
1037
|
-
_headers,
|
|
1038
|
-
_host_index,
|
|
1039
|
-
) -> RequestSerialized:
|
|
1040
|
-
|
|
1041
|
-
_host = None
|
|
1042
|
-
|
|
1043
|
-
_collection_formats: Dict[str, str] = {
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
_path_params: Dict[str, str] = {}
|
|
1047
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1048
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1049
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1050
|
-
_files: Dict[
|
|
1051
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1052
|
-
] = {}
|
|
1053
|
-
_body_params: Optional[bytes] = None
|
|
1054
|
-
|
|
1055
|
-
# process the path parameters
|
|
1056
|
-
# process the query parameters
|
|
1057
|
-
if request is not None:
|
|
1058
|
-
|
|
1059
|
-
_query_params.append(('request', request))
|
|
1060
|
-
|
|
1061
|
-
# process the header parameters
|
|
1062
|
-
# process the form parameters
|
|
1063
|
-
# process the body parameter
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
# set the HTTP header `Accept`
|
|
1067
|
-
if 'Accept' not in _header_params:
|
|
1068
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1069
|
-
[
|
|
1070
|
-
'text/plain',
|
|
1071
|
-
'application/json',
|
|
1072
|
-
'text/json'
|
|
1073
|
-
]
|
|
1074
|
-
)
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
# authentication setting
|
|
1078
|
-
_auth_settings: List[str] = [
|
|
1079
|
-
'bearer',
|
|
1080
|
-
'oauth2'
|
|
1081
|
-
]
|
|
1082
|
-
|
|
1083
|
-
return self.api_client.param_serialize(
|
|
1084
|
-
method='GET',
|
|
1085
|
-
resource_path='/workflow/query',
|
|
1086
|
-
path_params=_path_params,
|
|
1087
|
-
query_params=_query_params,
|
|
1088
|
-
header_params=_header_params,
|
|
1089
|
-
body=_body_params,
|
|
1090
|
-
post_params=_form_params,
|
|
1091
|
-
files=_files,
|
|
1092
|
-
auth_settings=_auth_settings,
|
|
1093
|
-
collection_formats=_collection_formats,
|
|
1094
|
-
_host=_host,
|
|
1095
|
-
_request_auth=_request_auth
|
|
1096
|
-
)
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
302
|
@validate_call
|
|
1102
303
|
def workflow_workflow_id_compare_ab_summary_get(
|
|
1103
304
|
self,
|