rapidata 0.4.1__py3-none-any.whl → 0.5.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.
Files changed (41) hide show
  1. rapidata/__init__.py +4 -3
  2. rapidata/api_client/__init__.py +22 -12
  3. rapidata/api_client/api/__init__.py +2 -0
  4. rapidata/api_client/api/campaign_api.py +1044 -0
  5. rapidata/api_client/api/order_api.py +0 -556
  6. rapidata/api_client/api/pipeline_api.py +843 -0
  7. rapidata/api_client/models/__init__.py +20 -12
  8. rapidata/api_client/models/add_campaign_artifact_result.py +87 -0
  9. rapidata/api_client/models/add_campaign_model.py +149 -0
  10. rapidata/api_client/models/campaign_artifact_model.py +98 -0
  11. rapidata/api_client/models/campaign_query_model.py +105 -0
  12. rapidata/api_client/models/campaign_query_model_paged_result.py +105 -0
  13. rapidata/api_client/models/campaign_status.py +39 -0
  14. rapidata/api_client/models/compare_workflow_config.py +2 -12
  15. rapidata/api_client/models/compare_workflow_config_model.py +138 -0
  16. rapidata/api_client/models/conditional_validation_selection.py +106 -0
  17. rapidata/api_client/models/create_order_model_selections_inner.py +26 -12
  18. rapidata/api_client/models/dataset_artifact_model.py +98 -0
  19. rapidata/api_client/models/demographic_rapid_selection_config.py +7 -5
  20. rapidata/api_client/models/demographic_selection.py +7 -5
  21. rapidata/api_client/models/file_artifact_model.py +98 -0
  22. rapidata/api_client/models/get_pipeline_by_id_result.py +100 -0
  23. rapidata/api_client/models/get_pipeline_by_id_result_artifacts_value.py +182 -0
  24. rapidata/api_client/models/query_campaigns_model.py +112 -0
  25. rapidata/api_client/models/simple_workflow_config.py +2 -12
  26. rapidata/api_client/models/simple_workflow_config_model.py +132 -0
  27. rapidata/api_client/models/simple_workflow_config_model_blueprint.py +238 -0
  28. rapidata/api_client/models/update_workflow_config_request.py +107 -0
  29. rapidata/api_client/models/update_workflow_config_request_config.py +140 -0
  30. rapidata/api_client/models/workflow_artifact_model.py +98 -0
  31. rapidata/api_client/models/workflow_config_artifact_model.py +102 -0
  32. rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +140 -0
  33. rapidata/api_client_README.md +31 -21
  34. rapidata/rapidata_client/__init__.py +6 -1
  35. rapidata/rapidata_client/selection/__init__.py +1 -0
  36. rapidata/rapidata_client/selection/conditional_validation_selection.py +37 -0
  37. rapidata/rapidata_client/selection/demographic_selection.py +3 -5
  38. {rapidata-0.4.1.dist-info → rapidata-0.5.1.dist-info}/METADATA +1 -1
  39. {rapidata-0.4.1.dist-info → rapidata-0.5.1.dist-info}/RECORD +41 -18
  40. {rapidata-0.4.1.dist-info → rapidata-0.5.1.dist-info}/LICENSE +0 -0
  41. {rapidata-0.4.1.dist-info → rapidata-0.5.1.dist-info}/WHEEL +0 -0
@@ -30,13 +30,11 @@ from rapidata.api_client.models.feedback_model import FeedbackModel
30
30
  from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
31
31
  from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
32
32
  from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
33
- from rapidata.api_client.models.get_workflow_config_result import GetWorkflowConfigResult
34
33
  from rapidata.api_client.models.order_query_get200_response import OrderQueryGet200Response
35
34
  from rapidata.api_client.models.query_orders_model import QueryOrdersModel
36
35
  from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
37
36
  from rapidata.api_client.models.update_access_model import UpdateAccessModel
38
37
  from rapidata.api_client.models.update_order_model import UpdateOrderModel
39
- from rapidata.api_client.models.update_workflow_config_model import UpdateWorkflowConfigModel
40
38
 
41
39
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
42
40
  from rapidata.api_client.api_response import ApiResponse
@@ -2694,288 +2692,6 @@ class OrderApi:
2694
2692
 
2695
2693
 
2696
2694
 
2697
- @validate_call
2698
- def order_get_workflow_config_get(
2699
- self,
2700
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
2701
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2702
- _request_timeout: Union[
2703
- None,
2704
- Annotated[StrictFloat, Field(gt=0)],
2705
- Tuple[
2706
- Annotated[StrictFloat, Field(gt=0)],
2707
- Annotated[StrictFloat, Field(gt=0)]
2708
- ]
2709
- ] = None,
2710
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2711
- _content_type: Optional[StrictStr] = None,
2712
- _headers: Optional[Dict[StrictStr, Any]] = None,
2713
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2714
- ) -> GetWorkflowConfigResult:
2715
- """Retrieves the workflow configuration for an order.
2716
-
2717
- A workflow configuration defines how rapids are created, processed, and aggregated.
2718
-
2719
- :param order_id: The id of the order
2720
- :type order_id: str
2721
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
2722
- :type artifact_identifier: str
2723
- :param _request_timeout: timeout setting for this request. If one
2724
- number provided, it will be total request
2725
- timeout. It can also be a pair (tuple) of
2726
- (connection, read) timeouts.
2727
- :type _request_timeout: int, tuple(int, int), optional
2728
- :param _request_auth: set to override the auth_settings for an a single
2729
- request; this effectively ignores the
2730
- authentication in the spec for a single request.
2731
- :type _request_auth: dict, optional
2732
- :param _content_type: force content-type for the request.
2733
- :type _content_type: str, Optional
2734
- :param _headers: set to override the headers for a single
2735
- request; this effectively ignores the headers
2736
- in the spec for a single request.
2737
- :type _headers: dict, optional
2738
- :param _host_index: set to override the host_index for a single
2739
- request; this effectively ignores the host_index
2740
- in the spec for a single request.
2741
- :type _host_index: int, optional
2742
- :return: Returns the result object.
2743
- """ # noqa: E501
2744
-
2745
- _param = self._order_get_workflow_config_get_serialize(
2746
- order_id=order_id,
2747
- artifact_identifier=artifact_identifier,
2748
- _request_auth=_request_auth,
2749
- _content_type=_content_type,
2750
- _headers=_headers,
2751
- _host_index=_host_index
2752
- )
2753
-
2754
- _response_types_map: Dict[str, Optional[str]] = {
2755
- '200': "GetWorkflowConfigResult",
2756
- }
2757
- response_data = self.api_client.call_api(
2758
- *_param,
2759
- _request_timeout=_request_timeout
2760
- )
2761
- response_data.read()
2762
- return self.api_client.response_deserialize(
2763
- response_data=response_data,
2764
- response_types_map=_response_types_map,
2765
- ).data
2766
-
2767
-
2768
- @validate_call
2769
- def order_get_workflow_config_get_with_http_info(
2770
- self,
2771
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
2772
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2773
- _request_timeout: Union[
2774
- None,
2775
- Annotated[StrictFloat, Field(gt=0)],
2776
- Tuple[
2777
- Annotated[StrictFloat, Field(gt=0)],
2778
- Annotated[StrictFloat, Field(gt=0)]
2779
- ]
2780
- ] = None,
2781
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2782
- _content_type: Optional[StrictStr] = None,
2783
- _headers: Optional[Dict[StrictStr, Any]] = None,
2784
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2785
- ) -> ApiResponse[GetWorkflowConfigResult]:
2786
- """Retrieves the workflow configuration for an order.
2787
-
2788
- A workflow configuration defines how rapids are created, processed, and aggregated.
2789
-
2790
- :param order_id: The id of the order
2791
- :type order_id: str
2792
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
2793
- :type artifact_identifier: str
2794
- :param _request_timeout: timeout setting for this request. If one
2795
- number provided, it will be total request
2796
- timeout. It can also be a pair (tuple) of
2797
- (connection, read) timeouts.
2798
- :type _request_timeout: int, tuple(int, int), optional
2799
- :param _request_auth: set to override the auth_settings for an a single
2800
- request; this effectively ignores the
2801
- authentication in the spec for a single request.
2802
- :type _request_auth: dict, optional
2803
- :param _content_type: force content-type for the request.
2804
- :type _content_type: str, Optional
2805
- :param _headers: set to override the headers for a single
2806
- request; this effectively ignores the headers
2807
- in the spec for a single request.
2808
- :type _headers: dict, optional
2809
- :param _host_index: set to override the host_index for a single
2810
- request; this effectively ignores the host_index
2811
- in the spec for a single request.
2812
- :type _host_index: int, optional
2813
- :return: Returns the result object.
2814
- """ # noqa: E501
2815
-
2816
- _param = self._order_get_workflow_config_get_serialize(
2817
- order_id=order_id,
2818
- artifact_identifier=artifact_identifier,
2819
- _request_auth=_request_auth,
2820
- _content_type=_content_type,
2821
- _headers=_headers,
2822
- _host_index=_host_index
2823
- )
2824
-
2825
- _response_types_map: Dict[str, Optional[str]] = {
2826
- '200': "GetWorkflowConfigResult",
2827
- }
2828
- response_data = self.api_client.call_api(
2829
- *_param,
2830
- _request_timeout=_request_timeout
2831
- )
2832
- response_data.read()
2833
- return self.api_client.response_deserialize(
2834
- response_data=response_data,
2835
- response_types_map=_response_types_map,
2836
- )
2837
-
2838
-
2839
- @validate_call
2840
- def order_get_workflow_config_get_without_preload_content(
2841
- self,
2842
- order_id: Annotated[Optional[StrictStr], Field(description="The id of the order")] = None,
2843
- artifact_identifier: Annotated[Optional[StrictStr], Field(description="The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.")] = None,
2844
- _request_timeout: Union[
2845
- None,
2846
- Annotated[StrictFloat, Field(gt=0)],
2847
- Tuple[
2848
- Annotated[StrictFloat, Field(gt=0)],
2849
- Annotated[StrictFloat, Field(gt=0)]
2850
- ]
2851
- ] = None,
2852
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2853
- _content_type: Optional[StrictStr] = None,
2854
- _headers: Optional[Dict[StrictStr, Any]] = None,
2855
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2856
- ) -> RESTResponseType:
2857
- """Retrieves the workflow configuration for an order.
2858
-
2859
- A workflow configuration defines how rapids are created, processed, and aggregated.
2860
-
2861
- :param order_id: The id of the order
2862
- :type order_id: str
2863
- :param artifact_identifier: The identifier of the workflow config artifact in the pipeline. If using the default pipeline this is not needed.
2864
- :type artifact_identifier: str
2865
- :param _request_timeout: timeout setting for this request. If one
2866
- number provided, it will be total request
2867
- timeout. It can also be a pair (tuple) of
2868
- (connection, read) timeouts.
2869
- :type _request_timeout: int, tuple(int, int), optional
2870
- :param _request_auth: set to override the auth_settings for an a single
2871
- request; this effectively ignores the
2872
- authentication in the spec for a single request.
2873
- :type _request_auth: dict, optional
2874
- :param _content_type: force content-type for the request.
2875
- :type _content_type: str, Optional
2876
- :param _headers: set to override the headers for a single
2877
- request; this effectively ignores the headers
2878
- in the spec for a single request.
2879
- :type _headers: dict, optional
2880
- :param _host_index: set to override the host_index for a single
2881
- request; this effectively ignores the host_index
2882
- in the spec for a single request.
2883
- :type _host_index: int, optional
2884
- :return: Returns the result object.
2885
- """ # noqa: E501
2886
-
2887
- _param = self._order_get_workflow_config_get_serialize(
2888
- order_id=order_id,
2889
- artifact_identifier=artifact_identifier,
2890
- _request_auth=_request_auth,
2891
- _content_type=_content_type,
2892
- _headers=_headers,
2893
- _host_index=_host_index
2894
- )
2895
-
2896
- _response_types_map: Dict[str, Optional[str]] = {
2897
- '200': "GetWorkflowConfigResult",
2898
- }
2899
- response_data = self.api_client.call_api(
2900
- *_param,
2901
- _request_timeout=_request_timeout
2902
- )
2903
- return response_data.response
2904
-
2905
-
2906
- def _order_get_workflow_config_get_serialize(
2907
- self,
2908
- order_id,
2909
- artifact_identifier,
2910
- _request_auth,
2911
- _content_type,
2912
- _headers,
2913
- _host_index,
2914
- ) -> RequestSerialized:
2915
-
2916
- _host = None
2917
-
2918
- _collection_formats: Dict[str, str] = {
2919
- }
2920
-
2921
- _path_params: Dict[str, str] = {}
2922
- _query_params: List[Tuple[str, str]] = []
2923
- _header_params: Dict[str, Optional[str]] = _headers or {}
2924
- _form_params: List[Tuple[str, str]] = []
2925
- _files: Dict[
2926
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2927
- ] = {}
2928
- _body_params: Optional[bytes] = None
2929
-
2930
- # process the path parameters
2931
- # process the query parameters
2932
- if order_id is not None:
2933
-
2934
- _query_params.append(('OrderId', order_id))
2935
-
2936
- if artifact_identifier is not None:
2937
-
2938
- _query_params.append(('ArtifactIdentifier', artifact_identifier))
2939
-
2940
- # process the header parameters
2941
- # process the form parameters
2942
- # process the body parameter
2943
-
2944
-
2945
- # set the HTTP header `Accept`
2946
- if 'Accept' not in _header_params:
2947
- _header_params['Accept'] = self.api_client.select_header_accept(
2948
- [
2949
- 'text/plain',
2950
- 'application/json',
2951
- 'text/json'
2952
- ]
2953
- )
2954
-
2955
-
2956
- # authentication setting
2957
- _auth_settings: List[str] = [
2958
- 'bearer'
2959
- ]
2960
-
2961
- return self.api_client.param_serialize(
2962
- method='GET',
2963
- resource_path='/Order/GetWorkflowConfig',
2964
- path_params=_path_params,
2965
- query_params=_query_params,
2966
- header_params=_header_params,
2967
- body=_body_params,
2968
- post_params=_form_params,
2969
- files=_files,
2970
- auth_settings=_auth_settings,
2971
- collection_formats=_collection_formats,
2972
- _host=_host,
2973
- _request_auth=_request_auth
2974
- )
2975
-
2976
-
2977
-
2978
-
2979
2695
  @validate_call
2980
2696
  def order_pause_post(
2981
2697
  self,
@@ -5595,275 +5311,3 @@ class OrderApi:
5595
5311
  )
5596
5312
 
5597
5313
 
5598
-
5599
-
5600
- @validate_call
5601
- def order_update_workflow_config_put(
5602
- self,
5603
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5604
- _request_timeout: Union[
5605
- None,
5606
- Annotated[StrictFloat, Field(gt=0)],
5607
- Tuple[
5608
- Annotated[StrictFloat, Field(gt=0)],
5609
- Annotated[StrictFloat, Field(gt=0)]
5610
- ]
5611
- ] = None,
5612
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5613
- _content_type: Optional[StrictStr] = None,
5614
- _headers: Optional[Dict[StrictStr, Any]] = None,
5615
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5616
- ) -> None:
5617
- """(Deprecated) Updates the workflow configuration of an order.
5618
-
5619
- A workflow configuration defines how rapids are created, processed, and aggregated.
5620
-
5621
- :param update_workflow_config_model: The body content of the request
5622
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5623
- :param _request_timeout: timeout setting for this request. If one
5624
- number provided, it will be total request
5625
- timeout. It can also be a pair (tuple) of
5626
- (connection, read) timeouts.
5627
- :type _request_timeout: int, tuple(int, int), optional
5628
- :param _request_auth: set to override the auth_settings for an a single
5629
- request; this effectively ignores the
5630
- authentication in the spec for a single request.
5631
- :type _request_auth: dict, optional
5632
- :param _content_type: force content-type for the request.
5633
- :type _content_type: str, Optional
5634
- :param _headers: set to override the headers for a single
5635
- request; this effectively ignores the headers
5636
- in the spec for a single request.
5637
- :type _headers: dict, optional
5638
- :param _host_index: set to override the host_index for a single
5639
- request; this effectively ignores the host_index
5640
- in the spec for a single request.
5641
- :type _host_index: int, optional
5642
- :return: Returns the result object.
5643
- """ # noqa: E501
5644
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5645
-
5646
- _param = self._order_update_workflow_config_put_serialize(
5647
- update_workflow_config_model=update_workflow_config_model,
5648
- _request_auth=_request_auth,
5649
- _content_type=_content_type,
5650
- _headers=_headers,
5651
- _host_index=_host_index
5652
- )
5653
-
5654
- _response_types_map: Dict[str, Optional[str]] = {
5655
- '200': None,
5656
- }
5657
- response_data = self.api_client.call_api(
5658
- *_param,
5659
- _request_timeout=_request_timeout
5660
- )
5661
- response_data.read()
5662
- return self.api_client.response_deserialize(
5663
- response_data=response_data,
5664
- response_types_map=_response_types_map,
5665
- ).data
5666
-
5667
-
5668
- @validate_call
5669
- def order_update_workflow_config_put_with_http_info(
5670
- self,
5671
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5672
- _request_timeout: Union[
5673
- None,
5674
- Annotated[StrictFloat, Field(gt=0)],
5675
- Tuple[
5676
- Annotated[StrictFloat, Field(gt=0)],
5677
- Annotated[StrictFloat, Field(gt=0)]
5678
- ]
5679
- ] = None,
5680
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5681
- _content_type: Optional[StrictStr] = None,
5682
- _headers: Optional[Dict[StrictStr, Any]] = None,
5683
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5684
- ) -> ApiResponse[None]:
5685
- """(Deprecated) Updates the workflow configuration of an order.
5686
-
5687
- A workflow configuration defines how rapids are created, processed, and aggregated.
5688
-
5689
- :param update_workflow_config_model: The body content of the request
5690
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5691
- :param _request_timeout: timeout setting for this request. If one
5692
- number provided, it will be total request
5693
- timeout. It can also be a pair (tuple) of
5694
- (connection, read) timeouts.
5695
- :type _request_timeout: int, tuple(int, int), optional
5696
- :param _request_auth: set to override the auth_settings for an a single
5697
- request; this effectively ignores the
5698
- authentication in the spec for a single request.
5699
- :type _request_auth: dict, optional
5700
- :param _content_type: force content-type for the request.
5701
- :type _content_type: str, Optional
5702
- :param _headers: set to override the headers for a single
5703
- request; this effectively ignores the headers
5704
- in the spec for a single request.
5705
- :type _headers: dict, optional
5706
- :param _host_index: set to override the host_index for a single
5707
- request; this effectively ignores the host_index
5708
- in the spec for a single request.
5709
- :type _host_index: int, optional
5710
- :return: Returns the result object.
5711
- """ # noqa: E501
5712
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5713
-
5714
- _param = self._order_update_workflow_config_put_serialize(
5715
- update_workflow_config_model=update_workflow_config_model,
5716
- _request_auth=_request_auth,
5717
- _content_type=_content_type,
5718
- _headers=_headers,
5719
- _host_index=_host_index
5720
- )
5721
-
5722
- _response_types_map: Dict[str, Optional[str]] = {
5723
- '200': None,
5724
- }
5725
- response_data = self.api_client.call_api(
5726
- *_param,
5727
- _request_timeout=_request_timeout
5728
- )
5729
- response_data.read()
5730
- return self.api_client.response_deserialize(
5731
- response_data=response_data,
5732
- response_types_map=_response_types_map,
5733
- )
5734
-
5735
-
5736
- @validate_call
5737
- def order_update_workflow_config_put_without_preload_content(
5738
- self,
5739
- update_workflow_config_model: Annotated[Optional[UpdateWorkflowConfigModel], Field(description="The body content of the request")] = None,
5740
- _request_timeout: Union[
5741
- None,
5742
- Annotated[StrictFloat, Field(gt=0)],
5743
- Tuple[
5744
- Annotated[StrictFloat, Field(gt=0)],
5745
- Annotated[StrictFloat, Field(gt=0)]
5746
- ]
5747
- ] = None,
5748
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
5749
- _content_type: Optional[StrictStr] = None,
5750
- _headers: Optional[Dict[StrictStr, Any]] = None,
5751
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
5752
- ) -> RESTResponseType:
5753
- """(Deprecated) Updates the workflow configuration of an order.
5754
-
5755
- A workflow configuration defines how rapids are created, processed, and aggregated.
5756
-
5757
- :param update_workflow_config_model: The body content of the request
5758
- :type update_workflow_config_model: UpdateWorkflowConfigModel
5759
- :param _request_timeout: timeout setting for this request. If one
5760
- number provided, it will be total request
5761
- timeout. It can also be a pair (tuple) of
5762
- (connection, read) timeouts.
5763
- :type _request_timeout: int, tuple(int, int), optional
5764
- :param _request_auth: set to override the auth_settings for an a single
5765
- request; this effectively ignores the
5766
- authentication in the spec for a single request.
5767
- :type _request_auth: dict, optional
5768
- :param _content_type: force content-type for the request.
5769
- :type _content_type: str, Optional
5770
- :param _headers: set to override the headers for a single
5771
- request; this effectively ignores the headers
5772
- in the spec for a single request.
5773
- :type _headers: dict, optional
5774
- :param _host_index: set to override the host_index for a single
5775
- request; this effectively ignores the host_index
5776
- in the spec for a single request.
5777
- :type _host_index: int, optional
5778
- :return: Returns the result object.
5779
- """ # noqa: E501
5780
- warnings.warn("PUT /Order/UpdateWorkflowConfig is deprecated.", DeprecationWarning)
5781
-
5782
- _param = self._order_update_workflow_config_put_serialize(
5783
- update_workflow_config_model=update_workflow_config_model,
5784
- _request_auth=_request_auth,
5785
- _content_type=_content_type,
5786
- _headers=_headers,
5787
- _host_index=_host_index
5788
- )
5789
-
5790
- _response_types_map: Dict[str, Optional[str]] = {
5791
- '200': None,
5792
- }
5793
- response_data = self.api_client.call_api(
5794
- *_param,
5795
- _request_timeout=_request_timeout
5796
- )
5797
- return response_data.response
5798
-
5799
-
5800
- def _order_update_workflow_config_put_serialize(
5801
- self,
5802
- update_workflow_config_model,
5803
- _request_auth,
5804
- _content_type,
5805
- _headers,
5806
- _host_index,
5807
- ) -> RequestSerialized:
5808
-
5809
- _host = None
5810
-
5811
- _collection_formats: Dict[str, str] = {
5812
- }
5813
-
5814
- _path_params: Dict[str, str] = {}
5815
- _query_params: List[Tuple[str, str]] = []
5816
- _header_params: Dict[str, Optional[str]] = _headers or {}
5817
- _form_params: List[Tuple[str, str]] = []
5818
- _files: Dict[
5819
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5820
- ] = {}
5821
- _body_params: Optional[bytes] = None
5822
-
5823
- # process the path parameters
5824
- # process the query parameters
5825
- # process the header parameters
5826
- # process the form parameters
5827
- # process the body parameter
5828
- if update_workflow_config_model is not None:
5829
- _body_params = update_workflow_config_model
5830
-
5831
-
5832
-
5833
- # set the HTTP header `Content-Type`
5834
- if _content_type:
5835
- _header_params['Content-Type'] = _content_type
5836
- else:
5837
- _default_content_type = (
5838
- self.api_client.select_header_content_type(
5839
- [
5840
- 'application/json',
5841
- 'text/json',
5842
- 'application/*+json'
5843
- ]
5844
- )
5845
- )
5846
- if _default_content_type is not None:
5847
- _header_params['Content-Type'] = _default_content_type
5848
-
5849
- # authentication setting
5850
- _auth_settings: List[str] = [
5851
- 'bearer'
5852
- ]
5853
-
5854
- return self.api_client.param_serialize(
5855
- method='PUT',
5856
- resource_path='/Order/UpdateWorkflowConfig',
5857
- path_params=_path_params,
5858
- query_params=_query_params,
5859
- header_params=_header_params,
5860
- body=_body_params,
5861
- post_params=_form_params,
5862
- files=_files,
5863
- auth_settings=_auth_settings,
5864
- collection_formats=_collection_formats,
5865
- _host=_host,
5866
- _request_auth=_request_auth
5867
- )
5868
-
5869
-