rapidata 2.23.2__py3-none-any.whl → 3.0.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.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +31 -14
- rapidata/api_client/__init__.py +84 -312
- rapidata/api_client/api/__init__.py +12 -3
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +3044 -0
- rapidata/api_client/api/benchmark_api.py +4307 -0
- rapidata/api_client/api/campaign_api.py +232 -207
- rapidata/api_client/api/client_api.py +166 -145
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +2216 -0
- rapidata/api_client/api/datapoint_api.py +8 -797
- rapidata/api_client/api/dataset_api.py +276 -2858
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/job_api.py +4200 -0
- rapidata/api_client/api/job_definition_api.py +319 -0
- rapidata/api_client/api/job_revision_api.py +335 -0
- rapidata/api_client/api/leaderboard_api.py +2855 -0
- rapidata/api_client/api/newsletter_api.py +30 -317
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +11 -10
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +510 -3230
- rapidata/api_client/api/workflow_api.py +32 -825
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -291
- rapidata/api_client/models/ab_test_selection_a_inner.py +27 -13
- rapidata/api_client/models/add_campaign_model.py +8 -3
- rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +49 -28
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_truth.py +32 -12
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +4 -6
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +4 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- 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/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +106 -0
- rapidata/api_client/models/asset_metadata_asset.py +170 -0
- rapidata/api_client/models/asset_metadata_model.py +96 -0
- rapidata/api_client/models/asset_metadata_model_asset.py +170 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_job_state.py +38 -0
- rapidata/api_client/models/audience_status.py +39 -0
- rapidata/api_client/models/benchmark_query_result.py +98 -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/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +91 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +75 -17
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +122 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- 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_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +25 -11
- rapidata/api_client/models/create_datapoint_model.py +124 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +6 -18
- rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
- rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
- rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_endpoint_input.py +100 -0
- rapidata/api_client/models/create_job_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
- rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
- rapidata/api_client/models/create_leaderboard_model.py +147 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_definition_model.py +119 -0
- rapidata/api_client/models/create_order_definition_result.py +87 -0
- rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
- rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
- rapidata/api_client/models/create_order_model.py +30 -103
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +5 -5
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/existing_asset_input.py +109 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +15 -12
- 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_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model_metadata_value.py +37 -51
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +118 -0
- rapidata/api_client/models/get_audience_user_state_metrics_result.py +87 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- 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 +98 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
- rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
- rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +6 -12
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +5 -5
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +33 -33
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_audience_filter.py +184 -0
- rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
- rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
- rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter.py +296 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +296 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
- rapidata/api_client/models/i_validation_truth_model.py +294 -0
- rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
- rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
- rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/job_definition_revision_state.py +38 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +11 -13
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +12 -1
- rapidata/api_client/models/logic_operator.py +2 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/multi_asset.py +17 -12
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +3 -3
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/option_of_aggregator_type.py +49 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -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/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +92 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +118 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_job_definitions_result.py +97 -0
- rapidata/api_client/models/query_job_revisions_result.py +95 -0
- rapidata/api_client/models/query_jobs_result.py +103 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/rapid_issue.py +2 -2
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +3 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +12 -1
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- 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/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +3 -2
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +92 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +15 -10
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +113 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
- rapidata/api_client/models/update_job_endpoint_input.py +92 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +5 -5
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +28 -12
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- rapidata/api_client/models/url_asset_input.py +100 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_problem_details.py +117 -0
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/vote_matrix_result.py +91 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +2 -2
- rapidata/api_client_README.md +469 -309
- rapidata/rapidata_client/__init__.py +23 -22
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/audience/__init__.py +2 -0
- rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
- rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
- rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
- rapidata/rapidata_client/benchmark/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +34 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +257 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +146 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +592 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +216 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +8 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +194 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/_single_flight_cache.py +82 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/__init__.py +1 -1
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/dataset/__init__.py +1 -0
- rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +27 -0
- rapidata/rapidata_client/filter/__init__.py +3 -0
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +58 -2
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +55 -0
- rapidata/rapidata_client/filter/campaign_filter.py +21 -10
- rapidata/rapidata_client/filter/country_filter.py +46 -12
- rapidata/rapidata_client/filter/custom_filter.py +25 -12
- rapidata/rapidata_client/filter/device_filter.py +38 -0
- rapidata/rapidata_client/filter/gender_filter.py +25 -10
- rapidata/rapidata_client/filter/language_filter.py +51 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/device_type.py +20 -0
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +14 -4
- rapidata/rapidata_client/filter/not_filter.py +35 -11
- rapidata/rapidata_client/filter/or_filter.py +36 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +30 -25
- rapidata/rapidata_client/filter/response_count_filter.py +51 -20
- rapidata/rapidata_client/filter/user_score_filter.py +62 -24
- rapidata/rapidata_client/job/__init__.py +3 -0
- rapidata/rapidata_client/job/job_definition.py +110 -0
- rapidata/rapidata_client/job/job_manager.py +758 -0
- rapidata/rapidata_client/job/rapidata_job.py +326 -0
- rapidata/rapidata_client/order/__init__.py +2 -0
- rapidata/rapidata_client/order/_rapidata_order_builder.py +286 -193
- rapidata/rapidata_client/order/rapidata_order.py +329 -153
- rapidata/rapidata_client/order/rapidata_order_manager.py +722 -420
- rapidata/rapidata_client/rapidata_client.py +130 -26
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +14 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
- rapidata/rapidata_client/referee/_naive_referee.py +24 -3
- rapidata/rapidata_client/results/__init__.py +3 -0
- rapidata/rapidata_client/{order → results}/rapidata_results.py +98 -67
- rapidata/rapidata_client/selection/__init__.py +2 -1
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +36 -12
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +10 -7
- rapidata/rapidata_client/selection/rapidata_selections.py +31 -21
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +20 -9
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +4 -1
- rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +28 -16
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/utils/__init__.py +3 -0
- rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
- rapidata/rapidata_client/validation/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -104
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +371 -214
- rapidata/rapidata_client/validation/validation_set_manager.py +529 -227
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +18 -18
- rapidata/service/openapi_service.py +128 -28
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.1.dist-info/METADATA +32 -0
- rapidata-3.0.1.dist-info/RECORD +1089 -0
- {rapidata-2.23.2.dist-info → rapidata-3.0.1.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -66
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -47
- rapidata/rapidata_client/logging/output_manager.py +0 -16
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -443
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -51
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.23.2.dist-info/METADATA +0 -34
- rapidata-2.23.2.dist-info/RECORD +0 -523
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.23.2.dist-info → rapidata-3.0.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -17,15 +17,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field, StrictBytes, StrictStr
|
|
20
|
-
from typing import
|
|
20
|
+
from typing import Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
-
from rapidata.api_client.models.add_campaign_artifact_result import AddCampaignArtifactResult
|
|
23
|
-
from rapidata.api_client.models.add_campaign_model import AddCampaignModel
|
|
24
22
|
from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
|
|
25
|
-
from rapidata.api_client.models.pipeline_id_workflow_artifact_id_put_request import PipelineIdWorkflowArtifactIdPutRequest
|
|
26
23
|
from rapidata.api_client.models.preliminary_download_model import PreliminaryDownloadModel
|
|
27
|
-
from rapidata.api_client.models.
|
|
28
|
-
from rapidata.api_client.models.update_campaign_model import UpdateCampaignModel
|
|
24
|
+
from rapidata.api_client.models.start_preliminary_download_result import StartPreliminaryDownloadResult
|
|
29
25
|
|
|
30
26
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
31
27
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -45,1764 +41,6 @@ class PipelineApi:
|
|
|
45
41
|
self.api_client = api_client
|
|
46
42
|
|
|
47
43
|
|
|
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
|
-
@validate_call
|
|
352
|
-
def pipeline_id_workflow_config_artifact_id_put(
|
|
353
|
-
self,
|
|
354
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
355
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
356
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
357
|
-
_request_timeout: Union[
|
|
358
|
-
None,
|
|
359
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
360
|
-
Tuple[
|
|
361
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
362
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
363
|
-
]
|
|
364
|
-
] = None,
|
|
365
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
366
|
-
_content_type: Optional[StrictStr] = None,
|
|
367
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
368
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
369
|
-
) -> None:
|
|
370
|
-
"""Updates the workflow configuration for a pipeline.
|
|
371
|
-
|
|
372
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
373
|
-
|
|
374
|
-
:param id: The id of the pipeline to update. (required)
|
|
375
|
-
:type id: str
|
|
376
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
377
|
-
:type artifact_id: str
|
|
378
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
379
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
380
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
381
|
-
number provided, it will be total request
|
|
382
|
-
timeout. It can also be a pair (tuple) of
|
|
383
|
-
(connection, read) timeouts.
|
|
384
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
385
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
386
|
-
request; this effectively ignores the
|
|
387
|
-
authentication in the spec for a single request.
|
|
388
|
-
:type _request_auth: dict, optional
|
|
389
|
-
:param _content_type: force content-type for the request.
|
|
390
|
-
:type _content_type: str, Optional
|
|
391
|
-
:param _headers: set to override the headers for a single
|
|
392
|
-
request; this effectively ignores the headers
|
|
393
|
-
in the spec for a single request.
|
|
394
|
-
:type _headers: dict, optional
|
|
395
|
-
:param _host_index: set to override the host_index for a single
|
|
396
|
-
request; this effectively ignores the host_index
|
|
397
|
-
in the spec for a single request.
|
|
398
|
-
:type _host_index: int, optional
|
|
399
|
-
:return: Returns the result object.
|
|
400
|
-
""" # noqa: E501
|
|
401
|
-
|
|
402
|
-
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
403
|
-
id=id,
|
|
404
|
-
artifact_id=artifact_id,
|
|
405
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
406
|
-
_request_auth=_request_auth,
|
|
407
|
-
_content_type=_content_type,
|
|
408
|
-
_headers=_headers,
|
|
409
|
-
_host_index=_host_index
|
|
410
|
-
)
|
|
411
|
-
|
|
412
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
413
|
-
'204': None,
|
|
414
|
-
}
|
|
415
|
-
response_data = self.api_client.call_api(
|
|
416
|
-
*_param,
|
|
417
|
-
_request_timeout=_request_timeout
|
|
418
|
-
)
|
|
419
|
-
response_data.read()
|
|
420
|
-
return self.api_client.response_deserialize(
|
|
421
|
-
response_data=response_data,
|
|
422
|
-
response_types_map=_response_types_map,
|
|
423
|
-
).data
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
@validate_call
|
|
427
|
-
def pipeline_id_workflow_config_artifact_id_put_with_http_info(
|
|
428
|
-
self,
|
|
429
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
430
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
431
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
432
|
-
_request_timeout: Union[
|
|
433
|
-
None,
|
|
434
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
435
|
-
Tuple[
|
|
436
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
437
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
438
|
-
]
|
|
439
|
-
] = None,
|
|
440
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
441
|
-
_content_type: Optional[StrictStr] = None,
|
|
442
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
443
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
444
|
-
) -> ApiResponse[None]:
|
|
445
|
-
"""Updates the workflow configuration for a pipeline.
|
|
446
|
-
|
|
447
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
448
|
-
|
|
449
|
-
:param id: The id of the pipeline to update. (required)
|
|
450
|
-
:type id: str
|
|
451
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
452
|
-
:type artifact_id: str
|
|
453
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
454
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
455
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
456
|
-
number provided, it will be total request
|
|
457
|
-
timeout. It can also be a pair (tuple) of
|
|
458
|
-
(connection, read) timeouts.
|
|
459
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
460
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
461
|
-
request; this effectively ignores the
|
|
462
|
-
authentication in the spec for a single request.
|
|
463
|
-
:type _request_auth: dict, optional
|
|
464
|
-
:param _content_type: force content-type for the request.
|
|
465
|
-
:type _content_type: str, Optional
|
|
466
|
-
:param _headers: set to override the headers for a single
|
|
467
|
-
request; this effectively ignores the headers
|
|
468
|
-
in the spec for a single request.
|
|
469
|
-
:type _headers: dict, optional
|
|
470
|
-
:param _host_index: set to override the host_index for a single
|
|
471
|
-
request; this effectively ignores the host_index
|
|
472
|
-
in the spec for a single request.
|
|
473
|
-
:type _host_index: int, optional
|
|
474
|
-
:return: Returns the result object.
|
|
475
|
-
""" # noqa: E501
|
|
476
|
-
|
|
477
|
-
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
478
|
-
id=id,
|
|
479
|
-
artifact_id=artifact_id,
|
|
480
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
481
|
-
_request_auth=_request_auth,
|
|
482
|
-
_content_type=_content_type,
|
|
483
|
-
_headers=_headers,
|
|
484
|
-
_host_index=_host_index
|
|
485
|
-
)
|
|
486
|
-
|
|
487
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
488
|
-
'204': None,
|
|
489
|
-
}
|
|
490
|
-
response_data = self.api_client.call_api(
|
|
491
|
-
*_param,
|
|
492
|
-
_request_timeout=_request_timeout
|
|
493
|
-
)
|
|
494
|
-
response_data.read()
|
|
495
|
-
return self.api_client.response_deserialize(
|
|
496
|
-
response_data=response_data,
|
|
497
|
-
response_types_map=_response_types_map,
|
|
498
|
-
)
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
@validate_call
|
|
502
|
-
def pipeline_id_workflow_config_artifact_id_put_without_preload_content(
|
|
503
|
-
self,
|
|
504
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
505
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
|
|
506
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
507
|
-
_request_timeout: Union[
|
|
508
|
-
None,
|
|
509
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
510
|
-
Tuple[
|
|
511
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
512
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
513
|
-
]
|
|
514
|
-
] = None,
|
|
515
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
516
|
-
_content_type: Optional[StrictStr] = None,
|
|
517
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
518
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
519
|
-
) -> RESTResponseType:
|
|
520
|
-
"""Updates the workflow configuration for a pipeline.
|
|
521
|
-
|
|
522
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
523
|
-
|
|
524
|
-
:param id: The id of the pipeline to update. (required)
|
|
525
|
-
:type id: str
|
|
526
|
-
:param artifact_id: The id of the workflow config artifact to update. (required)
|
|
527
|
-
:type artifact_id: str
|
|
528
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
529
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
530
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
531
|
-
number provided, it will be total request
|
|
532
|
-
timeout. It can also be a pair (tuple) of
|
|
533
|
-
(connection, read) timeouts.
|
|
534
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
535
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
536
|
-
request; this effectively ignores the
|
|
537
|
-
authentication in the spec for a single request.
|
|
538
|
-
:type _request_auth: dict, optional
|
|
539
|
-
:param _content_type: force content-type for the request.
|
|
540
|
-
:type _content_type: str, Optional
|
|
541
|
-
:param _headers: set to override the headers for a single
|
|
542
|
-
request; this effectively ignores the headers
|
|
543
|
-
in the spec for a single request.
|
|
544
|
-
:type _headers: dict, optional
|
|
545
|
-
:param _host_index: set to override the host_index for a single
|
|
546
|
-
request; this effectively ignores the host_index
|
|
547
|
-
in the spec for a single request.
|
|
548
|
-
:type _host_index: int, optional
|
|
549
|
-
:return: Returns the result object.
|
|
550
|
-
""" # noqa: E501
|
|
551
|
-
|
|
552
|
-
_param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
553
|
-
id=id,
|
|
554
|
-
artifact_id=artifact_id,
|
|
555
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
556
|
-
_request_auth=_request_auth,
|
|
557
|
-
_content_type=_content_type,
|
|
558
|
-
_headers=_headers,
|
|
559
|
-
_host_index=_host_index
|
|
560
|
-
)
|
|
561
|
-
|
|
562
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
563
|
-
'204': None,
|
|
564
|
-
}
|
|
565
|
-
response_data = self.api_client.call_api(
|
|
566
|
-
*_param,
|
|
567
|
-
_request_timeout=_request_timeout
|
|
568
|
-
)
|
|
569
|
-
return response_data.response
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
def _pipeline_id_workflow_config_artifact_id_put_serialize(
|
|
573
|
-
self,
|
|
574
|
-
id,
|
|
575
|
-
artifact_id,
|
|
576
|
-
pipeline_id_workflow_artifact_id_put_request,
|
|
577
|
-
_request_auth,
|
|
578
|
-
_content_type,
|
|
579
|
-
_headers,
|
|
580
|
-
_host_index,
|
|
581
|
-
) -> RequestSerialized:
|
|
582
|
-
|
|
583
|
-
_host = None
|
|
584
|
-
|
|
585
|
-
_collection_formats: Dict[str, str] = {
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
_path_params: Dict[str, str] = {}
|
|
589
|
-
_query_params: List[Tuple[str, str]] = []
|
|
590
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
591
|
-
_form_params: List[Tuple[str, str]] = []
|
|
592
|
-
_files: Dict[
|
|
593
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
594
|
-
] = {}
|
|
595
|
-
_body_params: Optional[bytes] = None
|
|
596
|
-
|
|
597
|
-
# process the path parameters
|
|
598
|
-
if id is not None:
|
|
599
|
-
_path_params['id'] = id
|
|
600
|
-
if artifact_id is not None:
|
|
601
|
-
_path_params['artifactId'] = artifact_id
|
|
602
|
-
# process the query parameters
|
|
603
|
-
# process the header parameters
|
|
604
|
-
# process the form parameters
|
|
605
|
-
# process the body parameter
|
|
606
|
-
if pipeline_id_workflow_artifact_id_put_request is not None:
|
|
607
|
-
_body_params = pipeline_id_workflow_artifact_id_put_request
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
# set the HTTP header `Content-Type`
|
|
612
|
-
if _content_type:
|
|
613
|
-
_header_params['Content-Type'] = _content_type
|
|
614
|
-
else:
|
|
615
|
-
_default_content_type = (
|
|
616
|
-
self.api_client.select_header_content_type(
|
|
617
|
-
[
|
|
618
|
-
'application/json',
|
|
619
|
-
'text/json',
|
|
620
|
-
'application/*+json'
|
|
621
|
-
]
|
|
622
|
-
)
|
|
623
|
-
)
|
|
624
|
-
if _default_content_type is not None:
|
|
625
|
-
_header_params['Content-Type'] = _default_content_type
|
|
626
|
-
|
|
627
|
-
# authentication setting
|
|
628
|
-
_auth_settings: List[str] = [
|
|
629
|
-
'bearer',
|
|
630
|
-
'oauth2'
|
|
631
|
-
]
|
|
632
|
-
|
|
633
|
-
return self.api_client.param_serialize(
|
|
634
|
-
method='PUT',
|
|
635
|
-
resource_path='/pipeline/{id}/workflow-config/{artifactId}',
|
|
636
|
-
path_params=_path_params,
|
|
637
|
-
query_params=_query_params,
|
|
638
|
-
header_params=_header_params,
|
|
639
|
-
body=_body_params,
|
|
640
|
-
post_params=_form_params,
|
|
641
|
-
files=_files,
|
|
642
|
-
auth_settings=_auth_settings,
|
|
643
|
-
collection_formats=_collection_formats,
|
|
644
|
-
_host=_host,
|
|
645
|
-
_request_auth=_request_auth
|
|
646
|
-
)
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
@validate_call
|
|
652
|
-
def pipeline_id_workflow_config_put(
|
|
653
|
-
self,
|
|
654
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
655
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
656
|
-
_request_timeout: Union[
|
|
657
|
-
None,
|
|
658
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
659
|
-
Tuple[
|
|
660
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
661
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
662
|
-
]
|
|
663
|
-
] = None,
|
|
664
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
665
|
-
_content_type: Optional[StrictStr] = None,
|
|
666
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
667
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
668
|
-
) -> None:
|
|
669
|
-
"""Updates the workflow configuration for a pipeline.
|
|
670
|
-
|
|
671
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
672
|
-
|
|
673
|
-
:param id: The id of the pipeline to update. (required)
|
|
674
|
-
:type id: str
|
|
675
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
676
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
677
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
678
|
-
number provided, it will be total request
|
|
679
|
-
timeout. It can also be a pair (tuple) of
|
|
680
|
-
(connection, read) timeouts.
|
|
681
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
682
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
683
|
-
request; this effectively ignores the
|
|
684
|
-
authentication in the spec for a single request.
|
|
685
|
-
:type _request_auth: dict, optional
|
|
686
|
-
:param _content_type: force content-type for the request.
|
|
687
|
-
:type _content_type: str, Optional
|
|
688
|
-
:param _headers: set to override the headers for a single
|
|
689
|
-
request; this effectively ignores the headers
|
|
690
|
-
in the spec for a single request.
|
|
691
|
-
:type _headers: dict, optional
|
|
692
|
-
:param _host_index: set to override the host_index for a single
|
|
693
|
-
request; this effectively ignores the host_index
|
|
694
|
-
in the spec for a single request.
|
|
695
|
-
:type _host_index: int, optional
|
|
696
|
-
:return: Returns the result object.
|
|
697
|
-
""" # noqa: E501
|
|
698
|
-
|
|
699
|
-
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
700
|
-
id=id,
|
|
701
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
702
|
-
_request_auth=_request_auth,
|
|
703
|
-
_content_type=_content_type,
|
|
704
|
-
_headers=_headers,
|
|
705
|
-
_host_index=_host_index
|
|
706
|
-
)
|
|
707
|
-
|
|
708
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
709
|
-
'204': None,
|
|
710
|
-
}
|
|
711
|
-
response_data = self.api_client.call_api(
|
|
712
|
-
*_param,
|
|
713
|
-
_request_timeout=_request_timeout
|
|
714
|
-
)
|
|
715
|
-
response_data.read()
|
|
716
|
-
return self.api_client.response_deserialize(
|
|
717
|
-
response_data=response_data,
|
|
718
|
-
response_types_map=_response_types_map,
|
|
719
|
-
).data
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
@validate_call
|
|
723
|
-
def pipeline_id_workflow_config_put_with_http_info(
|
|
724
|
-
self,
|
|
725
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
726
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
727
|
-
_request_timeout: Union[
|
|
728
|
-
None,
|
|
729
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
730
|
-
Tuple[
|
|
731
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
732
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
733
|
-
]
|
|
734
|
-
] = None,
|
|
735
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
736
|
-
_content_type: Optional[StrictStr] = None,
|
|
737
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
738
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
739
|
-
) -> ApiResponse[None]:
|
|
740
|
-
"""Updates the workflow configuration for a pipeline.
|
|
741
|
-
|
|
742
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
743
|
-
|
|
744
|
-
:param id: The id of the pipeline to update. (required)
|
|
745
|
-
:type id: str
|
|
746
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
747
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
748
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
749
|
-
number provided, it will be total request
|
|
750
|
-
timeout. It can also be a pair (tuple) of
|
|
751
|
-
(connection, read) timeouts.
|
|
752
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
753
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
754
|
-
request; this effectively ignores the
|
|
755
|
-
authentication in the spec for a single request.
|
|
756
|
-
:type _request_auth: dict, optional
|
|
757
|
-
:param _content_type: force content-type for the request.
|
|
758
|
-
:type _content_type: str, Optional
|
|
759
|
-
:param _headers: set to override the headers for a single
|
|
760
|
-
request; this effectively ignores the headers
|
|
761
|
-
in the spec for a single request.
|
|
762
|
-
:type _headers: dict, optional
|
|
763
|
-
:param _host_index: set to override the host_index for a single
|
|
764
|
-
request; this effectively ignores the host_index
|
|
765
|
-
in the spec for a single request.
|
|
766
|
-
:type _host_index: int, optional
|
|
767
|
-
:return: Returns the result object.
|
|
768
|
-
""" # noqa: E501
|
|
769
|
-
|
|
770
|
-
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
771
|
-
id=id,
|
|
772
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
773
|
-
_request_auth=_request_auth,
|
|
774
|
-
_content_type=_content_type,
|
|
775
|
-
_headers=_headers,
|
|
776
|
-
_host_index=_host_index
|
|
777
|
-
)
|
|
778
|
-
|
|
779
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
780
|
-
'204': None,
|
|
781
|
-
}
|
|
782
|
-
response_data = self.api_client.call_api(
|
|
783
|
-
*_param,
|
|
784
|
-
_request_timeout=_request_timeout
|
|
785
|
-
)
|
|
786
|
-
response_data.read()
|
|
787
|
-
return self.api_client.response_deserialize(
|
|
788
|
-
response_data=response_data,
|
|
789
|
-
response_types_map=_response_types_map,
|
|
790
|
-
)
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
@validate_call
|
|
794
|
-
def pipeline_id_workflow_config_put_without_preload_content(
|
|
795
|
-
self,
|
|
796
|
-
id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
797
|
-
pipeline_id_workflow_artifact_id_put_request: Annotated[Optional[PipelineIdWorkflowArtifactIdPutRequest], Field(description="The new workflow configuration.")] = None,
|
|
798
|
-
_request_timeout: Union[
|
|
799
|
-
None,
|
|
800
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
801
|
-
Tuple[
|
|
802
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
803
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
804
|
-
]
|
|
805
|
-
] = None,
|
|
806
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
807
|
-
_content_type: Optional[StrictStr] = None,
|
|
808
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
809
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
810
|
-
) -> RESTResponseType:
|
|
811
|
-
"""Updates the workflow configuration for a pipeline.
|
|
812
|
-
|
|
813
|
-
This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
|
|
814
|
-
|
|
815
|
-
:param id: The id of the pipeline to update. (required)
|
|
816
|
-
:type id: str
|
|
817
|
-
:param pipeline_id_workflow_artifact_id_put_request: The new workflow configuration.
|
|
818
|
-
:type pipeline_id_workflow_artifact_id_put_request: PipelineIdWorkflowArtifactIdPutRequest
|
|
819
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
820
|
-
number provided, it will be total request
|
|
821
|
-
timeout. It can also be a pair (tuple) of
|
|
822
|
-
(connection, read) timeouts.
|
|
823
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
824
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
825
|
-
request; this effectively ignores the
|
|
826
|
-
authentication in the spec for a single request.
|
|
827
|
-
:type _request_auth: dict, optional
|
|
828
|
-
:param _content_type: force content-type for the request.
|
|
829
|
-
:type _content_type: str, Optional
|
|
830
|
-
:param _headers: set to override the headers for a single
|
|
831
|
-
request; this effectively ignores the headers
|
|
832
|
-
in the spec for a single request.
|
|
833
|
-
:type _headers: dict, optional
|
|
834
|
-
:param _host_index: set to override the host_index for a single
|
|
835
|
-
request; this effectively ignores the host_index
|
|
836
|
-
in the spec for a single request.
|
|
837
|
-
:type _host_index: int, optional
|
|
838
|
-
:return: Returns the result object.
|
|
839
|
-
""" # noqa: E501
|
|
840
|
-
|
|
841
|
-
_param = self._pipeline_id_workflow_config_put_serialize(
|
|
842
|
-
id=id,
|
|
843
|
-
pipeline_id_workflow_artifact_id_put_request=pipeline_id_workflow_artifact_id_put_request,
|
|
844
|
-
_request_auth=_request_auth,
|
|
845
|
-
_content_type=_content_type,
|
|
846
|
-
_headers=_headers,
|
|
847
|
-
_host_index=_host_index
|
|
848
|
-
)
|
|
849
|
-
|
|
850
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
851
|
-
'204': None,
|
|
852
|
-
}
|
|
853
|
-
response_data = self.api_client.call_api(
|
|
854
|
-
*_param,
|
|
855
|
-
_request_timeout=_request_timeout
|
|
856
|
-
)
|
|
857
|
-
return response_data.response
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
def _pipeline_id_workflow_config_put_serialize(
|
|
861
|
-
self,
|
|
862
|
-
id,
|
|
863
|
-
pipeline_id_workflow_artifact_id_put_request,
|
|
864
|
-
_request_auth,
|
|
865
|
-
_content_type,
|
|
866
|
-
_headers,
|
|
867
|
-
_host_index,
|
|
868
|
-
) -> RequestSerialized:
|
|
869
|
-
|
|
870
|
-
_host = None
|
|
871
|
-
|
|
872
|
-
_collection_formats: Dict[str, str] = {
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
_path_params: Dict[str, str] = {}
|
|
876
|
-
_query_params: List[Tuple[str, str]] = []
|
|
877
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
878
|
-
_form_params: List[Tuple[str, str]] = []
|
|
879
|
-
_files: Dict[
|
|
880
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
881
|
-
] = {}
|
|
882
|
-
_body_params: Optional[bytes] = None
|
|
883
|
-
|
|
884
|
-
# process the path parameters
|
|
885
|
-
if id is not None:
|
|
886
|
-
_path_params['id'] = id
|
|
887
|
-
# process the query parameters
|
|
888
|
-
# process the header parameters
|
|
889
|
-
# process the form parameters
|
|
890
|
-
# process the body parameter
|
|
891
|
-
if pipeline_id_workflow_artifact_id_put_request is not None:
|
|
892
|
-
_body_params = pipeline_id_workflow_artifact_id_put_request
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
# set the HTTP header `Content-Type`
|
|
897
|
-
if _content_type:
|
|
898
|
-
_header_params['Content-Type'] = _content_type
|
|
899
|
-
else:
|
|
900
|
-
_default_content_type = (
|
|
901
|
-
self.api_client.select_header_content_type(
|
|
902
|
-
[
|
|
903
|
-
'application/json',
|
|
904
|
-
'text/json',
|
|
905
|
-
'application/*+json'
|
|
906
|
-
]
|
|
907
|
-
)
|
|
908
|
-
)
|
|
909
|
-
if _default_content_type is not None:
|
|
910
|
-
_header_params['Content-Type'] = _default_content_type
|
|
911
|
-
|
|
912
|
-
# authentication setting
|
|
913
|
-
_auth_settings: List[str] = [
|
|
914
|
-
'bearer',
|
|
915
|
-
'oauth2'
|
|
916
|
-
]
|
|
917
|
-
|
|
918
|
-
return self.api_client.param_serialize(
|
|
919
|
-
method='PUT',
|
|
920
|
-
resource_path='/pipeline/{id}/workflow-config',
|
|
921
|
-
path_params=_path_params,
|
|
922
|
-
query_params=_query_params,
|
|
923
|
-
header_params=_header_params,
|
|
924
|
-
body=_body_params,
|
|
925
|
-
post_params=_form_params,
|
|
926
|
-
files=_files,
|
|
927
|
-
auth_settings=_auth_settings,
|
|
928
|
-
collection_formats=_collection_formats,
|
|
929
|
-
_host=_host,
|
|
930
|
-
_request_auth=_request_auth
|
|
931
|
-
)
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
@validate_call
|
|
937
|
-
def pipeline_pipeline_id_campaign_artifact_id_put(
|
|
938
|
-
self,
|
|
939
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
940
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
|
|
941
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
942
|
-
_request_timeout: Union[
|
|
943
|
-
None,
|
|
944
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
945
|
-
Tuple[
|
|
946
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
947
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
948
|
-
]
|
|
949
|
-
] = None,
|
|
950
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
951
|
-
_content_type: Optional[StrictStr] = None,
|
|
952
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
953
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
954
|
-
) -> None:
|
|
955
|
-
"""Updates a specific campaign for a pipeline.
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
959
|
-
:type pipeline_id: str
|
|
960
|
-
:param artifact_id: The id of the campaign artifact to update. (required)
|
|
961
|
-
:type artifact_id: str
|
|
962
|
-
:param update_campaign_model: The new campaign settings.
|
|
963
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
964
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
965
|
-
number provided, it will be total request
|
|
966
|
-
timeout. It can also be a pair (tuple) of
|
|
967
|
-
(connection, read) timeouts.
|
|
968
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
969
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
970
|
-
request; this effectively ignores the
|
|
971
|
-
authentication in the spec for a single request.
|
|
972
|
-
:type _request_auth: dict, optional
|
|
973
|
-
:param _content_type: force content-type for the request.
|
|
974
|
-
:type _content_type: str, Optional
|
|
975
|
-
:param _headers: set to override the headers for a single
|
|
976
|
-
request; this effectively ignores the headers
|
|
977
|
-
in the spec for a single request.
|
|
978
|
-
:type _headers: dict, optional
|
|
979
|
-
:param _host_index: set to override the host_index for a single
|
|
980
|
-
request; this effectively ignores the host_index
|
|
981
|
-
in the spec for a single request.
|
|
982
|
-
:type _host_index: int, optional
|
|
983
|
-
:return: Returns the result object.
|
|
984
|
-
""" # noqa: E501
|
|
985
|
-
|
|
986
|
-
_param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
|
|
987
|
-
pipeline_id=pipeline_id,
|
|
988
|
-
artifact_id=artifact_id,
|
|
989
|
-
update_campaign_model=update_campaign_model,
|
|
990
|
-
_request_auth=_request_auth,
|
|
991
|
-
_content_type=_content_type,
|
|
992
|
-
_headers=_headers,
|
|
993
|
-
_host_index=_host_index
|
|
994
|
-
)
|
|
995
|
-
|
|
996
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
997
|
-
'204': None,
|
|
998
|
-
}
|
|
999
|
-
response_data = self.api_client.call_api(
|
|
1000
|
-
*_param,
|
|
1001
|
-
_request_timeout=_request_timeout
|
|
1002
|
-
)
|
|
1003
|
-
response_data.read()
|
|
1004
|
-
return self.api_client.response_deserialize(
|
|
1005
|
-
response_data=response_data,
|
|
1006
|
-
response_types_map=_response_types_map,
|
|
1007
|
-
).data
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
@validate_call
|
|
1011
|
-
def pipeline_pipeline_id_campaign_artifact_id_put_with_http_info(
|
|
1012
|
-
self,
|
|
1013
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
1014
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
|
|
1015
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
1016
|
-
_request_timeout: Union[
|
|
1017
|
-
None,
|
|
1018
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1019
|
-
Tuple[
|
|
1020
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1021
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1022
|
-
]
|
|
1023
|
-
] = None,
|
|
1024
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1025
|
-
_content_type: Optional[StrictStr] = None,
|
|
1026
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1027
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1028
|
-
) -> ApiResponse[None]:
|
|
1029
|
-
"""Updates a specific campaign for a pipeline.
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
1033
|
-
:type pipeline_id: str
|
|
1034
|
-
:param artifact_id: The id of the campaign artifact to update. (required)
|
|
1035
|
-
:type artifact_id: str
|
|
1036
|
-
:param update_campaign_model: The new campaign settings.
|
|
1037
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
1038
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1039
|
-
number provided, it will be total request
|
|
1040
|
-
timeout. It can also be a pair (tuple) of
|
|
1041
|
-
(connection, read) timeouts.
|
|
1042
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1043
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1044
|
-
request; this effectively ignores the
|
|
1045
|
-
authentication in the spec for a single request.
|
|
1046
|
-
:type _request_auth: dict, optional
|
|
1047
|
-
:param _content_type: force content-type for the request.
|
|
1048
|
-
:type _content_type: str, Optional
|
|
1049
|
-
:param _headers: set to override the headers for a single
|
|
1050
|
-
request; this effectively ignores the headers
|
|
1051
|
-
in the spec for a single request.
|
|
1052
|
-
:type _headers: dict, optional
|
|
1053
|
-
:param _host_index: set to override the host_index for a single
|
|
1054
|
-
request; this effectively ignores the host_index
|
|
1055
|
-
in the spec for a single request.
|
|
1056
|
-
:type _host_index: int, optional
|
|
1057
|
-
:return: Returns the result object.
|
|
1058
|
-
""" # noqa: E501
|
|
1059
|
-
|
|
1060
|
-
_param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
|
|
1061
|
-
pipeline_id=pipeline_id,
|
|
1062
|
-
artifact_id=artifact_id,
|
|
1063
|
-
update_campaign_model=update_campaign_model,
|
|
1064
|
-
_request_auth=_request_auth,
|
|
1065
|
-
_content_type=_content_type,
|
|
1066
|
-
_headers=_headers,
|
|
1067
|
-
_host_index=_host_index
|
|
1068
|
-
)
|
|
1069
|
-
|
|
1070
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1071
|
-
'204': None,
|
|
1072
|
-
}
|
|
1073
|
-
response_data = self.api_client.call_api(
|
|
1074
|
-
*_param,
|
|
1075
|
-
_request_timeout=_request_timeout
|
|
1076
|
-
)
|
|
1077
|
-
response_data.read()
|
|
1078
|
-
return self.api_client.response_deserialize(
|
|
1079
|
-
response_data=response_data,
|
|
1080
|
-
response_types_map=_response_types_map,
|
|
1081
|
-
)
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
@validate_call
|
|
1085
|
-
def pipeline_pipeline_id_campaign_artifact_id_put_without_preload_content(
|
|
1086
|
-
self,
|
|
1087
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
1088
|
-
artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
|
|
1089
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
1090
|
-
_request_timeout: Union[
|
|
1091
|
-
None,
|
|
1092
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1093
|
-
Tuple[
|
|
1094
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1095
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1096
|
-
]
|
|
1097
|
-
] = None,
|
|
1098
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1099
|
-
_content_type: Optional[StrictStr] = None,
|
|
1100
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1101
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1102
|
-
) -> RESTResponseType:
|
|
1103
|
-
"""Updates a specific campaign for a pipeline.
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
1107
|
-
:type pipeline_id: str
|
|
1108
|
-
:param artifact_id: The id of the campaign artifact to update. (required)
|
|
1109
|
-
:type artifact_id: str
|
|
1110
|
-
:param update_campaign_model: The new campaign settings.
|
|
1111
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
1112
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1113
|
-
number provided, it will be total request
|
|
1114
|
-
timeout. It can also be a pair (tuple) of
|
|
1115
|
-
(connection, read) timeouts.
|
|
1116
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1117
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1118
|
-
request; this effectively ignores the
|
|
1119
|
-
authentication in the spec for a single request.
|
|
1120
|
-
:type _request_auth: dict, optional
|
|
1121
|
-
:param _content_type: force content-type for the request.
|
|
1122
|
-
:type _content_type: str, Optional
|
|
1123
|
-
:param _headers: set to override the headers for a single
|
|
1124
|
-
request; this effectively ignores the headers
|
|
1125
|
-
in the spec for a single request.
|
|
1126
|
-
:type _headers: dict, optional
|
|
1127
|
-
:param _host_index: set to override the host_index for a single
|
|
1128
|
-
request; this effectively ignores the host_index
|
|
1129
|
-
in the spec for a single request.
|
|
1130
|
-
:type _host_index: int, optional
|
|
1131
|
-
:return: Returns the result object.
|
|
1132
|
-
""" # noqa: E501
|
|
1133
|
-
|
|
1134
|
-
_param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
|
|
1135
|
-
pipeline_id=pipeline_id,
|
|
1136
|
-
artifact_id=artifact_id,
|
|
1137
|
-
update_campaign_model=update_campaign_model,
|
|
1138
|
-
_request_auth=_request_auth,
|
|
1139
|
-
_content_type=_content_type,
|
|
1140
|
-
_headers=_headers,
|
|
1141
|
-
_host_index=_host_index
|
|
1142
|
-
)
|
|
1143
|
-
|
|
1144
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1145
|
-
'204': None,
|
|
1146
|
-
}
|
|
1147
|
-
response_data = self.api_client.call_api(
|
|
1148
|
-
*_param,
|
|
1149
|
-
_request_timeout=_request_timeout
|
|
1150
|
-
)
|
|
1151
|
-
return response_data.response
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
def _pipeline_pipeline_id_campaign_artifact_id_put_serialize(
|
|
1155
|
-
self,
|
|
1156
|
-
pipeline_id,
|
|
1157
|
-
artifact_id,
|
|
1158
|
-
update_campaign_model,
|
|
1159
|
-
_request_auth,
|
|
1160
|
-
_content_type,
|
|
1161
|
-
_headers,
|
|
1162
|
-
_host_index,
|
|
1163
|
-
) -> RequestSerialized:
|
|
1164
|
-
|
|
1165
|
-
_host = None
|
|
1166
|
-
|
|
1167
|
-
_collection_formats: Dict[str, str] = {
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
_path_params: Dict[str, str] = {}
|
|
1171
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1172
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1173
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1174
|
-
_files: Dict[
|
|
1175
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1176
|
-
] = {}
|
|
1177
|
-
_body_params: Optional[bytes] = None
|
|
1178
|
-
|
|
1179
|
-
# process the path parameters
|
|
1180
|
-
if pipeline_id is not None:
|
|
1181
|
-
_path_params['pipelineId'] = pipeline_id
|
|
1182
|
-
if artifact_id is not None:
|
|
1183
|
-
_path_params['artifactId'] = artifact_id
|
|
1184
|
-
# process the query parameters
|
|
1185
|
-
# process the header parameters
|
|
1186
|
-
# process the form parameters
|
|
1187
|
-
# process the body parameter
|
|
1188
|
-
if update_campaign_model is not None:
|
|
1189
|
-
_body_params = update_campaign_model
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
# set the HTTP header `Content-Type`
|
|
1194
|
-
if _content_type:
|
|
1195
|
-
_header_params['Content-Type'] = _content_type
|
|
1196
|
-
else:
|
|
1197
|
-
_default_content_type = (
|
|
1198
|
-
self.api_client.select_header_content_type(
|
|
1199
|
-
[
|
|
1200
|
-
'application/json',
|
|
1201
|
-
'text/json',
|
|
1202
|
-
'application/*+json'
|
|
1203
|
-
]
|
|
1204
|
-
)
|
|
1205
|
-
)
|
|
1206
|
-
if _default_content_type is not None:
|
|
1207
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1208
|
-
|
|
1209
|
-
# authentication setting
|
|
1210
|
-
_auth_settings: List[str] = [
|
|
1211
|
-
'bearer',
|
|
1212
|
-
'oauth2'
|
|
1213
|
-
]
|
|
1214
|
-
|
|
1215
|
-
return self.api_client.param_serialize(
|
|
1216
|
-
method='PUT',
|
|
1217
|
-
resource_path='/pipeline/{pipelineId}/campaign/{artifactId}',
|
|
1218
|
-
path_params=_path_params,
|
|
1219
|
-
query_params=_query_params,
|
|
1220
|
-
header_params=_header_params,
|
|
1221
|
-
body=_body_params,
|
|
1222
|
-
post_params=_form_params,
|
|
1223
|
-
files=_files,
|
|
1224
|
-
auth_settings=_auth_settings,
|
|
1225
|
-
collection_formats=_collection_formats,
|
|
1226
|
-
_host=_host,
|
|
1227
|
-
_request_auth=_request_auth
|
|
1228
|
-
)
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
@validate_call
|
|
1234
|
-
def pipeline_pipeline_id_campaign_post(
|
|
1235
|
-
self,
|
|
1236
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
|
|
1237
|
-
add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
|
|
1238
|
-
_request_timeout: Union[
|
|
1239
|
-
None,
|
|
1240
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1241
|
-
Tuple[
|
|
1242
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1243
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1244
|
-
]
|
|
1245
|
-
] = None,
|
|
1246
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1247
|
-
_content_type: Optional[StrictStr] = None,
|
|
1248
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1249
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1250
|
-
) -> AddCampaignArtifactResult:
|
|
1251
|
-
"""Adds a campaign to a pipeline.
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
:param pipeline_id: The id of the pipeline to update (required)
|
|
1255
|
-
:type pipeline_id: str
|
|
1256
|
-
:param add_campaign_model: The body request
|
|
1257
|
-
:type add_campaign_model: AddCampaignModel
|
|
1258
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1259
|
-
number provided, it will be total request
|
|
1260
|
-
timeout. It can also be a pair (tuple) of
|
|
1261
|
-
(connection, read) timeouts.
|
|
1262
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1263
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1264
|
-
request; this effectively ignores the
|
|
1265
|
-
authentication in the spec for a single request.
|
|
1266
|
-
:type _request_auth: dict, optional
|
|
1267
|
-
:param _content_type: force content-type for the request.
|
|
1268
|
-
:type _content_type: str, Optional
|
|
1269
|
-
:param _headers: set to override the headers for a single
|
|
1270
|
-
request; this effectively ignores the headers
|
|
1271
|
-
in the spec for a single request.
|
|
1272
|
-
:type _headers: dict, optional
|
|
1273
|
-
:param _host_index: set to override the host_index for a single
|
|
1274
|
-
request; this effectively ignores the host_index
|
|
1275
|
-
in the spec for a single request.
|
|
1276
|
-
:type _host_index: int, optional
|
|
1277
|
-
:return: Returns the result object.
|
|
1278
|
-
""" # noqa: E501
|
|
1279
|
-
|
|
1280
|
-
_param = self._pipeline_pipeline_id_campaign_post_serialize(
|
|
1281
|
-
pipeline_id=pipeline_id,
|
|
1282
|
-
add_campaign_model=add_campaign_model,
|
|
1283
|
-
_request_auth=_request_auth,
|
|
1284
|
-
_content_type=_content_type,
|
|
1285
|
-
_headers=_headers,
|
|
1286
|
-
_host_index=_host_index
|
|
1287
|
-
)
|
|
1288
|
-
|
|
1289
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1290
|
-
'200': "AddCampaignArtifactResult",
|
|
1291
|
-
}
|
|
1292
|
-
response_data = self.api_client.call_api(
|
|
1293
|
-
*_param,
|
|
1294
|
-
_request_timeout=_request_timeout
|
|
1295
|
-
)
|
|
1296
|
-
response_data.read()
|
|
1297
|
-
return self.api_client.response_deserialize(
|
|
1298
|
-
response_data=response_data,
|
|
1299
|
-
response_types_map=_response_types_map,
|
|
1300
|
-
).data
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
@validate_call
|
|
1304
|
-
def pipeline_pipeline_id_campaign_post_with_http_info(
|
|
1305
|
-
self,
|
|
1306
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
|
|
1307
|
-
add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
|
|
1308
|
-
_request_timeout: Union[
|
|
1309
|
-
None,
|
|
1310
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1311
|
-
Tuple[
|
|
1312
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1313
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1314
|
-
]
|
|
1315
|
-
] = None,
|
|
1316
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1317
|
-
_content_type: Optional[StrictStr] = None,
|
|
1318
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1319
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1320
|
-
) -> ApiResponse[AddCampaignArtifactResult]:
|
|
1321
|
-
"""Adds a campaign to a pipeline.
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
:param pipeline_id: The id of the pipeline to update (required)
|
|
1325
|
-
:type pipeline_id: str
|
|
1326
|
-
:param add_campaign_model: The body request
|
|
1327
|
-
:type add_campaign_model: AddCampaignModel
|
|
1328
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1329
|
-
number provided, it will be total request
|
|
1330
|
-
timeout. It can also be a pair (tuple) of
|
|
1331
|
-
(connection, read) timeouts.
|
|
1332
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1333
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1334
|
-
request; this effectively ignores the
|
|
1335
|
-
authentication in the spec for a single request.
|
|
1336
|
-
:type _request_auth: dict, optional
|
|
1337
|
-
:param _content_type: force content-type for the request.
|
|
1338
|
-
:type _content_type: str, Optional
|
|
1339
|
-
:param _headers: set to override the headers for a single
|
|
1340
|
-
request; this effectively ignores the headers
|
|
1341
|
-
in the spec for a single request.
|
|
1342
|
-
:type _headers: dict, optional
|
|
1343
|
-
:param _host_index: set to override the host_index for a single
|
|
1344
|
-
request; this effectively ignores the host_index
|
|
1345
|
-
in the spec for a single request.
|
|
1346
|
-
:type _host_index: int, optional
|
|
1347
|
-
:return: Returns the result object.
|
|
1348
|
-
""" # noqa: E501
|
|
1349
|
-
|
|
1350
|
-
_param = self._pipeline_pipeline_id_campaign_post_serialize(
|
|
1351
|
-
pipeline_id=pipeline_id,
|
|
1352
|
-
add_campaign_model=add_campaign_model,
|
|
1353
|
-
_request_auth=_request_auth,
|
|
1354
|
-
_content_type=_content_type,
|
|
1355
|
-
_headers=_headers,
|
|
1356
|
-
_host_index=_host_index
|
|
1357
|
-
)
|
|
1358
|
-
|
|
1359
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1360
|
-
'200': "AddCampaignArtifactResult",
|
|
1361
|
-
}
|
|
1362
|
-
response_data = self.api_client.call_api(
|
|
1363
|
-
*_param,
|
|
1364
|
-
_request_timeout=_request_timeout
|
|
1365
|
-
)
|
|
1366
|
-
response_data.read()
|
|
1367
|
-
return self.api_client.response_deserialize(
|
|
1368
|
-
response_data=response_data,
|
|
1369
|
-
response_types_map=_response_types_map,
|
|
1370
|
-
)
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
@validate_call
|
|
1374
|
-
def pipeline_pipeline_id_campaign_post_without_preload_content(
|
|
1375
|
-
self,
|
|
1376
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
|
|
1377
|
-
add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
|
|
1378
|
-
_request_timeout: Union[
|
|
1379
|
-
None,
|
|
1380
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1381
|
-
Tuple[
|
|
1382
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1383
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1384
|
-
]
|
|
1385
|
-
] = None,
|
|
1386
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1387
|
-
_content_type: Optional[StrictStr] = None,
|
|
1388
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1389
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1390
|
-
) -> RESTResponseType:
|
|
1391
|
-
"""Adds a campaign to a pipeline.
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
:param pipeline_id: The id of the pipeline to update (required)
|
|
1395
|
-
:type pipeline_id: str
|
|
1396
|
-
:param add_campaign_model: The body request
|
|
1397
|
-
:type add_campaign_model: AddCampaignModel
|
|
1398
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1399
|
-
number provided, it will be total request
|
|
1400
|
-
timeout. It can also be a pair (tuple) of
|
|
1401
|
-
(connection, read) timeouts.
|
|
1402
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1403
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1404
|
-
request; this effectively ignores the
|
|
1405
|
-
authentication in the spec for a single request.
|
|
1406
|
-
:type _request_auth: dict, optional
|
|
1407
|
-
:param _content_type: force content-type for the request.
|
|
1408
|
-
:type _content_type: str, Optional
|
|
1409
|
-
:param _headers: set to override the headers for a single
|
|
1410
|
-
request; this effectively ignores the headers
|
|
1411
|
-
in the spec for a single request.
|
|
1412
|
-
:type _headers: dict, optional
|
|
1413
|
-
:param _host_index: set to override the host_index for a single
|
|
1414
|
-
request; this effectively ignores the host_index
|
|
1415
|
-
in the spec for a single request.
|
|
1416
|
-
:type _host_index: int, optional
|
|
1417
|
-
:return: Returns the result object.
|
|
1418
|
-
""" # noqa: E501
|
|
1419
|
-
|
|
1420
|
-
_param = self._pipeline_pipeline_id_campaign_post_serialize(
|
|
1421
|
-
pipeline_id=pipeline_id,
|
|
1422
|
-
add_campaign_model=add_campaign_model,
|
|
1423
|
-
_request_auth=_request_auth,
|
|
1424
|
-
_content_type=_content_type,
|
|
1425
|
-
_headers=_headers,
|
|
1426
|
-
_host_index=_host_index
|
|
1427
|
-
)
|
|
1428
|
-
|
|
1429
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1430
|
-
'200': "AddCampaignArtifactResult",
|
|
1431
|
-
}
|
|
1432
|
-
response_data = self.api_client.call_api(
|
|
1433
|
-
*_param,
|
|
1434
|
-
_request_timeout=_request_timeout
|
|
1435
|
-
)
|
|
1436
|
-
return response_data.response
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
def _pipeline_pipeline_id_campaign_post_serialize(
|
|
1440
|
-
self,
|
|
1441
|
-
pipeline_id,
|
|
1442
|
-
add_campaign_model,
|
|
1443
|
-
_request_auth,
|
|
1444
|
-
_content_type,
|
|
1445
|
-
_headers,
|
|
1446
|
-
_host_index,
|
|
1447
|
-
) -> RequestSerialized:
|
|
1448
|
-
|
|
1449
|
-
_host = None
|
|
1450
|
-
|
|
1451
|
-
_collection_formats: Dict[str, str] = {
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
_path_params: Dict[str, str] = {}
|
|
1455
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1456
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1457
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1458
|
-
_files: Dict[
|
|
1459
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1460
|
-
] = {}
|
|
1461
|
-
_body_params: Optional[bytes] = None
|
|
1462
|
-
|
|
1463
|
-
# process the path parameters
|
|
1464
|
-
if pipeline_id is not None:
|
|
1465
|
-
_path_params['pipelineId'] = pipeline_id
|
|
1466
|
-
# process the query parameters
|
|
1467
|
-
# process the header parameters
|
|
1468
|
-
# process the form parameters
|
|
1469
|
-
# process the body parameter
|
|
1470
|
-
if add_campaign_model is not None:
|
|
1471
|
-
_body_params = add_campaign_model
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
# set the HTTP header `Accept`
|
|
1475
|
-
if 'Accept' not in _header_params:
|
|
1476
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1477
|
-
[
|
|
1478
|
-
'text/plain',
|
|
1479
|
-
'application/json',
|
|
1480
|
-
'text/json'
|
|
1481
|
-
]
|
|
1482
|
-
)
|
|
1483
|
-
|
|
1484
|
-
# set the HTTP header `Content-Type`
|
|
1485
|
-
if _content_type:
|
|
1486
|
-
_header_params['Content-Type'] = _content_type
|
|
1487
|
-
else:
|
|
1488
|
-
_default_content_type = (
|
|
1489
|
-
self.api_client.select_header_content_type(
|
|
1490
|
-
[
|
|
1491
|
-
'application/json',
|
|
1492
|
-
'text/json',
|
|
1493
|
-
'application/*+json'
|
|
1494
|
-
]
|
|
1495
|
-
)
|
|
1496
|
-
)
|
|
1497
|
-
if _default_content_type is not None:
|
|
1498
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1499
|
-
|
|
1500
|
-
# authentication setting
|
|
1501
|
-
_auth_settings: List[str] = [
|
|
1502
|
-
'bearer',
|
|
1503
|
-
'oauth2'
|
|
1504
|
-
]
|
|
1505
|
-
|
|
1506
|
-
return self.api_client.param_serialize(
|
|
1507
|
-
method='POST',
|
|
1508
|
-
resource_path='/pipeline/{pipelineId}/campaign',
|
|
1509
|
-
path_params=_path_params,
|
|
1510
|
-
query_params=_query_params,
|
|
1511
|
-
header_params=_header_params,
|
|
1512
|
-
body=_body_params,
|
|
1513
|
-
post_params=_form_params,
|
|
1514
|
-
files=_files,
|
|
1515
|
-
auth_settings=_auth_settings,
|
|
1516
|
-
collection_formats=_collection_formats,
|
|
1517
|
-
_host=_host,
|
|
1518
|
-
_request_auth=_request_auth
|
|
1519
|
-
)
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
@validate_call
|
|
1525
|
-
def pipeline_pipeline_id_campaign_put(
|
|
1526
|
-
self,
|
|
1527
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
1528
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
1529
|
-
_request_timeout: Union[
|
|
1530
|
-
None,
|
|
1531
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1532
|
-
Tuple[
|
|
1533
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1534
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1535
|
-
]
|
|
1536
|
-
] = None,
|
|
1537
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1538
|
-
_content_type: Optional[StrictStr] = None,
|
|
1539
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1540
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1541
|
-
) -> None:
|
|
1542
|
-
"""Updates a specific campaign for a pipeline.
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
1546
|
-
:type pipeline_id: str
|
|
1547
|
-
:param update_campaign_model: The new campaign settings.
|
|
1548
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
1549
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1550
|
-
number provided, it will be total request
|
|
1551
|
-
timeout. It can also be a pair (tuple) of
|
|
1552
|
-
(connection, read) timeouts.
|
|
1553
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1554
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1555
|
-
request; this effectively ignores the
|
|
1556
|
-
authentication in the spec for a single request.
|
|
1557
|
-
:type _request_auth: dict, optional
|
|
1558
|
-
:param _content_type: force content-type for the request.
|
|
1559
|
-
:type _content_type: str, Optional
|
|
1560
|
-
:param _headers: set to override the headers for a single
|
|
1561
|
-
request; this effectively ignores the headers
|
|
1562
|
-
in the spec for a single request.
|
|
1563
|
-
:type _headers: dict, optional
|
|
1564
|
-
:param _host_index: set to override the host_index for a single
|
|
1565
|
-
request; this effectively ignores the host_index
|
|
1566
|
-
in the spec for a single request.
|
|
1567
|
-
:type _host_index: int, optional
|
|
1568
|
-
:return: Returns the result object.
|
|
1569
|
-
""" # noqa: E501
|
|
1570
|
-
|
|
1571
|
-
_param = self._pipeline_pipeline_id_campaign_put_serialize(
|
|
1572
|
-
pipeline_id=pipeline_id,
|
|
1573
|
-
update_campaign_model=update_campaign_model,
|
|
1574
|
-
_request_auth=_request_auth,
|
|
1575
|
-
_content_type=_content_type,
|
|
1576
|
-
_headers=_headers,
|
|
1577
|
-
_host_index=_host_index
|
|
1578
|
-
)
|
|
1579
|
-
|
|
1580
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1581
|
-
'204': None,
|
|
1582
|
-
}
|
|
1583
|
-
response_data = self.api_client.call_api(
|
|
1584
|
-
*_param,
|
|
1585
|
-
_request_timeout=_request_timeout
|
|
1586
|
-
)
|
|
1587
|
-
response_data.read()
|
|
1588
|
-
return self.api_client.response_deserialize(
|
|
1589
|
-
response_data=response_data,
|
|
1590
|
-
response_types_map=_response_types_map,
|
|
1591
|
-
).data
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
@validate_call
|
|
1595
|
-
def pipeline_pipeline_id_campaign_put_with_http_info(
|
|
1596
|
-
self,
|
|
1597
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
1598
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
1599
|
-
_request_timeout: Union[
|
|
1600
|
-
None,
|
|
1601
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1602
|
-
Tuple[
|
|
1603
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1604
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1605
|
-
]
|
|
1606
|
-
] = None,
|
|
1607
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1608
|
-
_content_type: Optional[StrictStr] = None,
|
|
1609
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1610
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1611
|
-
) -> ApiResponse[None]:
|
|
1612
|
-
"""Updates a specific campaign for a pipeline.
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
1616
|
-
:type pipeline_id: str
|
|
1617
|
-
:param update_campaign_model: The new campaign settings.
|
|
1618
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
1619
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1620
|
-
number provided, it will be total request
|
|
1621
|
-
timeout. It can also be a pair (tuple) of
|
|
1622
|
-
(connection, read) timeouts.
|
|
1623
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1624
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1625
|
-
request; this effectively ignores the
|
|
1626
|
-
authentication in the spec for a single request.
|
|
1627
|
-
:type _request_auth: dict, optional
|
|
1628
|
-
:param _content_type: force content-type for the request.
|
|
1629
|
-
:type _content_type: str, Optional
|
|
1630
|
-
:param _headers: set to override the headers for a single
|
|
1631
|
-
request; this effectively ignores the headers
|
|
1632
|
-
in the spec for a single request.
|
|
1633
|
-
:type _headers: dict, optional
|
|
1634
|
-
:param _host_index: set to override the host_index for a single
|
|
1635
|
-
request; this effectively ignores the host_index
|
|
1636
|
-
in the spec for a single request.
|
|
1637
|
-
:type _host_index: int, optional
|
|
1638
|
-
:return: Returns the result object.
|
|
1639
|
-
""" # noqa: E501
|
|
1640
|
-
|
|
1641
|
-
_param = self._pipeline_pipeline_id_campaign_put_serialize(
|
|
1642
|
-
pipeline_id=pipeline_id,
|
|
1643
|
-
update_campaign_model=update_campaign_model,
|
|
1644
|
-
_request_auth=_request_auth,
|
|
1645
|
-
_content_type=_content_type,
|
|
1646
|
-
_headers=_headers,
|
|
1647
|
-
_host_index=_host_index
|
|
1648
|
-
)
|
|
1649
|
-
|
|
1650
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1651
|
-
'204': None,
|
|
1652
|
-
}
|
|
1653
|
-
response_data = self.api_client.call_api(
|
|
1654
|
-
*_param,
|
|
1655
|
-
_request_timeout=_request_timeout
|
|
1656
|
-
)
|
|
1657
|
-
response_data.read()
|
|
1658
|
-
return self.api_client.response_deserialize(
|
|
1659
|
-
response_data=response_data,
|
|
1660
|
-
response_types_map=_response_types_map,
|
|
1661
|
-
)
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
@validate_call
|
|
1665
|
-
def pipeline_pipeline_id_campaign_put_without_preload_content(
|
|
1666
|
-
self,
|
|
1667
|
-
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
|
|
1668
|
-
update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
|
|
1669
|
-
_request_timeout: Union[
|
|
1670
|
-
None,
|
|
1671
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1672
|
-
Tuple[
|
|
1673
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1674
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1675
|
-
]
|
|
1676
|
-
] = None,
|
|
1677
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1678
|
-
_content_type: Optional[StrictStr] = None,
|
|
1679
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1680
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1681
|
-
) -> RESTResponseType:
|
|
1682
|
-
"""Updates a specific campaign for a pipeline.
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
:param pipeline_id: The id of the pipeline to update. (required)
|
|
1686
|
-
:type pipeline_id: str
|
|
1687
|
-
:param update_campaign_model: The new campaign settings.
|
|
1688
|
-
:type update_campaign_model: UpdateCampaignModel
|
|
1689
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1690
|
-
number provided, it will be total request
|
|
1691
|
-
timeout. It can also be a pair (tuple) of
|
|
1692
|
-
(connection, read) timeouts.
|
|
1693
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1694
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1695
|
-
request; this effectively ignores the
|
|
1696
|
-
authentication in the spec for a single request.
|
|
1697
|
-
:type _request_auth: dict, optional
|
|
1698
|
-
:param _content_type: force content-type for the request.
|
|
1699
|
-
:type _content_type: str, Optional
|
|
1700
|
-
:param _headers: set to override the headers for a single
|
|
1701
|
-
request; this effectively ignores the headers
|
|
1702
|
-
in the spec for a single request.
|
|
1703
|
-
:type _headers: dict, optional
|
|
1704
|
-
:param _host_index: set to override the host_index for a single
|
|
1705
|
-
request; this effectively ignores the host_index
|
|
1706
|
-
in the spec for a single request.
|
|
1707
|
-
:type _host_index: int, optional
|
|
1708
|
-
:return: Returns the result object.
|
|
1709
|
-
""" # noqa: E501
|
|
1710
|
-
|
|
1711
|
-
_param = self._pipeline_pipeline_id_campaign_put_serialize(
|
|
1712
|
-
pipeline_id=pipeline_id,
|
|
1713
|
-
update_campaign_model=update_campaign_model,
|
|
1714
|
-
_request_auth=_request_auth,
|
|
1715
|
-
_content_type=_content_type,
|
|
1716
|
-
_headers=_headers,
|
|
1717
|
-
_host_index=_host_index
|
|
1718
|
-
)
|
|
1719
|
-
|
|
1720
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1721
|
-
'204': None,
|
|
1722
|
-
}
|
|
1723
|
-
response_data = self.api_client.call_api(
|
|
1724
|
-
*_param,
|
|
1725
|
-
_request_timeout=_request_timeout
|
|
1726
|
-
)
|
|
1727
|
-
return response_data.response
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
def _pipeline_pipeline_id_campaign_put_serialize(
|
|
1731
|
-
self,
|
|
1732
|
-
pipeline_id,
|
|
1733
|
-
update_campaign_model,
|
|
1734
|
-
_request_auth,
|
|
1735
|
-
_content_type,
|
|
1736
|
-
_headers,
|
|
1737
|
-
_host_index,
|
|
1738
|
-
) -> RequestSerialized:
|
|
1739
|
-
|
|
1740
|
-
_host = None
|
|
1741
|
-
|
|
1742
|
-
_collection_formats: Dict[str, str] = {
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
_path_params: Dict[str, str] = {}
|
|
1746
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1747
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1748
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1749
|
-
_files: Dict[
|
|
1750
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1751
|
-
] = {}
|
|
1752
|
-
_body_params: Optional[bytes] = None
|
|
1753
|
-
|
|
1754
|
-
# process the path parameters
|
|
1755
|
-
if pipeline_id is not None:
|
|
1756
|
-
_path_params['pipelineId'] = pipeline_id
|
|
1757
|
-
# process the query parameters
|
|
1758
|
-
# process the header parameters
|
|
1759
|
-
# process the form parameters
|
|
1760
|
-
# process the body parameter
|
|
1761
|
-
if update_campaign_model is not None:
|
|
1762
|
-
_body_params = update_campaign_model
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
# set the HTTP header `Content-Type`
|
|
1767
|
-
if _content_type:
|
|
1768
|
-
_header_params['Content-Type'] = _content_type
|
|
1769
|
-
else:
|
|
1770
|
-
_default_content_type = (
|
|
1771
|
-
self.api_client.select_header_content_type(
|
|
1772
|
-
[
|
|
1773
|
-
'application/json',
|
|
1774
|
-
'text/json',
|
|
1775
|
-
'application/*+json'
|
|
1776
|
-
]
|
|
1777
|
-
)
|
|
1778
|
-
)
|
|
1779
|
-
if _default_content_type is not None:
|
|
1780
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1781
|
-
|
|
1782
|
-
# authentication setting
|
|
1783
|
-
_auth_settings: List[str] = [
|
|
1784
|
-
'bearer',
|
|
1785
|
-
'oauth2'
|
|
1786
|
-
]
|
|
1787
|
-
|
|
1788
|
-
return self.api_client.param_serialize(
|
|
1789
|
-
method='PUT',
|
|
1790
|
-
resource_path='/pipeline/{pipelineId}/campaign',
|
|
1791
|
-
path_params=_path_params,
|
|
1792
|
-
query_params=_query_params,
|
|
1793
|
-
header_params=_header_params,
|
|
1794
|
-
body=_body_params,
|
|
1795
|
-
post_params=_form_params,
|
|
1796
|
-
files=_files,
|
|
1797
|
-
auth_settings=_auth_settings,
|
|
1798
|
-
collection_formats=_collection_formats,
|
|
1799
|
-
_host=_host,
|
|
1800
|
-
_request_auth=_request_auth
|
|
1801
|
-
)
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
44
|
@validate_call
|
|
1807
45
|
def pipeline_pipeline_id_get(
|
|
1808
46
|
self,
|
|
@@ -2042,8 +280,9 @@ class PipelineApi:
|
|
|
2042
280
|
|
|
2043
281
|
# authentication setting
|
|
2044
282
|
_auth_settings: List[str] = [
|
|
2045
|
-
'
|
|
2046
|
-
'
|
|
283
|
+
'OAuth2',
|
|
284
|
+
'OpenIdConnect',
|
|
285
|
+
'Bearer'
|
|
2047
286
|
]
|
|
2048
287
|
|
|
2049
288
|
return self.api_client.param_serialize(
|
|
@@ -2068,7 +307,7 @@ class PipelineApi:
|
|
|
2068
307
|
def pipeline_pipeline_id_preliminary_download_post(
|
|
2069
308
|
self,
|
|
2070
309
|
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
|
|
2071
|
-
preliminary_download_model: Annotated[
|
|
310
|
+
preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
|
|
2072
311
|
_request_timeout: Union[
|
|
2073
312
|
None,
|
|
2074
313
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2081,13 +320,13 @@ class PipelineApi:
|
|
|
2081
320
|
_content_type: Optional[StrictStr] = None,
|
|
2082
321
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2083
322
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2084
|
-
) ->
|
|
323
|
+
) -> StartPreliminaryDownloadResult:
|
|
2085
324
|
"""Initiates a preliminary download of the pipeline.
|
|
2086
325
|
|
|
2087
326
|
|
|
2088
327
|
:param pipeline_id: The id of the pipeline to initiate the download for. (required)
|
|
2089
328
|
:type pipeline_id: str
|
|
2090
|
-
:param preliminary_download_model: The body request.
|
|
329
|
+
:param preliminary_download_model: The body request. (required)
|
|
2091
330
|
:type preliminary_download_model: PreliminaryDownloadModel
|
|
2092
331
|
:param _request_timeout: timeout setting for this request. If one
|
|
2093
332
|
number provided, it will be total request
|
|
@@ -2121,7 +360,7 @@ class PipelineApi:
|
|
|
2121
360
|
)
|
|
2122
361
|
|
|
2123
362
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2124
|
-
'200': "
|
|
363
|
+
'200': "StartPreliminaryDownloadResult",
|
|
2125
364
|
}
|
|
2126
365
|
response_data = self.api_client.call_api(
|
|
2127
366
|
*_param,
|
|
@@ -2138,7 +377,7 @@ class PipelineApi:
|
|
|
2138
377
|
def pipeline_pipeline_id_preliminary_download_post_with_http_info(
|
|
2139
378
|
self,
|
|
2140
379
|
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
|
|
2141
|
-
preliminary_download_model: Annotated[
|
|
380
|
+
preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
|
|
2142
381
|
_request_timeout: Union[
|
|
2143
382
|
None,
|
|
2144
383
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2151,13 +390,13 @@ class PipelineApi:
|
|
|
2151
390
|
_content_type: Optional[StrictStr] = None,
|
|
2152
391
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2153
392
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2154
|
-
) -> ApiResponse[
|
|
393
|
+
) -> ApiResponse[StartPreliminaryDownloadResult]:
|
|
2155
394
|
"""Initiates a preliminary download of the pipeline.
|
|
2156
395
|
|
|
2157
396
|
|
|
2158
397
|
:param pipeline_id: The id of the pipeline to initiate the download for. (required)
|
|
2159
398
|
:type pipeline_id: str
|
|
2160
|
-
:param preliminary_download_model: The body request.
|
|
399
|
+
:param preliminary_download_model: The body request. (required)
|
|
2161
400
|
:type preliminary_download_model: PreliminaryDownloadModel
|
|
2162
401
|
:param _request_timeout: timeout setting for this request. If one
|
|
2163
402
|
number provided, it will be total request
|
|
@@ -2191,7 +430,7 @@ class PipelineApi:
|
|
|
2191
430
|
)
|
|
2192
431
|
|
|
2193
432
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2194
|
-
'200': "
|
|
433
|
+
'200': "StartPreliminaryDownloadResult",
|
|
2195
434
|
}
|
|
2196
435
|
response_data = self.api_client.call_api(
|
|
2197
436
|
*_param,
|
|
@@ -2208,7 +447,7 @@ class PipelineApi:
|
|
|
2208
447
|
def pipeline_pipeline_id_preliminary_download_post_without_preload_content(
|
|
2209
448
|
self,
|
|
2210
449
|
pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
|
|
2211
|
-
preliminary_download_model: Annotated[
|
|
450
|
+
preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
|
|
2212
451
|
_request_timeout: Union[
|
|
2213
452
|
None,
|
|
2214
453
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2227,7 +466,7 @@ class PipelineApi:
|
|
|
2227
466
|
|
|
2228
467
|
:param pipeline_id: The id of the pipeline to initiate the download for. (required)
|
|
2229
468
|
:type pipeline_id: str
|
|
2230
|
-
:param preliminary_download_model: The body request.
|
|
469
|
+
:param preliminary_download_model: The body request. (required)
|
|
2231
470
|
:type preliminary_download_model: PreliminaryDownloadModel
|
|
2232
471
|
:param _request_timeout: timeout setting for this request. If one
|
|
2233
472
|
number provided, it will be total request
|
|
@@ -2261,7 +500,7 @@ class PipelineApi:
|
|
|
2261
500
|
)
|
|
2262
501
|
|
|
2263
502
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2264
|
-
'200': "
|
|
503
|
+
'200': "StartPreliminaryDownloadResult",
|
|
2265
504
|
}
|
|
2266
505
|
response_data = self.api_client.call_api(
|
|
2267
506
|
*_param,
|
|
@@ -2333,8 +572,9 @@ class PipelineApi:
|
|
|
2333
572
|
|
|
2334
573
|
# authentication setting
|
|
2335
574
|
_auth_settings: List[str] = [
|
|
2336
|
-
'
|
|
2337
|
-
'
|
|
575
|
+
'OAuth2',
|
|
576
|
+
'OpenIdConnect',
|
|
577
|
+
'Bearer'
|
|
2338
578
|
]
|
|
2339
579
|
|
|
2340
580
|
return self.api_client.param_serialize(
|
|
@@ -2600,8 +840,9 @@ class PipelineApi:
|
|
|
2600
840
|
|
|
2601
841
|
# authentication setting
|
|
2602
842
|
_auth_settings: List[str] = [
|
|
2603
|
-
'
|
|
2604
|
-
'
|
|
843
|
+
'OAuth2',
|
|
844
|
+
'OpenIdConnect',
|
|
845
|
+
'Bearer'
|
|
2605
846
|
]
|
|
2606
847
|
|
|
2607
848
|
return self.api_client.param_serialize(
|