rapidata 1.8.3__py3-none-any.whl → 2.44.4__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 +32 -16
- rapidata/api_client/__init__.py +83 -279
- rapidata/api_client/api/__init__.py +14 -4
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +1133 -0
- rapidata/api_client/api/benchmark_api.py +3966 -0
- rapidata/api_client/api/campaign_api.py +926 -125
- rapidata/api_client/api/client_api.py +589 -42
- rapidata/api_client/api/coco_api.py +45 -45
- rapidata/api_client/api/compare_workflow_api.py +47 -45
- rapidata/api_client/api/{validation_api.py → customer_rapid_api.py} +367 -378
- rapidata/api_client/api/datapoint_api.py +69 -336
- rapidata/api_client/api/dataset_api.py +263 -872
- rapidata/api_client/api/evaluation_workflow_api.py +319 -0
- rapidata/api_client/api/feedback_api.py +306 -0
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +365 -120
- rapidata/api_client/api/leaderboard_api.py +2550 -0
- rapidata/api_client/api/newsletter_api.py +35 -34
- rapidata/api_client/api/order_api.py +1111 -787
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +156 -139
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapid_api.py +1288 -189
- 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 +47 -79
- 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 +3052 -0
- rapidata/api_client/api/workflow_api.py +410 -96
- 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 -260
- rapidata/api_client/models/ab_test_selection.py +122 -0
- rapidata/api_client/models/ab_test_selection_a_inner.py +240 -0
- rapidata/api_client/models/add_campaign_model.py +52 -11
- rapidata/api_client/models/add_campaign_model_user_filters_inner.py +224 -0
- rapidata/api_client/models/add_user_response_result.py +111 -0
- rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
- rapidata/api_client/models/add_validation_rapid_model.py +61 -23
- 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_payload.py +30 -16
- rapidata/api_client/models/add_validation_rapid_model_truth.py +65 -17
- 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 +14 -9
- rapidata/api_client/models/age_group.py +5 -4
- 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 +5 -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 +87 -0
- 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_status.py +38 -0
- rapidata/api_client/models/base_error.py +1 -4
- 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 +89 -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 +107 -0
- rapidata/api_client/models/campaign_query_result_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +4 -2
- rapidata/api_client/models/capped_selection.py +3 -3
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +14 -5
- rapidata/api_client/models/classification_metadata_model.py +2 -4
- 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 +2 -2
- 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_match_status.py +39 -0
- 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 +4 -4
- rapidata/api_client/models/compare_workflow_config.py +31 -22
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +296 -0
- rapidata/api_client/models/compare_workflow_config_model.py +32 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_model.py +59 -14
- rapidata/api_client/models/compare_workflow_model1.py +32 -19
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +126 -0
- 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 +126 -0
- rapidata/api_client/models/comparison_operator.py +41 -0
- rapidata/api_client/models/conditional_validation_selection.py +9 -5
- 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/coordinate.py +2 -2
- rapidata/api_client/models/count_metadata.py +13 -4
- rapidata/api_client/models/count_metadata_model.py +2 -4
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +99 -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.py +102 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +182 -0
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_model.py +134 -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 +87 -0
- rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -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_leaderboard_model.py +140 -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_model.py +41 -52
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +83 -11
- 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 +87 -0
- 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 +87 -0
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client/models/datapoint.py +12 -28
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +13 -6
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +38 -0
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/demographic.py +89 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/demographic_metadata_model.py +18 -9
- 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 +91 -0
- rapidata/api_client/models/elo_config_model.py +91 -0
- 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/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/existing_asset_input.py +120 -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.py +18 -13
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/file_asset_model_metadata_value.py +252 -0
- 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 +111 -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 +96 -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_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +87 -0
- rapidata/api_client/models/get_compare_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_compare_workflow_results_result.py +95 -0
- rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
- rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_datapoint_by_id_result.py +103 -0
- 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 +93 -0
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- 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_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 +18 -8
- 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 +106 -0
- 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 +95 -0
- 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 +119 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_query.py +123 -0
- rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result.py +150 -0
- rapidata/api_client/models/get_validation_rapids_result_asset.py +174 -0
- rapidata/api_client/models/get_validation_rapids_result_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/get_validation_rapids_result_truth.py +286 -0
- 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 +37 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +129 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- 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_campaign_filter.py +282 -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_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -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_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 +103 -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 +103 -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 +282 -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_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 +104 -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/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/image_dimension_metadata.py +13 -4
- rapidata/api_client/models/image_dimension_metadata_model.py +2 -4
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +92 -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 +21 -4
- 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 +14 -5
- rapidata/api_client/models/location_metadata_model.py +2 -4
- rapidata/api_client/models/logic_operator.py +3 -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/metadata_visibilities.py +1 -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 +21 -16
- rapidata/api_client/models/multi_asset_model2.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/new_user_filter_model.py +94 -0
- rapidata/api_client/models/new_user_filter_model1.py +94 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +87 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +102 -0
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/null_asset_model.py +18 -13
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +106 -0
- rapidata/api_client/models/order_model.py +16 -13
- rapidata/api_client/models/order_state.py +3 -2
- rapidata/api_client/models/original_filename_metadata.py +14 -5
- rapidata/api_client/models/original_filename_metadata_model.py +2 -4
- 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_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_artifact_id_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_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/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/preliminary_download_model.py +87 -0
- rapidata/api_client/models/preliminary_download_result.py +87 -0
- rapidata/api_client/models/preview_order_model.py +87 -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 +13 -4
- rapidata/api_client/models/prompt_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_metadata_model.py +2 -4
- 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 +111 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_model.py +10 -5
- 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/query_validation_rapids_result.py +50 -5
- rapidata/api_client/models/query_validation_rapids_result_asset.py +40 -40
- rapidata/api_client/models/query_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/query_validation_rapids_result_truth.py +258 -0
- rapidata/api_client/models/rapid_answer.py +3 -1
- rapidata/api_client/models/rapid_answer_result.py +31 -17
- rapidata/api_client/models/rapid_issue.py +45 -0
- 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_response.py +103 -0
- rapidata/api_client/models/rapid_response_result.py +266 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_result_model_result.py +31 -17
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +41 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +3 -8
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +109 -0
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/retrieval_mode.py +38 -0
- 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_payload.py +96 -0
- rapidata/api_client/models/scrub_range.py +89 -0
- rapidata/api_client/models/scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/scrub_result.py +98 -0
- rapidata/api_client/models/scrub_truth.py +104 -0
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/shuffling_selection.py +106 -0
- rapidata/api_client/models/simple_workflow_config.py +6 -17
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +6 -22
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +31 -17
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +5 -12
- rapidata/api_client/models/simple_workflow_model_blueprint.py +31 -17
- rapidata/api_client/models/skip_truth.py +94 -0
- 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 +109 -0
- rapidata/api_client/models/source_url_metadata_model.py +96 -0
- 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 +39 -0
- 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 +87 -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_asset_model.py +18 -13
- rapidata/api_client/models/text_metadata.py +20 -6
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +9 -6
- rapidata/api_client/models/transcription_metadata.py +10 -4
- rapidata/api_client/models/transcription_metadata_input.py +4 -6
- rapidata/api_client/models/transcription_metadata_model.py +1 -3
- rapidata/api_client/models/transcription_truth.py +23 -4
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_prompt_metadata_model.py +2 -4
- 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 +102 -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 +99 -0
- rapidata/api_client/models/update_dataset_name_model.py +87 -0
- rapidata/api_client/models/update_dimensions_model.py +87 -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 +87 -0
- 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 +125 -0
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +280 -0
- 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 +15 -5
- rapidata/api_client/models/upload_from_s3_result.py +87 -0
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +26 -4
- 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_score_user_filter_model.py +9 -2
- 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_import_post_request_blueprint.py +31 -17
- 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/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 +193 -154
- rapidata/api_client_README.md +488 -293
- rapidata/rapidata_client/__init__.py +27 -13
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +32 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +221 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +145 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +546 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +219 -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 +10 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +169 -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/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/datapoints/metadata/__init__.py +7 -0
- rapidata/rapidata_client/{selection/base_selection.py → datapoints/metadata/_base_metadata.py} +2 -1
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +26 -0
- 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/_prompt_metadata.py +12 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +17 -0
- rapidata/rapidata_client/demographic/__init__.py +0 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +54 -0
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +7 -1
- rapidata/rapidata_client/filter/_base_filter.py +62 -0
- rapidata/rapidata_client/filter/age_filter.py +28 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +28 -11
- rapidata/rapidata_client/filter/country_filter.py +42 -13
- rapidata/rapidata_client/filter/custom_filter.py +39 -0
- rapidata/rapidata_client/filter/gender_filter.py +29 -10
- rapidata/rapidata_client/filter/language_filter.py +49 -15
- rapidata/rapidata_client/filter/models/__init__.py +0 -0
- rapidata/rapidata_client/filter/models/age_group.py +28 -0
- rapidata/rapidata_client/filter/models/gender.py +23 -0
- rapidata/rapidata_client/filter/new_user_filter.py +20 -0
- rapidata/rapidata_client/filter/not_filter.py +42 -0
- rapidata/rapidata_client/filter/or_filter.py +42 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +60 -0
- rapidata/rapidata_client/filter/response_count_filter.py +62 -0
- rapidata/rapidata_client/filter/user_score_filter.py +60 -14
- rapidata/rapidata_client/order/_rapidata_order_builder.py +481 -0
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +393 -90
- rapidata/rapidata_client/order/rapidata_order_manager.py +922 -0
- rapidata/rapidata_client/order/rapidata_results.py +251 -0
- rapidata/rapidata_client/rapidata_client.py +125 -180
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +9 -5
- rapidata/rapidata_client/referee/_early_stopping_referee.py +62 -0
- rapidata/rapidata_client/referee/_naive_referee.py +48 -0
- rapidata/rapidata_client/selection/__init__.py +6 -1
- rapidata/rapidata_client/selection/_base_selection.py +16 -0
- rapidata/rapidata_client/selection/ab_test_selection.py +46 -0
- rapidata/rapidata_client/selection/capped_selection.py +34 -17
- rapidata/rapidata_client/selection/conditional_validation_selection.py +71 -21
- rapidata/rapidata_client/selection/demographic_selection.py +43 -8
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +45 -8
- rapidata/rapidata_client/selection/rapidata_retrieval_modes.py +21 -0
- rapidata/rapidata_client/selection/rapidata_selections.py +47 -0
- rapidata/rapidata_client/selection/shuffling_selection.py +44 -0
- rapidata/rapidata_client/selection/static_selection.py +33 -0
- rapidata/rapidata_client/selection/validation_selection.py +29 -6
- rapidata/rapidata_client/settings/__init__.py +12 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +24 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +25 -0
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +17 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +22 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +15 -0
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +18 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +19 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +51 -0
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +20 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +141 -0
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +42 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +469 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +814 -0
- rapidata/rapidata_client/workflow/__init__.py +11 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +43 -0
- rapidata/rapidata_client/workflow/_classify_workflow.py +92 -0
- rapidata/rapidata_client/workflow/_compare_workflow.py +76 -0
- rapidata/rapidata_client/workflow/_draw_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +47 -0
- rapidata/rapidata_client/workflow/_free_text_workflow.py +81 -0
- rapidata/rapidata_client/workflow/_locate_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +131 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +74 -0
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +65 -0
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +41 -32
- rapidata/service/openapi_service.py +153 -35
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.4.dist-info/METADATA +32 -0
- rapidata-2.44.4.dist-info/RECORD +1014 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info}/WHEEL +1 -1
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/assets/__init__.py +0 -8
- rapidata/rapidata_client/assets/base_asset.py +0 -11
- rapidata/rapidata_client/assets/media_asset.py +0 -88
- rapidata/rapidata_client/assets/multi_asset.py +0 -55
- rapidata/rapidata_client/assets/text_asset.py +0 -28
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -32
- rapidata/rapidata_client/dataset/rapid_builders/transcription_rapid_builders.py +0 -132
- rapidata/rapidata_client/dataset/rapidata_dataset.py +0 -126
- rapidata/rapidata_client/dataset/rapidata_validation_set.py +0 -300
- rapidata/rapidata_client/dataset/validation_rapid_parts.py +0 -55
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -324
- rapidata/rapidata_client/filter/base_filter.py +0 -9
- rapidata/rapidata_client/metadata/__init__.py +0 -5
- rapidata/rapidata_client/metadata/base_metadata.py +0 -12
- rapidata/rapidata_client/metadata/private_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/prompt_metadata.py +0 -17
- rapidata/rapidata_client/metadata/public_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/transcription_metadata.py +0 -19
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/referee/early_stopping_referee.py +0 -50
- rapidata/rapidata_client/referee/naive_referee.py +0 -33
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -245
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -250
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -180
- rapidata/rapidata_client/simple_builders/simple_transcription_builders.py +0 -194
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/classify_workflow.py +0 -49
- rapidata/rapidata_client/workflow/compare_workflow.py +0 -47
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- rapidata/rapidata_client/workflow/free_text_workflow.py +0 -50
- rapidata/rapidata_client/workflow/transcription_workflow.py +0 -40
- rapidata/service/local_file_service.py +0 -25
- rapidata/service/token_manager.py +0 -175
- rapidata-1.8.3.dist-info/METADATA +0 -28
- rapidata-1.8.3.dist-info/RECORD +0 -396
- /rapidata/rapidata_client/{dataset → api}/__init__.py +0 -0
- /rapidata/rapidata_client/{simple_builders → benchmark}/__init__.py +0 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.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)
|
|
@@ -16,26 +16,25 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field,
|
|
20
|
-
from typing import
|
|
19
|
+
from pydantic import Field, StrictFloat, StrictInt, StrictStr
|
|
20
|
+
from typing import Optional, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
-
from rapidata.api_client.models.
|
|
23
|
-
from rapidata.api_client.models.
|
|
24
|
-
from rapidata.api_client.models.
|
|
25
|
-
from rapidata.api_client.models.
|
|
26
|
-
from rapidata.api_client.models.
|
|
27
|
-
from rapidata.api_client.models.
|
|
28
|
-
from rapidata.api_client.models.
|
|
29
|
-
from rapidata.api_client.models.
|
|
30
|
-
from rapidata.api_client.models.
|
|
31
|
-
from rapidata.api_client.models.validation_set_model_paged_result import ValidationSetModelPagedResult
|
|
22
|
+
from rapidata.api_client.models.create_demographic_rapid_model import CreateDemographicRapidModel
|
|
23
|
+
from rapidata.api_client.models.create_rapid_result import CreateRapidResult
|
|
24
|
+
from rapidata.api_client.models.get_public_responses_result import GetPublicResponsesResult
|
|
25
|
+
from rapidata.api_client.models.get_responses_for_rapid_result import GetResponsesForRapidResult
|
|
26
|
+
from rapidata.api_client.models.paged_result_of_query_validation_rapid_eligibility_result import PagedResultOfQueryValidationRapidEligibilityResult
|
|
27
|
+
from rapidata.api_client.models.paged_result_of_rapid_model import PagedResultOfRapidModel
|
|
28
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
29
|
+
from rapidata.api_client.models.query_validation_rapid_eligibility_model_query_validation_model import QueryValidationRapidEligibilityModelQueryValidationModel
|
|
30
|
+
from rapidata.api_client.models.update_validation_rapid_model import UpdateValidationRapidModel
|
|
32
31
|
|
|
33
32
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
34
33
|
from rapidata.api_client.api_response import ApiResponse
|
|
35
34
|
from rapidata.api_client.rest import RESTResponseType
|
|
36
35
|
|
|
37
36
|
|
|
38
|
-
class
|
|
37
|
+
class CustomerRapidApi:
|
|
39
38
|
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
40
39
|
Ref: https://openapi-generator.tech
|
|
41
40
|
|
|
@@ -49,10 +48,13 @@ class ValidationApi:
|
|
|
49
48
|
|
|
50
49
|
|
|
51
50
|
@validate_call
|
|
52
|
-
def
|
|
51
|
+
def rapid_correlation_id_validation_potential_get(
|
|
53
52
|
self,
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
correlation_id: StrictStr,
|
|
54
|
+
min_responses: Optional[StrictInt] = None,
|
|
55
|
+
min_confidence: Optional[Union[StrictFloat, StrictInt]] = None,
|
|
56
|
+
target_group_id: Optional[StrictStr] = None,
|
|
57
|
+
request: Optional[QueryValidationRapidEligibilityModelQueryValidationModel] = None,
|
|
56
58
|
_request_timeout: Union[
|
|
57
59
|
None,
|
|
58
60
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -65,14 +67,20 @@ class ValidationApi:
|
|
|
65
67
|
_content_type: Optional[StrictStr] = None,
|
|
66
68
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
69
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
-
) ->
|
|
69
|
-
"""
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
:param
|
|
73
|
-
:type
|
|
74
|
-
:param
|
|
75
|
-
:type
|
|
70
|
+
) -> PagedResultOfQueryValidationRapidEligibilityResult:
|
|
71
|
+
"""Queries rapids that are potentially eligible for validation set creation.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param correlation_id: (required)
|
|
75
|
+
:type correlation_id: str
|
|
76
|
+
:param min_responses:
|
|
77
|
+
:type min_responses: int
|
|
78
|
+
:param min_confidence:
|
|
79
|
+
:type min_confidence: float
|
|
80
|
+
:param target_group_id:
|
|
81
|
+
:type target_group_id: str
|
|
82
|
+
:param request:
|
|
83
|
+
:type request: QueryValidationRapidEligibilityModelQueryValidationModel
|
|
76
84
|
:param _request_timeout: timeout setting for this request. If one
|
|
77
85
|
number provided, it will be total request
|
|
78
86
|
timeout. It can also be a pair (tuple) of
|
|
@@ -95,9 +103,12 @@ class ValidationApi:
|
|
|
95
103
|
:return: Returns the result object.
|
|
96
104
|
""" # noqa: E501
|
|
97
105
|
|
|
98
|
-
_param = self.
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
_param = self._rapid_correlation_id_validation_potential_get_serialize(
|
|
107
|
+
correlation_id=correlation_id,
|
|
108
|
+
min_responses=min_responses,
|
|
109
|
+
min_confidence=min_confidence,
|
|
110
|
+
target_group_id=target_group_id,
|
|
111
|
+
request=request,
|
|
101
112
|
_request_auth=_request_auth,
|
|
102
113
|
_content_type=_content_type,
|
|
103
114
|
_headers=_headers,
|
|
@@ -105,7 +116,7 @@ class ValidationApi:
|
|
|
105
116
|
)
|
|
106
117
|
|
|
107
118
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
108
|
-
'200': "
|
|
119
|
+
'200': "PagedResultOfQueryValidationRapidEligibilityResult",
|
|
109
120
|
}
|
|
110
121
|
response_data = self.api_client.call_api(
|
|
111
122
|
*_param,
|
|
@@ -119,10 +130,13 @@ class ValidationApi:
|
|
|
119
130
|
|
|
120
131
|
|
|
121
132
|
@validate_call
|
|
122
|
-
def
|
|
133
|
+
def rapid_correlation_id_validation_potential_get_with_http_info(
|
|
123
134
|
self,
|
|
124
|
-
|
|
125
|
-
|
|
135
|
+
correlation_id: StrictStr,
|
|
136
|
+
min_responses: Optional[StrictInt] = None,
|
|
137
|
+
min_confidence: Optional[Union[StrictFloat, StrictInt]] = None,
|
|
138
|
+
target_group_id: Optional[StrictStr] = None,
|
|
139
|
+
request: Optional[QueryValidationRapidEligibilityModelQueryValidationModel] = None,
|
|
126
140
|
_request_timeout: Union[
|
|
127
141
|
None,
|
|
128
142
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -135,14 +149,20 @@ class ValidationApi:
|
|
|
135
149
|
_content_type: Optional[StrictStr] = None,
|
|
136
150
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
137
151
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
138
|
-
) -> ApiResponse[
|
|
139
|
-
"""
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
:param
|
|
143
|
-
:type
|
|
144
|
-
:param
|
|
145
|
-
:type
|
|
152
|
+
) -> ApiResponse[PagedResultOfQueryValidationRapidEligibilityResult]:
|
|
153
|
+
"""Queries rapids that are potentially eligible for validation set creation.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param correlation_id: (required)
|
|
157
|
+
:type correlation_id: str
|
|
158
|
+
:param min_responses:
|
|
159
|
+
:type min_responses: int
|
|
160
|
+
:param min_confidence:
|
|
161
|
+
:type min_confidence: float
|
|
162
|
+
:param target_group_id:
|
|
163
|
+
:type target_group_id: str
|
|
164
|
+
:param request:
|
|
165
|
+
:type request: QueryValidationRapidEligibilityModelQueryValidationModel
|
|
146
166
|
:param _request_timeout: timeout setting for this request. If one
|
|
147
167
|
number provided, it will be total request
|
|
148
168
|
timeout. It can also be a pair (tuple) of
|
|
@@ -165,9 +185,12 @@ class ValidationApi:
|
|
|
165
185
|
:return: Returns the result object.
|
|
166
186
|
""" # noqa: E501
|
|
167
187
|
|
|
168
|
-
_param = self.
|
|
169
|
-
|
|
170
|
-
|
|
188
|
+
_param = self._rapid_correlation_id_validation_potential_get_serialize(
|
|
189
|
+
correlation_id=correlation_id,
|
|
190
|
+
min_responses=min_responses,
|
|
191
|
+
min_confidence=min_confidence,
|
|
192
|
+
target_group_id=target_group_id,
|
|
193
|
+
request=request,
|
|
171
194
|
_request_auth=_request_auth,
|
|
172
195
|
_content_type=_content_type,
|
|
173
196
|
_headers=_headers,
|
|
@@ -175,7 +198,7 @@ class ValidationApi:
|
|
|
175
198
|
)
|
|
176
199
|
|
|
177
200
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
178
|
-
'200': "
|
|
201
|
+
'200': "PagedResultOfQueryValidationRapidEligibilityResult",
|
|
179
202
|
}
|
|
180
203
|
response_data = self.api_client.call_api(
|
|
181
204
|
*_param,
|
|
@@ -189,10 +212,13 @@ class ValidationApi:
|
|
|
189
212
|
|
|
190
213
|
|
|
191
214
|
@validate_call
|
|
192
|
-
def
|
|
215
|
+
def rapid_correlation_id_validation_potential_get_without_preload_content(
|
|
193
216
|
self,
|
|
194
|
-
|
|
195
|
-
|
|
217
|
+
correlation_id: StrictStr,
|
|
218
|
+
min_responses: Optional[StrictInt] = None,
|
|
219
|
+
min_confidence: Optional[Union[StrictFloat, StrictInt]] = None,
|
|
220
|
+
target_group_id: Optional[StrictStr] = None,
|
|
221
|
+
request: Optional[QueryValidationRapidEligibilityModelQueryValidationModel] = None,
|
|
196
222
|
_request_timeout: Union[
|
|
197
223
|
None,
|
|
198
224
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -206,13 +232,19 @@ class ValidationApi:
|
|
|
206
232
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
207
233
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
208
234
|
) -> RESTResponseType:
|
|
209
|
-
"""
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
:param
|
|
213
|
-
:type
|
|
214
|
-
:param
|
|
215
|
-
:type
|
|
235
|
+
"""Queries rapids that are potentially eligible for validation set creation.
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
:param correlation_id: (required)
|
|
239
|
+
:type correlation_id: str
|
|
240
|
+
:param min_responses:
|
|
241
|
+
:type min_responses: int
|
|
242
|
+
:param min_confidence:
|
|
243
|
+
:type min_confidence: float
|
|
244
|
+
:param target_group_id:
|
|
245
|
+
:type target_group_id: str
|
|
246
|
+
:param request:
|
|
247
|
+
:type request: QueryValidationRapidEligibilityModelQueryValidationModel
|
|
216
248
|
:param _request_timeout: timeout setting for this request. If one
|
|
217
249
|
number provided, it will be total request
|
|
218
250
|
timeout. It can also be a pair (tuple) of
|
|
@@ -235,9 +267,12 @@ class ValidationApi:
|
|
|
235
267
|
:return: Returns the result object.
|
|
236
268
|
""" # noqa: E501
|
|
237
269
|
|
|
238
|
-
_param = self.
|
|
239
|
-
|
|
240
|
-
|
|
270
|
+
_param = self._rapid_correlation_id_validation_potential_get_serialize(
|
|
271
|
+
correlation_id=correlation_id,
|
|
272
|
+
min_responses=min_responses,
|
|
273
|
+
min_confidence=min_confidence,
|
|
274
|
+
target_group_id=target_group_id,
|
|
275
|
+
request=request,
|
|
241
276
|
_request_auth=_request_auth,
|
|
242
277
|
_content_type=_content_type,
|
|
243
278
|
_headers=_headers,
|
|
@@ -245,7 +280,7 @@ class ValidationApi:
|
|
|
245
280
|
)
|
|
246
281
|
|
|
247
282
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
248
|
-
'200': "
|
|
283
|
+
'200': "PagedResultOfQueryValidationRapidEligibilityResult",
|
|
249
284
|
}
|
|
250
285
|
response_data = self.api_client.call_api(
|
|
251
286
|
*_param,
|
|
@@ -254,10 +289,13 @@ class ValidationApi:
|
|
|
254
289
|
return response_data.response
|
|
255
290
|
|
|
256
291
|
|
|
257
|
-
def
|
|
292
|
+
def _rapid_correlation_id_validation_potential_get_serialize(
|
|
258
293
|
self,
|
|
259
|
-
|
|
260
|
-
|
|
294
|
+
correlation_id,
|
|
295
|
+
min_responses,
|
|
296
|
+
min_confidence,
|
|
297
|
+
target_group_id,
|
|
298
|
+
request,
|
|
261
299
|
_request_auth,
|
|
262
300
|
_content_type,
|
|
263
301
|
_headers,
|
|
@@ -267,7 +305,6 @@ class ValidationApi:
|
|
|
267
305
|
_host = None
|
|
268
306
|
|
|
269
307
|
_collection_formats: Dict[str, str] = {
|
|
270
|
-
'files': 'multi',
|
|
271
308
|
}
|
|
272
309
|
|
|
273
310
|
_path_params: Dict[str, str] = {}
|
|
@@ -280,13 +317,27 @@ class ValidationApi:
|
|
|
280
317
|
_body_params: Optional[bytes] = None
|
|
281
318
|
|
|
282
319
|
# process the path parameters
|
|
320
|
+
if correlation_id is not None:
|
|
321
|
+
_path_params['correlationId'] = correlation_id
|
|
283
322
|
# process the query parameters
|
|
323
|
+
if min_responses is not None:
|
|
324
|
+
|
|
325
|
+
_query_params.append(('MinResponses', min_responses))
|
|
326
|
+
|
|
327
|
+
if min_confidence is not None:
|
|
328
|
+
|
|
329
|
+
_query_params.append(('MinConfidence', min_confidence))
|
|
330
|
+
|
|
331
|
+
if target_group_id is not None:
|
|
332
|
+
|
|
333
|
+
_query_params.append(('TargetGroupId', target_group_id))
|
|
334
|
+
|
|
335
|
+
if request is not None:
|
|
336
|
+
|
|
337
|
+
_query_params.append(('request', request))
|
|
338
|
+
|
|
284
339
|
# process the header parameters
|
|
285
340
|
# process the form parameters
|
|
286
|
-
if model is not None:
|
|
287
|
-
_form_params.append(('model', model))
|
|
288
|
-
if files is not None:
|
|
289
|
-
_files['files'] = files
|
|
290
341
|
# process the body parameter
|
|
291
342
|
|
|
292
343
|
|
|
@@ -300,29 +351,17 @@ class ValidationApi:
|
|
|
300
351
|
]
|
|
301
352
|
)
|
|
302
353
|
|
|
303
|
-
# set the HTTP header `Content-Type`
|
|
304
|
-
if _content_type:
|
|
305
|
-
_header_params['Content-Type'] = _content_type
|
|
306
|
-
else:
|
|
307
|
-
_default_content_type = (
|
|
308
|
-
self.api_client.select_header_content_type(
|
|
309
|
-
[
|
|
310
|
-
'multipart/form-data'
|
|
311
|
-
]
|
|
312
|
-
)
|
|
313
|
-
)
|
|
314
|
-
if _default_content_type is not None:
|
|
315
|
-
_header_params['Content-Type'] = _default_content_type
|
|
316
354
|
|
|
317
355
|
# authentication setting
|
|
318
356
|
_auth_settings: List[str] = [
|
|
319
|
-
'
|
|
320
|
-
'
|
|
357
|
+
'OAuth2',
|
|
358
|
+
'OpenIdConnect',
|
|
359
|
+
'Bearer'
|
|
321
360
|
]
|
|
322
361
|
|
|
323
362
|
return self.api_client.param_serialize(
|
|
324
|
-
method='
|
|
325
|
-
resource_path='/
|
|
363
|
+
method='GET',
|
|
364
|
+
resource_path='/rapid/{correlationId}/validation-potential',
|
|
326
365
|
path_params=_path_params,
|
|
327
366
|
query_params=_query_params,
|
|
328
367
|
header_params=_header_params,
|
|
@@ -339,9 +378,9 @@ class ValidationApi:
|
|
|
339
378
|
|
|
340
379
|
|
|
341
380
|
@validate_call
|
|
342
|
-
def
|
|
381
|
+
def rapid_demographic_post(
|
|
343
382
|
self,
|
|
344
|
-
|
|
383
|
+
create_demographic_rapid_model: Annotated[CreateDemographicRapidModel, Field(description="The model containing the demographic rapid.")],
|
|
345
384
|
_request_timeout: Union[
|
|
346
385
|
None,
|
|
347
386
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -354,12 +393,12 @@ class ValidationApi:
|
|
|
354
393
|
_content_type: Optional[StrictStr] = None,
|
|
355
394
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
356
395
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
357
|
-
) ->
|
|
358
|
-
"""
|
|
396
|
+
) -> CreateRapidResult:
|
|
397
|
+
"""Creates a new Demographic Rapid with JSON body.
|
|
359
398
|
|
|
360
399
|
|
|
361
|
-
:param
|
|
362
|
-
:type
|
|
400
|
+
:param create_demographic_rapid_model: The model containing the demographic rapid. (required)
|
|
401
|
+
:type create_demographic_rapid_model: CreateDemographicRapidModel
|
|
363
402
|
:param _request_timeout: timeout setting for this request. If one
|
|
364
403
|
number provided, it will be total request
|
|
365
404
|
timeout. It can also be a pair (tuple) of
|
|
@@ -382,8 +421,8 @@ class ValidationApi:
|
|
|
382
421
|
:return: Returns the result object.
|
|
383
422
|
""" # noqa: E501
|
|
384
423
|
|
|
385
|
-
_param = self.
|
|
386
|
-
|
|
424
|
+
_param = self._rapid_demographic_post_serialize(
|
|
425
|
+
create_demographic_rapid_model=create_demographic_rapid_model,
|
|
387
426
|
_request_auth=_request_auth,
|
|
388
427
|
_content_type=_content_type,
|
|
389
428
|
_headers=_headers,
|
|
@@ -391,7 +430,7 @@ class ValidationApi:
|
|
|
391
430
|
)
|
|
392
431
|
|
|
393
432
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
394
|
-
'200': "
|
|
433
|
+
'200': "CreateRapidResult",
|
|
395
434
|
}
|
|
396
435
|
response_data = self.api_client.call_api(
|
|
397
436
|
*_param,
|
|
@@ -405,9 +444,9 @@ class ValidationApi:
|
|
|
405
444
|
|
|
406
445
|
|
|
407
446
|
@validate_call
|
|
408
|
-
def
|
|
447
|
+
def rapid_demographic_post_with_http_info(
|
|
409
448
|
self,
|
|
410
|
-
|
|
449
|
+
create_demographic_rapid_model: Annotated[CreateDemographicRapidModel, Field(description="The model containing the demographic rapid.")],
|
|
411
450
|
_request_timeout: Union[
|
|
412
451
|
None,
|
|
413
452
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -420,12 +459,12 @@ class ValidationApi:
|
|
|
420
459
|
_content_type: Optional[StrictStr] = None,
|
|
421
460
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
422
461
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
423
|
-
) -> ApiResponse[
|
|
424
|
-
"""
|
|
462
|
+
) -> ApiResponse[CreateRapidResult]:
|
|
463
|
+
"""Creates a new Demographic Rapid with JSON body.
|
|
425
464
|
|
|
426
465
|
|
|
427
|
-
:param
|
|
428
|
-
:type
|
|
466
|
+
:param create_demographic_rapid_model: The model containing the demographic rapid. (required)
|
|
467
|
+
:type create_demographic_rapid_model: CreateDemographicRapidModel
|
|
429
468
|
:param _request_timeout: timeout setting for this request. If one
|
|
430
469
|
number provided, it will be total request
|
|
431
470
|
timeout. It can also be a pair (tuple) of
|
|
@@ -448,8 +487,8 @@ class ValidationApi:
|
|
|
448
487
|
:return: Returns the result object.
|
|
449
488
|
""" # noqa: E501
|
|
450
489
|
|
|
451
|
-
_param = self.
|
|
452
|
-
|
|
490
|
+
_param = self._rapid_demographic_post_serialize(
|
|
491
|
+
create_demographic_rapid_model=create_demographic_rapid_model,
|
|
453
492
|
_request_auth=_request_auth,
|
|
454
493
|
_content_type=_content_type,
|
|
455
494
|
_headers=_headers,
|
|
@@ -457,7 +496,7 @@ class ValidationApi:
|
|
|
457
496
|
)
|
|
458
497
|
|
|
459
498
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
460
|
-
'200': "
|
|
499
|
+
'200': "CreateRapidResult",
|
|
461
500
|
}
|
|
462
501
|
response_data = self.api_client.call_api(
|
|
463
502
|
*_param,
|
|
@@ -471,9 +510,9 @@ class ValidationApi:
|
|
|
471
510
|
|
|
472
511
|
|
|
473
512
|
@validate_call
|
|
474
|
-
def
|
|
513
|
+
def rapid_demographic_post_without_preload_content(
|
|
475
514
|
self,
|
|
476
|
-
|
|
515
|
+
create_demographic_rapid_model: Annotated[CreateDemographicRapidModel, Field(description="The model containing the demographic rapid.")],
|
|
477
516
|
_request_timeout: Union[
|
|
478
517
|
None,
|
|
479
518
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -487,11 +526,11 @@ class ValidationApi:
|
|
|
487
526
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
488
527
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
489
528
|
) -> RESTResponseType:
|
|
490
|
-
"""
|
|
529
|
+
"""Creates a new Demographic Rapid with JSON body.
|
|
491
530
|
|
|
492
531
|
|
|
493
|
-
:param
|
|
494
|
-
:type
|
|
532
|
+
:param create_demographic_rapid_model: The model containing the demographic rapid. (required)
|
|
533
|
+
:type create_demographic_rapid_model: CreateDemographicRapidModel
|
|
495
534
|
:param _request_timeout: timeout setting for this request. If one
|
|
496
535
|
number provided, it will be total request
|
|
497
536
|
timeout. It can also be a pair (tuple) of
|
|
@@ -514,8 +553,8 @@ class ValidationApi:
|
|
|
514
553
|
:return: Returns the result object.
|
|
515
554
|
""" # noqa: E501
|
|
516
555
|
|
|
517
|
-
_param = self.
|
|
518
|
-
|
|
556
|
+
_param = self._rapid_demographic_post_serialize(
|
|
557
|
+
create_demographic_rapid_model=create_demographic_rapid_model,
|
|
519
558
|
_request_auth=_request_auth,
|
|
520
559
|
_content_type=_content_type,
|
|
521
560
|
_headers=_headers,
|
|
@@ -523,7 +562,7 @@ class ValidationApi:
|
|
|
523
562
|
)
|
|
524
563
|
|
|
525
564
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
526
|
-
'200': "
|
|
565
|
+
'200': "CreateRapidResult",
|
|
527
566
|
}
|
|
528
567
|
response_data = self.api_client.call_api(
|
|
529
568
|
*_param,
|
|
@@ -532,9 +571,9 @@ class ValidationApi:
|
|
|
532
571
|
return response_data.response
|
|
533
572
|
|
|
534
573
|
|
|
535
|
-
def
|
|
574
|
+
def _rapid_demographic_post_serialize(
|
|
536
575
|
self,
|
|
537
|
-
|
|
576
|
+
create_demographic_rapid_model,
|
|
538
577
|
_request_auth,
|
|
539
578
|
_content_type,
|
|
540
579
|
_headers,
|
|
@@ -560,8 +599,8 @@ class ValidationApi:
|
|
|
560
599
|
# process the header parameters
|
|
561
600
|
# process the form parameters
|
|
562
601
|
# process the body parameter
|
|
563
|
-
if
|
|
564
|
-
_body_params =
|
|
602
|
+
if create_demographic_rapid_model is not None:
|
|
603
|
+
_body_params = create_demographic_rapid_model
|
|
565
604
|
|
|
566
605
|
|
|
567
606
|
# set the HTTP header `Accept`
|
|
@@ -592,13 +631,14 @@ class ValidationApi:
|
|
|
592
631
|
|
|
593
632
|
# authentication setting
|
|
594
633
|
_auth_settings: List[str] = [
|
|
595
|
-
'
|
|
596
|
-
'
|
|
634
|
+
'OAuth2',
|
|
635
|
+
'OpenIdConnect',
|
|
636
|
+
'Bearer'
|
|
597
637
|
]
|
|
598
638
|
|
|
599
639
|
return self.api_client.param_serialize(
|
|
600
640
|
method='POST',
|
|
601
|
-
resource_path='/
|
|
641
|
+
resource_path='/rapid/demographic',
|
|
602
642
|
path_params=_path_params,
|
|
603
643
|
query_params=_query_params,
|
|
604
644
|
header_params=_header_params,
|
|
@@ -615,9 +655,8 @@ class ValidationApi:
|
|
|
615
655
|
|
|
616
656
|
|
|
617
657
|
@validate_call
|
|
618
|
-
def
|
|
658
|
+
def rapid_global_responses_get(
|
|
619
659
|
self,
|
|
620
|
-
name: Annotated[Optional[StrictStr], Field(description="The name to give the new validation set.")] = None,
|
|
621
660
|
_request_timeout: Union[
|
|
622
661
|
None,
|
|
623
662
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -630,12 +669,10 @@ class ValidationApi:
|
|
|
630
669
|
_content_type: Optional[StrictStr] = None,
|
|
631
670
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
632
671
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
633
|
-
) ->
|
|
634
|
-
"""
|
|
672
|
+
) -> GetPublicResponsesResult:
|
|
673
|
+
"""A public endpoint to query the most recent responses globally
|
|
635
674
|
|
|
636
675
|
|
|
637
|
-
:param name: The name to give the new validation set.
|
|
638
|
-
:type name: str
|
|
639
676
|
:param _request_timeout: timeout setting for this request. If one
|
|
640
677
|
number provided, it will be total request
|
|
641
678
|
timeout. It can also be a pair (tuple) of
|
|
@@ -658,8 +695,7 @@ class ValidationApi:
|
|
|
658
695
|
:return: Returns the result object.
|
|
659
696
|
""" # noqa: E501
|
|
660
697
|
|
|
661
|
-
_param = self.
|
|
662
|
-
name=name,
|
|
698
|
+
_param = self._rapid_global_responses_get_serialize(
|
|
663
699
|
_request_auth=_request_auth,
|
|
664
700
|
_content_type=_content_type,
|
|
665
701
|
_headers=_headers,
|
|
@@ -667,7 +703,7 @@ class ValidationApi:
|
|
|
667
703
|
)
|
|
668
704
|
|
|
669
705
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
670
|
-
'200': "
|
|
706
|
+
'200': "GetPublicResponsesResult",
|
|
671
707
|
}
|
|
672
708
|
response_data = self.api_client.call_api(
|
|
673
709
|
*_param,
|
|
@@ -681,9 +717,8 @@ class ValidationApi:
|
|
|
681
717
|
|
|
682
718
|
|
|
683
719
|
@validate_call
|
|
684
|
-
def
|
|
720
|
+
def rapid_global_responses_get_with_http_info(
|
|
685
721
|
self,
|
|
686
|
-
name: Annotated[Optional[StrictStr], Field(description="The name to give the new validation set.")] = None,
|
|
687
722
|
_request_timeout: Union[
|
|
688
723
|
None,
|
|
689
724
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -696,12 +731,10 @@ class ValidationApi:
|
|
|
696
731
|
_content_type: Optional[StrictStr] = None,
|
|
697
732
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
698
733
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
699
|
-
) -> ApiResponse[
|
|
700
|
-
"""
|
|
734
|
+
) -> ApiResponse[GetPublicResponsesResult]:
|
|
735
|
+
"""A public endpoint to query the most recent responses globally
|
|
701
736
|
|
|
702
737
|
|
|
703
|
-
:param name: The name to give the new validation set.
|
|
704
|
-
:type name: str
|
|
705
738
|
:param _request_timeout: timeout setting for this request. If one
|
|
706
739
|
number provided, it will be total request
|
|
707
740
|
timeout. It can also be a pair (tuple) of
|
|
@@ -724,8 +757,7 @@ class ValidationApi:
|
|
|
724
757
|
:return: Returns the result object.
|
|
725
758
|
""" # noqa: E501
|
|
726
759
|
|
|
727
|
-
_param = self.
|
|
728
|
-
name=name,
|
|
760
|
+
_param = self._rapid_global_responses_get_serialize(
|
|
729
761
|
_request_auth=_request_auth,
|
|
730
762
|
_content_type=_content_type,
|
|
731
763
|
_headers=_headers,
|
|
@@ -733,7 +765,7 @@ class ValidationApi:
|
|
|
733
765
|
)
|
|
734
766
|
|
|
735
767
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
736
|
-
'200': "
|
|
768
|
+
'200': "GetPublicResponsesResult",
|
|
737
769
|
}
|
|
738
770
|
response_data = self.api_client.call_api(
|
|
739
771
|
*_param,
|
|
@@ -747,9 +779,8 @@ class ValidationApi:
|
|
|
747
779
|
|
|
748
780
|
|
|
749
781
|
@validate_call
|
|
750
|
-
def
|
|
782
|
+
def rapid_global_responses_get_without_preload_content(
|
|
751
783
|
self,
|
|
752
|
-
name: Annotated[Optional[StrictStr], Field(description="The name to give the new validation set.")] = None,
|
|
753
784
|
_request_timeout: Union[
|
|
754
785
|
None,
|
|
755
786
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -763,11 +794,9 @@ class ValidationApi:
|
|
|
763
794
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
764
795
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
765
796
|
) -> RESTResponseType:
|
|
766
|
-
"""
|
|
797
|
+
"""A public endpoint to query the most recent responses globally
|
|
767
798
|
|
|
768
799
|
|
|
769
|
-
:param name: The name to give the new validation set.
|
|
770
|
-
:type name: str
|
|
771
800
|
:param _request_timeout: timeout setting for this request. If one
|
|
772
801
|
number provided, it will be total request
|
|
773
802
|
timeout. It can also be a pair (tuple) of
|
|
@@ -790,8 +819,7 @@ class ValidationApi:
|
|
|
790
819
|
:return: Returns the result object.
|
|
791
820
|
""" # noqa: E501
|
|
792
821
|
|
|
793
|
-
_param = self.
|
|
794
|
-
name=name,
|
|
822
|
+
_param = self._rapid_global_responses_get_serialize(
|
|
795
823
|
_request_auth=_request_auth,
|
|
796
824
|
_content_type=_content_type,
|
|
797
825
|
_headers=_headers,
|
|
@@ -799,7 +827,7 @@ class ValidationApi:
|
|
|
799
827
|
)
|
|
800
828
|
|
|
801
829
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
802
|
-
'200': "
|
|
830
|
+
'200': "GetPublicResponsesResult",
|
|
803
831
|
}
|
|
804
832
|
response_data = self.api_client.call_api(
|
|
805
833
|
*_param,
|
|
@@ -808,9 +836,8 @@ class ValidationApi:
|
|
|
808
836
|
return response_data.response
|
|
809
837
|
|
|
810
838
|
|
|
811
|
-
def
|
|
839
|
+
def _rapid_global_responses_get_serialize(
|
|
812
840
|
self,
|
|
813
|
-
name,
|
|
814
841
|
_request_auth,
|
|
815
842
|
_content_type,
|
|
816
843
|
_headers,
|
|
@@ -833,10 +860,6 @@ class ValidationApi:
|
|
|
833
860
|
|
|
834
861
|
# process the path parameters
|
|
835
862
|
# process the query parameters
|
|
836
|
-
if name is not None:
|
|
837
|
-
|
|
838
|
-
_query_params.append(('name', name))
|
|
839
|
-
|
|
840
863
|
# process the header parameters
|
|
841
864
|
# process the form parameters
|
|
842
865
|
# process the body parameter
|
|
@@ -855,13 +878,14 @@ class ValidationApi:
|
|
|
855
878
|
|
|
856
879
|
# authentication setting
|
|
857
880
|
_auth_settings: List[str] = [
|
|
858
|
-
'
|
|
859
|
-
'
|
|
881
|
+
'OAuth2',
|
|
882
|
+
'OpenIdConnect',
|
|
883
|
+
'Bearer'
|
|
860
884
|
]
|
|
861
885
|
|
|
862
886
|
return self.api_client.param_serialize(
|
|
863
|
-
method='
|
|
864
|
-
resource_path='/
|
|
887
|
+
method='GET',
|
|
888
|
+
resource_path='/rapid/global-responses',
|
|
865
889
|
path_params=_path_params,
|
|
866
890
|
query_params=_query_params,
|
|
867
891
|
header_params=_header_params,
|
|
@@ -878,8 +902,9 @@ class ValidationApi:
|
|
|
878
902
|
|
|
879
903
|
|
|
880
904
|
@validate_call
|
|
881
|
-
def
|
|
905
|
+
def rapid_rapid_id_delete(
|
|
882
906
|
self,
|
|
907
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
883
908
|
_request_timeout: Union[
|
|
884
909
|
None,
|
|
885
910
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -892,10 +917,12 @@ class ValidationApi:
|
|
|
892
917
|
_content_type: Optional[StrictStr] = None,
|
|
893
918
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
894
919
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
895
|
-
) ->
|
|
896
|
-
"""
|
|
920
|
+
) -> None:
|
|
921
|
+
"""Deletes a rapid.
|
|
897
922
|
|
|
898
923
|
|
|
924
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
925
|
+
:type rapid_id: str
|
|
899
926
|
:param _request_timeout: timeout setting for this request. If one
|
|
900
927
|
number provided, it will be total request
|
|
901
928
|
timeout. It can also be a pair (tuple) of
|
|
@@ -918,7 +945,8 @@ class ValidationApi:
|
|
|
918
945
|
:return: Returns the result object.
|
|
919
946
|
""" # noqa: E501
|
|
920
947
|
|
|
921
|
-
_param = self.
|
|
948
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
949
|
+
rapid_id=rapid_id,
|
|
922
950
|
_request_auth=_request_auth,
|
|
923
951
|
_content_type=_content_type,
|
|
924
952
|
_headers=_headers,
|
|
@@ -926,7 +954,7 @@ class ValidationApi:
|
|
|
926
954
|
)
|
|
927
955
|
|
|
928
956
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
929
|
-
'
|
|
957
|
+
'204': None,
|
|
930
958
|
}
|
|
931
959
|
response_data = self.api_client.call_api(
|
|
932
960
|
*_param,
|
|
@@ -940,8 +968,9 @@ class ValidationApi:
|
|
|
940
968
|
|
|
941
969
|
|
|
942
970
|
@validate_call
|
|
943
|
-
def
|
|
971
|
+
def rapid_rapid_id_delete_with_http_info(
|
|
944
972
|
self,
|
|
973
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
945
974
|
_request_timeout: Union[
|
|
946
975
|
None,
|
|
947
976
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -954,10 +983,12 @@ class ValidationApi:
|
|
|
954
983
|
_content_type: Optional[StrictStr] = None,
|
|
955
984
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
956
985
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
957
|
-
) -> ApiResponse[
|
|
958
|
-
"""
|
|
986
|
+
) -> ApiResponse[None]:
|
|
987
|
+
"""Deletes a rapid.
|
|
959
988
|
|
|
960
989
|
|
|
990
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
991
|
+
:type rapid_id: str
|
|
961
992
|
:param _request_timeout: timeout setting for this request. If one
|
|
962
993
|
number provided, it will be total request
|
|
963
994
|
timeout. It can also be a pair (tuple) of
|
|
@@ -980,7 +1011,8 @@ class ValidationApi:
|
|
|
980
1011
|
:return: Returns the result object.
|
|
981
1012
|
""" # noqa: E501
|
|
982
1013
|
|
|
983
|
-
_param = self.
|
|
1014
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
1015
|
+
rapid_id=rapid_id,
|
|
984
1016
|
_request_auth=_request_auth,
|
|
985
1017
|
_content_type=_content_type,
|
|
986
1018
|
_headers=_headers,
|
|
@@ -988,7 +1020,7 @@ class ValidationApi:
|
|
|
988
1020
|
)
|
|
989
1021
|
|
|
990
1022
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
991
|
-
'
|
|
1023
|
+
'204': None,
|
|
992
1024
|
}
|
|
993
1025
|
response_data = self.api_client.call_api(
|
|
994
1026
|
*_param,
|
|
@@ -1002,8 +1034,9 @@ class ValidationApi:
|
|
|
1002
1034
|
|
|
1003
1035
|
|
|
1004
1036
|
@validate_call
|
|
1005
|
-
def
|
|
1037
|
+
def rapid_rapid_id_delete_without_preload_content(
|
|
1006
1038
|
self,
|
|
1039
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
1007
1040
|
_request_timeout: Union[
|
|
1008
1041
|
None,
|
|
1009
1042
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1017,9 +1050,11 @@ class ValidationApi:
|
|
|
1017
1050
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1018
1051
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1019
1052
|
) -> RESTResponseType:
|
|
1020
|
-
"""
|
|
1053
|
+
"""Deletes a rapid.
|
|
1021
1054
|
|
|
1022
1055
|
|
|
1056
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
1057
|
+
:type rapid_id: str
|
|
1023
1058
|
:param _request_timeout: timeout setting for this request. If one
|
|
1024
1059
|
number provided, it will be total request
|
|
1025
1060
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1042,7 +1077,8 @@ class ValidationApi:
|
|
|
1042
1077
|
:return: Returns the result object.
|
|
1043
1078
|
""" # noqa: E501
|
|
1044
1079
|
|
|
1045
|
-
_param = self.
|
|
1080
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
1081
|
+
rapid_id=rapid_id,
|
|
1046
1082
|
_request_auth=_request_auth,
|
|
1047
1083
|
_content_type=_content_type,
|
|
1048
1084
|
_headers=_headers,
|
|
@@ -1050,7 +1086,7 @@ class ValidationApi:
|
|
|
1050
1086
|
)
|
|
1051
1087
|
|
|
1052
1088
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1053
|
-
'
|
|
1089
|
+
'204': None,
|
|
1054
1090
|
}
|
|
1055
1091
|
response_data = self.api_client.call_api(
|
|
1056
1092
|
*_param,
|
|
@@ -1059,8 +1095,9 @@ class ValidationApi:
|
|
|
1059
1095
|
return response_data.response
|
|
1060
1096
|
|
|
1061
1097
|
|
|
1062
|
-
def
|
|
1098
|
+
def _rapid_rapid_id_delete_serialize(
|
|
1063
1099
|
self,
|
|
1100
|
+
rapid_id,
|
|
1064
1101
|
_request_auth,
|
|
1065
1102
|
_content_type,
|
|
1066
1103
|
_headers,
|
|
@@ -1082,32 +1119,26 @@ class ValidationApi:
|
|
|
1082
1119
|
_body_params: Optional[bytes] = None
|
|
1083
1120
|
|
|
1084
1121
|
# process the path parameters
|
|
1122
|
+
if rapid_id is not None:
|
|
1123
|
+
_path_params['rapidId'] = rapid_id
|
|
1085
1124
|
# process the query parameters
|
|
1086
1125
|
# process the header parameters
|
|
1087
1126
|
# process the form parameters
|
|
1088
1127
|
# process the body parameter
|
|
1089
1128
|
|
|
1090
1129
|
|
|
1091
|
-
# set the HTTP header `Accept`
|
|
1092
|
-
if 'Accept' not in _header_params:
|
|
1093
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1094
|
-
[
|
|
1095
|
-
'text/plain',
|
|
1096
|
-
'application/json',
|
|
1097
|
-
'text/json'
|
|
1098
|
-
]
|
|
1099
|
-
)
|
|
1100
1130
|
|
|
1101
1131
|
|
|
1102
1132
|
# authentication setting
|
|
1103
1133
|
_auth_settings: List[str] = [
|
|
1104
|
-
'
|
|
1105
|
-
'
|
|
1134
|
+
'OAuth2',
|
|
1135
|
+
'OpenIdConnect',
|
|
1136
|
+
'Bearer'
|
|
1106
1137
|
]
|
|
1107
1138
|
|
|
1108
1139
|
return self.api_client.param_serialize(
|
|
1109
|
-
method='
|
|
1110
|
-
resource_path='/
|
|
1140
|
+
method='DELETE',
|
|
1141
|
+
resource_path='/rapid/{rapidId}',
|
|
1111
1142
|
path_params=_path_params,
|
|
1112
1143
|
query_params=_query_params,
|
|
1113
1144
|
header_params=_header_params,
|
|
@@ -1124,9 +1155,9 @@ class ValidationApi:
|
|
|
1124
1155
|
|
|
1125
1156
|
|
|
1126
1157
|
@validate_call
|
|
1127
|
-
def
|
|
1158
|
+
def rapid_rapid_id_responses_get(
|
|
1128
1159
|
self,
|
|
1129
|
-
|
|
1160
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
1130
1161
|
_request_timeout: Union[
|
|
1131
1162
|
None,
|
|
1132
1163
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1139,12 +1170,12 @@ class ValidationApi:
|
|
|
1139
1170
|
_content_type: Optional[StrictStr] = None,
|
|
1140
1171
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1141
1172
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1142
|
-
) ->
|
|
1143
|
-
"""Gets
|
|
1173
|
+
) -> GetResponsesForRapidResult:
|
|
1174
|
+
"""Gets all responses for a given rapid.
|
|
1144
1175
|
|
|
1145
1176
|
|
|
1146
|
-
:param
|
|
1147
|
-
:type
|
|
1177
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1178
|
+
:type rapid_id: str
|
|
1148
1179
|
:param _request_timeout: timeout setting for this request. If one
|
|
1149
1180
|
number provided, it will be total request
|
|
1150
1181
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1167,8 +1198,8 @@ class ValidationApi:
|
|
|
1167
1198
|
:return: Returns the result object.
|
|
1168
1199
|
""" # noqa: E501
|
|
1169
1200
|
|
|
1170
|
-
_param = self.
|
|
1171
|
-
|
|
1201
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1202
|
+
rapid_id=rapid_id,
|
|
1172
1203
|
_request_auth=_request_auth,
|
|
1173
1204
|
_content_type=_content_type,
|
|
1174
1205
|
_headers=_headers,
|
|
@@ -1176,7 +1207,7 @@ class ValidationApi:
|
|
|
1176
1207
|
)
|
|
1177
1208
|
|
|
1178
1209
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1179
|
-
'200': "
|
|
1210
|
+
'200': "GetResponsesForRapidResult",
|
|
1180
1211
|
}
|
|
1181
1212
|
response_data = self.api_client.call_api(
|
|
1182
1213
|
*_param,
|
|
@@ -1190,9 +1221,9 @@ class ValidationApi:
|
|
|
1190
1221
|
|
|
1191
1222
|
|
|
1192
1223
|
@validate_call
|
|
1193
|
-
def
|
|
1224
|
+
def rapid_rapid_id_responses_get_with_http_info(
|
|
1194
1225
|
self,
|
|
1195
|
-
|
|
1226
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
1196
1227
|
_request_timeout: Union[
|
|
1197
1228
|
None,
|
|
1198
1229
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1205,12 +1236,12 @@ class ValidationApi:
|
|
|
1205
1236
|
_content_type: Optional[StrictStr] = None,
|
|
1206
1237
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1207
1238
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1208
|
-
) -> ApiResponse[
|
|
1209
|
-
"""Gets
|
|
1239
|
+
) -> ApiResponse[GetResponsesForRapidResult]:
|
|
1240
|
+
"""Gets all responses for a given rapid.
|
|
1210
1241
|
|
|
1211
1242
|
|
|
1212
|
-
:param
|
|
1213
|
-
:type
|
|
1243
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1244
|
+
:type rapid_id: str
|
|
1214
1245
|
:param _request_timeout: timeout setting for this request. If one
|
|
1215
1246
|
number provided, it will be total request
|
|
1216
1247
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1233,8 +1264,8 @@ class ValidationApi:
|
|
|
1233
1264
|
:return: Returns the result object.
|
|
1234
1265
|
""" # noqa: E501
|
|
1235
1266
|
|
|
1236
|
-
_param = self.
|
|
1237
|
-
|
|
1267
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1268
|
+
rapid_id=rapid_id,
|
|
1238
1269
|
_request_auth=_request_auth,
|
|
1239
1270
|
_content_type=_content_type,
|
|
1240
1271
|
_headers=_headers,
|
|
@@ -1242,7 +1273,7 @@ class ValidationApi:
|
|
|
1242
1273
|
)
|
|
1243
1274
|
|
|
1244
1275
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1245
|
-
'200': "
|
|
1276
|
+
'200': "GetResponsesForRapidResult",
|
|
1246
1277
|
}
|
|
1247
1278
|
response_data = self.api_client.call_api(
|
|
1248
1279
|
*_param,
|
|
@@ -1256,9 +1287,9 @@ class ValidationApi:
|
|
|
1256
1287
|
|
|
1257
1288
|
|
|
1258
1289
|
@validate_call
|
|
1259
|
-
def
|
|
1290
|
+
def rapid_rapid_id_responses_get_without_preload_content(
|
|
1260
1291
|
self,
|
|
1261
|
-
|
|
1292
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
1262
1293
|
_request_timeout: Union[
|
|
1263
1294
|
None,
|
|
1264
1295
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1272,11 +1303,11 @@ class ValidationApi:
|
|
|
1272
1303
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1273
1304
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1274
1305
|
) -> RESTResponseType:
|
|
1275
|
-
"""Gets
|
|
1306
|
+
"""Gets all responses for a given rapid.
|
|
1276
1307
|
|
|
1277
1308
|
|
|
1278
|
-
:param
|
|
1279
|
-
:type
|
|
1309
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1310
|
+
:type rapid_id: str
|
|
1280
1311
|
:param _request_timeout: timeout setting for this request. If one
|
|
1281
1312
|
number provided, it will be total request
|
|
1282
1313
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1299,8 +1330,8 @@ class ValidationApi:
|
|
|
1299
1330
|
:return: Returns the result object.
|
|
1300
1331
|
""" # noqa: E501
|
|
1301
1332
|
|
|
1302
|
-
_param = self.
|
|
1303
|
-
|
|
1333
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1334
|
+
rapid_id=rapid_id,
|
|
1304
1335
|
_request_auth=_request_auth,
|
|
1305
1336
|
_content_type=_content_type,
|
|
1306
1337
|
_headers=_headers,
|
|
@@ -1308,7 +1339,7 @@ class ValidationApi:
|
|
|
1308
1339
|
)
|
|
1309
1340
|
|
|
1310
1341
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1311
|
-
'200': "
|
|
1342
|
+
'200': "GetResponsesForRapidResult",
|
|
1312
1343
|
}
|
|
1313
1344
|
response_data = self.api_client.call_api(
|
|
1314
1345
|
*_param,
|
|
@@ -1317,9 +1348,9 @@ class ValidationApi:
|
|
|
1317
1348
|
return response_data.response
|
|
1318
1349
|
|
|
1319
1350
|
|
|
1320
|
-
def
|
|
1351
|
+
def _rapid_rapid_id_responses_get_serialize(
|
|
1321
1352
|
self,
|
|
1322
|
-
|
|
1353
|
+
rapid_id,
|
|
1323
1354
|
_request_auth,
|
|
1324
1355
|
_content_type,
|
|
1325
1356
|
_headers,
|
|
@@ -1341,11 +1372,9 @@ class ValidationApi:
|
|
|
1341
1372
|
_body_params: Optional[bytes] = None
|
|
1342
1373
|
|
|
1343
1374
|
# process the path parameters
|
|
1375
|
+
if rapid_id is not None:
|
|
1376
|
+
_path_params['rapidId'] = rapid_id
|
|
1344
1377
|
# process the query parameters
|
|
1345
|
-
if id is not None:
|
|
1346
|
-
|
|
1347
|
-
_query_params.append(('id', id))
|
|
1348
|
-
|
|
1349
1378
|
# process the header parameters
|
|
1350
1379
|
# process the form parameters
|
|
1351
1380
|
# process the body parameter
|
|
@@ -1364,13 +1393,14 @@ class ValidationApi:
|
|
|
1364
1393
|
|
|
1365
1394
|
# authentication setting
|
|
1366
1395
|
_auth_settings: List[str] = [
|
|
1367
|
-
'
|
|
1368
|
-
'
|
|
1396
|
+
'OAuth2',
|
|
1397
|
+
'OpenIdConnect',
|
|
1398
|
+
'Bearer'
|
|
1369
1399
|
]
|
|
1370
1400
|
|
|
1371
1401
|
return self.api_client.param_serialize(
|
|
1372
1402
|
method='GET',
|
|
1373
|
-
resource_path='/
|
|
1403
|
+
resource_path='/rapid/{rapidId}/responses',
|
|
1374
1404
|
path_params=_path_params,
|
|
1375
1405
|
query_params=_query_params,
|
|
1376
1406
|
header_params=_header_params,
|
|
@@ -1387,10 +1417,9 @@ class ValidationApi:
|
|
|
1387
1417
|
|
|
1388
1418
|
|
|
1389
1419
|
@validate_call
|
|
1390
|
-
def
|
|
1420
|
+
def rapid_rapid_id_unflag_post(
|
|
1391
1421
|
self,
|
|
1392
|
-
|
|
1393
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1422
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to unflag")],
|
|
1394
1423
|
_request_timeout: Union[
|
|
1395
1424
|
None,
|
|
1396
1425
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1403,14 +1432,12 @@ class ValidationApi:
|
|
|
1403
1432
|
_content_type: Optional[StrictStr] = None,
|
|
1404
1433
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1405
1434
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1406
|
-
) ->
|
|
1407
|
-
"""
|
|
1435
|
+
) -> None:
|
|
1436
|
+
"""Unflags a flagged rapid. This will add the rapid back to the active labeling pool and prevent it from being flagged again.
|
|
1408
1437
|
|
|
1409
1438
|
|
|
1410
|
-
:param
|
|
1411
|
-
:type
|
|
1412
|
-
:param file: The file to use as the asset for the rapid.
|
|
1413
|
-
:type file: bytearray
|
|
1439
|
+
:param rapid_id: The id of the rapid to unflag (required)
|
|
1440
|
+
:type rapid_id: str
|
|
1414
1441
|
:param _request_timeout: timeout setting for this request. If one
|
|
1415
1442
|
number provided, it will be total request
|
|
1416
1443
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1433,9 +1460,8 @@ class ValidationApi:
|
|
|
1433
1460
|
:return: Returns the result object.
|
|
1434
1461
|
""" # noqa: E501
|
|
1435
1462
|
|
|
1436
|
-
_param = self.
|
|
1437
|
-
|
|
1438
|
-
file=file,
|
|
1463
|
+
_param = self._rapid_rapid_id_unflag_post_serialize(
|
|
1464
|
+
rapid_id=rapid_id,
|
|
1439
1465
|
_request_auth=_request_auth,
|
|
1440
1466
|
_content_type=_content_type,
|
|
1441
1467
|
_headers=_headers,
|
|
@@ -1443,7 +1469,7 @@ class ValidationApi:
|
|
|
1443
1469
|
)
|
|
1444
1470
|
|
|
1445
1471
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1446
|
-
'
|
|
1472
|
+
'204': None,
|
|
1447
1473
|
}
|
|
1448
1474
|
response_data = self.api_client.call_api(
|
|
1449
1475
|
*_param,
|
|
@@ -1457,10 +1483,9 @@ class ValidationApi:
|
|
|
1457
1483
|
|
|
1458
1484
|
|
|
1459
1485
|
@validate_call
|
|
1460
|
-
def
|
|
1486
|
+
def rapid_rapid_id_unflag_post_with_http_info(
|
|
1461
1487
|
self,
|
|
1462
|
-
|
|
1463
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1488
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to unflag")],
|
|
1464
1489
|
_request_timeout: Union[
|
|
1465
1490
|
None,
|
|
1466
1491
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1473,14 +1498,12 @@ class ValidationApi:
|
|
|
1473
1498
|
_content_type: Optional[StrictStr] = None,
|
|
1474
1499
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1475
1500
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1476
|
-
) -> ApiResponse[
|
|
1477
|
-
"""
|
|
1501
|
+
) -> ApiResponse[None]:
|
|
1502
|
+
"""Unflags a flagged rapid. This will add the rapid back to the active labeling pool and prevent it from being flagged again.
|
|
1478
1503
|
|
|
1479
1504
|
|
|
1480
|
-
:param
|
|
1481
|
-
:type
|
|
1482
|
-
:param file: The file to use as the asset for the rapid.
|
|
1483
|
-
:type file: bytearray
|
|
1505
|
+
:param rapid_id: The id of the rapid to unflag (required)
|
|
1506
|
+
:type rapid_id: str
|
|
1484
1507
|
:param _request_timeout: timeout setting for this request. If one
|
|
1485
1508
|
number provided, it will be total request
|
|
1486
1509
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1503,9 +1526,8 @@ class ValidationApi:
|
|
|
1503
1526
|
:return: Returns the result object.
|
|
1504
1527
|
""" # noqa: E501
|
|
1505
1528
|
|
|
1506
|
-
_param = self.
|
|
1507
|
-
|
|
1508
|
-
file=file,
|
|
1529
|
+
_param = self._rapid_rapid_id_unflag_post_serialize(
|
|
1530
|
+
rapid_id=rapid_id,
|
|
1509
1531
|
_request_auth=_request_auth,
|
|
1510
1532
|
_content_type=_content_type,
|
|
1511
1533
|
_headers=_headers,
|
|
@@ -1513,7 +1535,7 @@ class ValidationApi:
|
|
|
1513
1535
|
)
|
|
1514
1536
|
|
|
1515
1537
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1516
|
-
'
|
|
1538
|
+
'204': None,
|
|
1517
1539
|
}
|
|
1518
1540
|
response_data = self.api_client.call_api(
|
|
1519
1541
|
*_param,
|
|
@@ -1527,10 +1549,9 @@ class ValidationApi:
|
|
|
1527
1549
|
|
|
1528
1550
|
|
|
1529
1551
|
@validate_call
|
|
1530
|
-
def
|
|
1552
|
+
def rapid_rapid_id_unflag_post_without_preload_content(
|
|
1531
1553
|
self,
|
|
1532
|
-
|
|
1533
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1554
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to unflag")],
|
|
1534
1555
|
_request_timeout: Union[
|
|
1535
1556
|
None,
|
|
1536
1557
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1544,13 +1565,11 @@ class ValidationApi:
|
|
|
1544
1565
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1545
1566
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1546
1567
|
) -> RESTResponseType:
|
|
1547
|
-
"""
|
|
1568
|
+
"""Unflags a flagged rapid. This will add the rapid back to the active labeling pool and prevent it from being flagged again.
|
|
1548
1569
|
|
|
1549
1570
|
|
|
1550
|
-
:param
|
|
1551
|
-
:type
|
|
1552
|
-
:param file: The file to use as the asset for the rapid.
|
|
1553
|
-
:type file: bytearray
|
|
1571
|
+
:param rapid_id: The id of the rapid to unflag (required)
|
|
1572
|
+
:type rapid_id: str
|
|
1554
1573
|
:param _request_timeout: timeout setting for this request. If one
|
|
1555
1574
|
number provided, it will be total request
|
|
1556
1575
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1573,9 +1592,8 @@ class ValidationApi:
|
|
|
1573
1592
|
:return: Returns the result object.
|
|
1574
1593
|
""" # noqa: E501
|
|
1575
1594
|
|
|
1576
|
-
_param = self.
|
|
1577
|
-
|
|
1578
|
-
file=file,
|
|
1595
|
+
_param = self._rapid_rapid_id_unflag_post_serialize(
|
|
1596
|
+
rapid_id=rapid_id,
|
|
1579
1597
|
_request_auth=_request_auth,
|
|
1580
1598
|
_content_type=_content_type,
|
|
1581
1599
|
_headers=_headers,
|
|
@@ -1583,7 +1601,7 @@ class ValidationApi:
|
|
|
1583
1601
|
)
|
|
1584
1602
|
|
|
1585
1603
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1586
|
-
'
|
|
1604
|
+
'204': None,
|
|
1587
1605
|
}
|
|
1588
1606
|
response_data = self.api_client.call_api(
|
|
1589
1607
|
*_param,
|
|
@@ -1592,10 +1610,9 @@ class ValidationApi:
|
|
|
1592
1610
|
return response_data.response
|
|
1593
1611
|
|
|
1594
1612
|
|
|
1595
|
-
def
|
|
1613
|
+
def _rapid_rapid_id_unflag_post_serialize(
|
|
1596
1614
|
self,
|
|
1597
|
-
|
|
1598
|
-
file,
|
|
1615
|
+
rapid_id,
|
|
1599
1616
|
_request_auth,
|
|
1600
1617
|
_content_type,
|
|
1601
1618
|
_headers,
|
|
@@ -1617,49 +1634,26 @@ class ValidationApi:
|
|
|
1617
1634
|
_body_params: Optional[bytes] = None
|
|
1618
1635
|
|
|
1619
1636
|
# process the path parameters
|
|
1637
|
+
if rapid_id is not None:
|
|
1638
|
+
_path_params['rapidId'] = rapid_id
|
|
1620
1639
|
# process the query parameters
|
|
1621
1640
|
# process the header parameters
|
|
1622
1641
|
# process the form parameters
|
|
1623
|
-
if criteria is not None:
|
|
1624
|
-
_form_params.append(('Criteria', criteria))
|
|
1625
|
-
if file is not None:
|
|
1626
|
-
_files['File'] = file
|
|
1627
1642
|
# process the body parameter
|
|
1628
1643
|
|
|
1629
1644
|
|
|
1630
|
-
# set the HTTP header `Accept`
|
|
1631
|
-
if 'Accept' not in _header_params:
|
|
1632
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1633
|
-
[
|
|
1634
|
-
'text/plain',
|
|
1635
|
-
'application/json',
|
|
1636
|
-
'text/json'
|
|
1637
|
-
]
|
|
1638
|
-
)
|
|
1639
1645
|
|
|
1640
|
-
# set the HTTP header `Content-Type`
|
|
1641
|
-
if _content_type:
|
|
1642
|
-
_header_params['Content-Type'] = _content_type
|
|
1643
|
-
else:
|
|
1644
|
-
_default_content_type = (
|
|
1645
|
-
self.api_client.select_header_content_type(
|
|
1646
|
-
[
|
|
1647
|
-
'multipart/form-data'
|
|
1648
|
-
]
|
|
1649
|
-
)
|
|
1650
|
-
)
|
|
1651
|
-
if _default_content_type is not None:
|
|
1652
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1653
1646
|
|
|
1654
1647
|
# authentication setting
|
|
1655
1648
|
_auth_settings: List[str] = [
|
|
1656
|
-
'
|
|
1657
|
-
'
|
|
1649
|
+
'OAuth2',
|
|
1650
|
+
'OpenIdConnect',
|
|
1651
|
+
'Bearer'
|
|
1658
1652
|
]
|
|
1659
1653
|
|
|
1660
1654
|
return self.api_client.param_serialize(
|
|
1661
1655
|
method='POST',
|
|
1662
|
-
resource_path='/
|
|
1656
|
+
resource_path='/rapid/{rapidId}/unflag',
|
|
1663
1657
|
path_params=_path_params,
|
|
1664
1658
|
query_params=_query_params,
|
|
1665
1659
|
header_params=_header_params,
|
|
@@ -1676,10 +1670,10 @@ class ValidationApi:
|
|
|
1676
1670
|
|
|
1677
1671
|
|
|
1678
1672
|
@validate_call
|
|
1679
|
-
def
|
|
1673
|
+
def rapid_validation_rapid_id_patch(
|
|
1680
1674
|
self,
|
|
1681
|
-
|
|
1682
|
-
|
|
1675
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
1676
|
+
update_validation_rapid_model: Annotated[UpdateValidationRapidModel, Field(description="The body request")],
|
|
1683
1677
|
_request_timeout: Union[
|
|
1684
1678
|
None,
|
|
1685
1679
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1692,14 +1686,14 @@ class ValidationApi:
|
|
|
1692
1686
|
_content_type: Optional[StrictStr] = None,
|
|
1693
1687
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1694
1688
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1695
|
-
) ->
|
|
1696
|
-
"""
|
|
1689
|
+
) -> None:
|
|
1690
|
+
"""Updates the validation information of a Rapid.
|
|
1697
1691
|
|
|
1698
1692
|
|
|
1699
|
-
:param
|
|
1700
|
-
:type
|
|
1701
|
-
:param
|
|
1702
|
-
:type
|
|
1693
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
1694
|
+
:type rapid_id: str
|
|
1695
|
+
:param update_validation_rapid_model: The body request (required)
|
|
1696
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1703
1697
|
:param _request_timeout: timeout setting for this request. If one
|
|
1704
1698
|
number provided, it will be total request
|
|
1705
1699
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1722,9 +1716,9 @@ class ValidationApi:
|
|
|
1722
1716
|
:return: Returns the result object.
|
|
1723
1717
|
""" # noqa: E501
|
|
1724
1718
|
|
|
1725
|
-
_param = self.
|
|
1726
|
-
|
|
1727
|
-
|
|
1719
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
1720
|
+
rapid_id=rapid_id,
|
|
1721
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1728
1722
|
_request_auth=_request_auth,
|
|
1729
1723
|
_content_type=_content_type,
|
|
1730
1724
|
_headers=_headers,
|
|
@@ -1732,7 +1726,7 @@ class ValidationApi:
|
|
|
1732
1726
|
)
|
|
1733
1727
|
|
|
1734
1728
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1735
|
-
'
|
|
1729
|
+
'204': None,
|
|
1736
1730
|
}
|
|
1737
1731
|
response_data = self.api_client.call_api(
|
|
1738
1732
|
*_param,
|
|
@@ -1746,10 +1740,10 @@ class ValidationApi:
|
|
|
1746
1740
|
|
|
1747
1741
|
|
|
1748
1742
|
@validate_call
|
|
1749
|
-
def
|
|
1743
|
+
def rapid_validation_rapid_id_patch_with_http_info(
|
|
1750
1744
|
self,
|
|
1751
|
-
|
|
1752
|
-
|
|
1745
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
1746
|
+
update_validation_rapid_model: Annotated[UpdateValidationRapidModel, Field(description="The body request")],
|
|
1753
1747
|
_request_timeout: Union[
|
|
1754
1748
|
None,
|
|
1755
1749
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1762,14 +1756,14 @@ class ValidationApi:
|
|
|
1762
1756
|
_content_type: Optional[StrictStr] = None,
|
|
1763
1757
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1764
1758
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1765
|
-
) -> ApiResponse[
|
|
1766
|
-
"""
|
|
1759
|
+
) -> ApiResponse[None]:
|
|
1760
|
+
"""Updates the validation information of a Rapid.
|
|
1767
1761
|
|
|
1768
1762
|
|
|
1769
|
-
:param
|
|
1770
|
-
:type
|
|
1771
|
-
:param
|
|
1772
|
-
:type
|
|
1763
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
1764
|
+
:type rapid_id: str
|
|
1765
|
+
:param update_validation_rapid_model: The body request (required)
|
|
1766
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1773
1767
|
:param _request_timeout: timeout setting for this request. If one
|
|
1774
1768
|
number provided, it will be total request
|
|
1775
1769
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1792,9 +1786,9 @@ class ValidationApi:
|
|
|
1792
1786
|
:return: Returns the result object.
|
|
1793
1787
|
""" # noqa: E501
|
|
1794
1788
|
|
|
1795
|
-
_param = self.
|
|
1796
|
-
|
|
1797
|
-
|
|
1789
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
1790
|
+
rapid_id=rapid_id,
|
|
1791
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1798
1792
|
_request_auth=_request_auth,
|
|
1799
1793
|
_content_type=_content_type,
|
|
1800
1794
|
_headers=_headers,
|
|
@@ -1802,7 +1796,7 @@ class ValidationApi:
|
|
|
1802
1796
|
)
|
|
1803
1797
|
|
|
1804
1798
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1805
|
-
'
|
|
1799
|
+
'204': None,
|
|
1806
1800
|
}
|
|
1807
1801
|
response_data = self.api_client.call_api(
|
|
1808
1802
|
*_param,
|
|
@@ -1816,10 +1810,10 @@ class ValidationApi:
|
|
|
1816
1810
|
|
|
1817
1811
|
|
|
1818
1812
|
@validate_call
|
|
1819
|
-
def
|
|
1813
|
+
def rapid_validation_rapid_id_patch_without_preload_content(
|
|
1820
1814
|
self,
|
|
1821
|
-
|
|
1822
|
-
|
|
1815
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
1816
|
+
update_validation_rapid_model: Annotated[UpdateValidationRapidModel, Field(description="The body request")],
|
|
1823
1817
|
_request_timeout: Union[
|
|
1824
1818
|
None,
|
|
1825
1819
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1833,13 +1827,13 @@ class ValidationApi:
|
|
|
1833
1827
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1834
1828
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1835
1829
|
) -> RESTResponseType:
|
|
1836
|
-
"""
|
|
1830
|
+
"""Updates the validation information of a Rapid.
|
|
1837
1831
|
|
|
1838
1832
|
|
|
1839
|
-
:param
|
|
1840
|
-
:type
|
|
1841
|
-
:param
|
|
1842
|
-
:type
|
|
1833
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
1834
|
+
:type rapid_id: str
|
|
1835
|
+
:param update_validation_rapid_model: The body request (required)
|
|
1836
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1843
1837
|
:param _request_timeout: timeout setting for this request. If one
|
|
1844
1838
|
number provided, it will be total request
|
|
1845
1839
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1862,9 +1856,9 @@ class ValidationApi:
|
|
|
1862
1856
|
:return: Returns the result object.
|
|
1863
1857
|
""" # noqa: E501
|
|
1864
1858
|
|
|
1865
|
-
_param = self.
|
|
1866
|
-
|
|
1867
|
-
|
|
1859
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
1860
|
+
rapid_id=rapid_id,
|
|
1861
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1868
1862
|
_request_auth=_request_auth,
|
|
1869
1863
|
_content_type=_content_type,
|
|
1870
1864
|
_headers=_headers,
|
|
@@ -1872,7 +1866,7 @@ class ValidationApi:
|
|
|
1872
1866
|
)
|
|
1873
1867
|
|
|
1874
1868
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1875
|
-
'
|
|
1869
|
+
'204': None,
|
|
1876
1870
|
}
|
|
1877
1871
|
response_data = self.api_client.call_api(
|
|
1878
1872
|
*_param,
|
|
@@ -1881,10 +1875,10 @@ class ValidationApi:
|
|
|
1881
1875
|
return response_data.response
|
|
1882
1876
|
|
|
1883
1877
|
|
|
1884
|
-
def
|
|
1878
|
+
def _rapid_validation_rapid_id_patch_serialize(
|
|
1885
1879
|
self,
|
|
1886
|
-
|
|
1887
|
-
|
|
1880
|
+
rapid_id,
|
|
1881
|
+
update_validation_rapid_model,
|
|
1888
1882
|
_request_auth,
|
|
1889
1883
|
_content_type,
|
|
1890
1884
|
_headers,
|
|
@@ -1906,25 +1900,16 @@ class ValidationApi:
|
|
|
1906
1900
|
_body_params: Optional[bytes] = None
|
|
1907
1901
|
|
|
1908
1902
|
# process the path parameters
|
|
1903
|
+
if rapid_id is not None:
|
|
1904
|
+
_path_params['rapidId'] = rapid_id
|
|
1909
1905
|
# process the query parameters
|
|
1910
1906
|
# process the header parameters
|
|
1911
1907
|
# process the form parameters
|
|
1912
|
-
if blueprint is not None:
|
|
1913
|
-
_form_params.append(('Blueprint', blueprint))
|
|
1914
|
-
if file is not None:
|
|
1915
|
-
_files['File'] = file
|
|
1916
1908
|
# process the body parameter
|
|
1909
|
+
if update_validation_rapid_model is not None:
|
|
1910
|
+
_body_params = update_validation_rapid_model
|
|
1917
1911
|
|
|
1918
1912
|
|
|
1919
|
-
# set the HTTP header `Accept`
|
|
1920
|
-
if 'Accept' not in _header_params:
|
|
1921
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1922
|
-
[
|
|
1923
|
-
'text/plain',
|
|
1924
|
-
'application/json',
|
|
1925
|
-
'text/json'
|
|
1926
|
-
]
|
|
1927
|
-
)
|
|
1928
1913
|
|
|
1929
1914
|
# set the HTTP header `Content-Type`
|
|
1930
1915
|
if _content_type:
|
|
@@ -1933,7 +1918,9 @@ class ValidationApi:
|
|
|
1933
1918
|
_default_content_type = (
|
|
1934
1919
|
self.api_client.select_header_content_type(
|
|
1935
1920
|
[
|
|
1936
|
-
'
|
|
1921
|
+
'application/json',
|
|
1922
|
+
'text/json',
|
|
1923
|
+
'application/*+json'
|
|
1937
1924
|
]
|
|
1938
1925
|
)
|
|
1939
1926
|
)
|
|
@@ -1942,13 +1929,14 @@ class ValidationApi:
|
|
|
1942
1929
|
|
|
1943
1930
|
# authentication setting
|
|
1944
1931
|
_auth_settings: List[str] = [
|
|
1945
|
-
'
|
|
1946
|
-
'
|
|
1932
|
+
'OAuth2',
|
|
1933
|
+
'OpenIdConnect',
|
|
1934
|
+
'Bearer'
|
|
1947
1935
|
]
|
|
1948
1936
|
|
|
1949
1937
|
return self.api_client.param_serialize(
|
|
1950
|
-
method='
|
|
1951
|
-
resource_path='/
|
|
1938
|
+
method='PATCH',
|
|
1939
|
+
resource_path='/rapid/validation/{rapidId}',
|
|
1952
1940
|
path_params=_path_params,
|
|
1953
1941
|
query_params=_query_params,
|
|
1954
1942
|
header_params=_header_params,
|
|
@@ -1965,9 +1953,9 @@ class ValidationApi:
|
|
|
1965
1953
|
|
|
1966
1954
|
|
|
1967
1955
|
@validate_call
|
|
1968
|
-
def
|
|
1956
|
+
def rapids_flagged_get(
|
|
1969
1957
|
self,
|
|
1970
|
-
|
|
1958
|
+
request: Annotated[Optional[QueryModel], Field(description="The request to use to filter, sort and page the results")] = None,
|
|
1971
1959
|
_request_timeout: Union[
|
|
1972
1960
|
None,
|
|
1973
1961
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1980,12 +1968,12 @@ class ValidationApi:
|
|
|
1980
1968
|
_content_type: Optional[StrictStr] = None,
|
|
1981
1969
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1982
1970
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1983
|
-
) ->
|
|
1984
|
-
"""
|
|
1971
|
+
) -> PagedResultOfRapidModel:
|
|
1972
|
+
"""Allows querying all rapids that have been flagged.
|
|
1985
1973
|
|
|
1986
1974
|
|
|
1987
|
-
:param
|
|
1988
|
-
:type
|
|
1975
|
+
:param request: The request to use to filter, sort and page the results
|
|
1976
|
+
:type request: QueryModel
|
|
1989
1977
|
:param _request_timeout: timeout setting for this request. If one
|
|
1990
1978
|
number provided, it will be total request
|
|
1991
1979
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2008,8 +1996,8 @@ class ValidationApi:
|
|
|
2008
1996
|
:return: Returns the result object.
|
|
2009
1997
|
""" # noqa: E501
|
|
2010
1998
|
|
|
2011
|
-
_param = self.
|
|
2012
|
-
|
|
1999
|
+
_param = self._rapids_flagged_get_serialize(
|
|
2000
|
+
request=request,
|
|
2013
2001
|
_request_auth=_request_auth,
|
|
2014
2002
|
_content_type=_content_type,
|
|
2015
2003
|
_headers=_headers,
|
|
@@ -2017,7 +2005,7 @@ class ValidationApi:
|
|
|
2017
2005
|
)
|
|
2018
2006
|
|
|
2019
2007
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2020
|
-
'200': "
|
|
2008
|
+
'200': "PagedResultOfRapidModel",
|
|
2021
2009
|
}
|
|
2022
2010
|
response_data = self.api_client.call_api(
|
|
2023
2011
|
*_param,
|
|
@@ -2031,9 +2019,9 @@ class ValidationApi:
|
|
|
2031
2019
|
|
|
2032
2020
|
|
|
2033
2021
|
@validate_call
|
|
2034
|
-
def
|
|
2022
|
+
def rapids_flagged_get_with_http_info(
|
|
2035
2023
|
self,
|
|
2036
|
-
|
|
2024
|
+
request: Annotated[Optional[QueryModel], Field(description="The request to use to filter, sort and page the results")] = None,
|
|
2037
2025
|
_request_timeout: Union[
|
|
2038
2026
|
None,
|
|
2039
2027
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2046,12 +2034,12 @@ class ValidationApi:
|
|
|
2046
2034
|
_content_type: Optional[StrictStr] = None,
|
|
2047
2035
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2048
2036
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2049
|
-
) -> ApiResponse[
|
|
2050
|
-
"""
|
|
2037
|
+
) -> ApiResponse[PagedResultOfRapidModel]:
|
|
2038
|
+
"""Allows querying all rapids that have been flagged.
|
|
2051
2039
|
|
|
2052
2040
|
|
|
2053
|
-
:param
|
|
2054
|
-
:type
|
|
2041
|
+
:param request: The request to use to filter, sort and page the results
|
|
2042
|
+
:type request: QueryModel
|
|
2055
2043
|
:param _request_timeout: timeout setting for this request. If one
|
|
2056
2044
|
number provided, it will be total request
|
|
2057
2045
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2074,8 +2062,8 @@ class ValidationApi:
|
|
|
2074
2062
|
:return: Returns the result object.
|
|
2075
2063
|
""" # noqa: E501
|
|
2076
2064
|
|
|
2077
|
-
_param = self.
|
|
2078
|
-
|
|
2065
|
+
_param = self._rapids_flagged_get_serialize(
|
|
2066
|
+
request=request,
|
|
2079
2067
|
_request_auth=_request_auth,
|
|
2080
2068
|
_content_type=_content_type,
|
|
2081
2069
|
_headers=_headers,
|
|
@@ -2083,7 +2071,7 @@ class ValidationApi:
|
|
|
2083
2071
|
)
|
|
2084
2072
|
|
|
2085
2073
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2086
|
-
'200': "
|
|
2074
|
+
'200': "PagedResultOfRapidModel",
|
|
2087
2075
|
}
|
|
2088
2076
|
response_data = self.api_client.call_api(
|
|
2089
2077
|
*_param,
|
|
@@ -2097,9 +2085,9 @@ class ValidationApi:
|
|
|
2097
2085
|
|
|
2098
2086
|
|
|
2099
2087
|
@validate_call
|
|
2100
|
-
def
|
|
2088
|
+
def rapids_flagged_get_without_preload_content(
|
|
2101
2089
|
self,
|
|
2102
|
-
|
|
2090
|
+
request: Annotated[Optional[QueryModel], Field(description="The request to use to filter, sort and page the results")] = None,
|
|
2103
2091
|
_request_timeout: Union[
|
|
2104
2092
|
None,
|
|
2105
2093
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2113,11 +2101,11 @@ class ValidationApi:
|
|
|
2113
2101
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2114
2102
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2115
2103
|
) -> RESTResponseType:
|
|
2116
|
-
"""
|
|
2104
|
+
"""Allows querying all rapids that have been flagged.
|
|
2117
2105
|
|
|
2118
2106
|
|
|
2119
|
-
:param
|
|
2120
|
-
:type
|
|
2107
|
+
:param request: The request to use to filter, sort and page the results
|
|
2108
|
+
:type request: QueryModel
|
|
2121
2109
|
:param _request_timeout: timeout setting for this request. If one
|
|
2122
2110
|
number provided, it will be total request
|
|
2123
2111
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2140,8 +2128,8 @@ class ValidationApi:
|
|
|
2140
2128
|
:return: Returns the result object.
|
|
2141
2129
|
""" # noqa: E501
|
|
2142
2130
|
|
|
2143
|
-
_param = self.
|
|
2144
|
-
|
|
2131
|
+
_param = self._rapids_flagged_get_serialize(
|
|
2132
|
+
request=request,
|
|
2145
2133
|
_request_auth=_request_auth,
|
|
2146
2134
|
_content_type=_content_type,
|
|
2147
2135
|
_headers=_headers,
|
|
@@ -2149,7 +2137,7 @@ class ValidationApi:
|
|
|
2149
2137
|
)
|
|
2150
2138
|
|
|
2151
2139
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2152
|
-
'200': "
|
|
2140
|
+
'200': "PagedResultOfRapidModel",
|
|
2153
2141
|
}
|
|
2154
2142
|
response_data = self.api_client.call_api(
|
|
2155
2143
|
*_param,
|
|
@@ -2158,9 +2146,9 @@ class ValidationApi:
|
|
|
2158
2146
|
return response_data.response
|
|
2159
2147
|
|
|
2160
2148
|
|
|
2161
|
-
def
|
|
2149
|
+
def _rapids_flagged_get_serialize(
|
|
2162
2150
|
self,
|
|
2163
|
-
|
|
2151
|
+
request,
|
|
2164
2152
|
_request_auth,
|
|
2165
2153
|
_content_type,
|
|
2166
2154
|
_headers,
|
|
@@ -2183,9 +2171,9 @@ class ValidationApi:
|
|
|
2183
2171
|
|
|
2184
2172
|
# process the path parameters
|
|
2185
2173
|
# process the query parameters
|
|
2186
|
-
if
|
|
2174
|
+
if request is not None:
|
|
2187
2175
|
|
|
2188
|
-
_query_params.append(('
|
|
2176
|
+
_query_params.append(('request', request))
|
|
2189
2177
|
|
|
2190
2178
|
# process the header parameters
|
|
2191
2179
|
# process the form parameters
|
|
@@ -2205,13 +2193,14 @@ class ValidationApi:
|
|
|
2205
2193
|
|
|
2206
2194
|
# authentication setting
|
|
2207
2195
|
_auth_settings: List[str] = [
|
|
2208
|
-
'
|
|
2209
|
-
'
|
|
2196
|
+
'OAuth2',
|
|
2197
|
+
'OpenIdConnect',
|
|
2198
|
+
'Bearer'
|
|
2210
2199
|
]
|
|
2211
2200
|
|
|
2212
2201
|
return self.api_client.param_serialize(
|
|
2213
2202
|
method='GET',
|
|
2214
|
-
resource_path='/
|
|
2203
|
+
resource_path='/rapids/flagged',
|
|
2215
2204
|
path_params=_path_params,
|
|
2216
2205
|
query_params=_query_params,
|
|
2217
2206
|
header_params=_header_params,
|