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
|
@@ -19,11 +19,16 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import Field, StrictBytes, StrictStr
|
|
20
20
|
from typing import List, Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
+
from rapidata.api_client.models.add_user_response_result import AddUserResponseResult
|
|
23
|
+
from rapidata.api_client.models.are_rapids_active_result import AreRapidsActiveResult
|
|
22
24
|
from rapidata.api_client.models.create_demographic_rapid_model import CreateDemographicRapidModel
|
|
23
|
-
from rapidata.api_client.models.
|
|
24
|
-
from rapidata.api_client.models.
|
|
25
|
+
from rapidata.api_client.models.create_rapid_result import CreateRapidResult
|
|
26
|
+
from rapidata.api_client.models.get_rapid_responses_result import GetRapidResponsesResult
|
|
27
|
+
from rapidata.api_client.models.inspect_report_result import InspectReportResult
|
|
25
28
|
from rapidata.api_client.models.rapid_result_model import RapidResultModel
|
|
26
29
|
from rapidata.api_client.models.rapid_skipped_model import RapidSkippedModel
|
|
30
|
+
from rapidata.api_client.models.report_model import ReportModel
|
|
31
|
+
from rapidata.api_client.models.update_validation_rapid_model import UpdateValidationRapidModel
|
|
27
32
|
|
|
28
33
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
29
34
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -44,9 +49,1079 @@ class RapidApi:
|
|
|
44
49
|
|
|
45
50
|
|
|
46
51
|
@validate_call
|
|
47
|
-
def
|
|
52
|
+
def rapid_demographic_post(
|
|
48
53
|
self,
|
|
49
|
-
|
|
54
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
55
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
56
|
+
_request_timeout: Union[
|
|
57
|
+
None,
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Tuple[
|
|
60
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
62
|
+
]
|
|
63
|
+
] = None,
|
|
64
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_content_type: Optional[StrictStr] = None,
|
|
66
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
+
) -> CreateRapidResult:
|
|
69
|
+
"""Creates a new Demographic Rapid.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
:param model:
|
|
73
|
+
:type model: CreateDemographicRapidModel
|
|
74
|
+
:param file:
|
|
75
|
+
:type file: List[bytearray]
|
|
76
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
77
|
+
number provided, it will be total request
|
|
78
|
+
timeout. It can also be a pair (tuple) of
|
|
79
|
+
(connection, read) timeouts.
|
|
80
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
81
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
82
|
+
request; this effectively ignores the
|
|
83
|
+
authentication in the spec for a single request.
|
|
84
|
+
:type _request_auth: dict, optional
|
|
85
|
+
:param _content_type: force content-type for the request.
|
|
86
|
+
:type _content_type: str, Optional
|
|
87
|
+
:param _headers: set to override the headers for a single
|
|
88
|
+
request; this effectively ignores the headers
|
|
89
|
+
in the spec for a single request.
|
|
90
|
+
:type _headers: dict, optional
|
|
91
|
+
:param _host_index: set to override the host_index for a single
|
|
92
|
+
request; this effectively ignores the host_index
|
|
93
|
+
in the spec for a single request.
|
|
94
|
+
:type _host_index: int, optional
|
|
95
|
+
:return: Returns the result object.
|
|
96
|
+
""" # noqa: E501
|
|
97
|
+
|
|
98
|
+
_param = self._rapid_demographic_post_serialize(
|
|
99
|
+
model=model,
|
|
100
|
+
file=file,
|
|
101
|
+
_request_auth=_request_auth,
|
|
102
|
+
_content_type=_content_type,
|
|
103
|
+
_headers=_headers,
|
|
104
|
+
_host_index=_host_index
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
108
|
+
'200': "CreateRapidResult",
|
|
109
|
+
}
|
|
110
|
+
response_data = self.api_client.call_api(
|
|
111
|
+
*_param,
|
|
112
|
+
_request_timeout=_request_timeout
|
|
113
|
+
)
|
|
114
|
+
response_data.read()
|
|
115
|
+
return self.api_client.response_deserialize(
|
|
116
|
+
response_data=response_data,
|
|
117
|
+
response_types_map=_response_types_map,
|
|
118
|
+
).data
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
@validate_call
|
|
122
|
+
def rapid_demographic_post_with_http_info(
|
|
123
|
+
self,
|
|
124
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
125
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
126
|
+
_request_timeout: Union[
|
|
127
|
+
None,
|
|
128
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
+
Tuple[
|
|
130
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
131
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
132
|
+
]
|
|
133
|
+
] = None,
|
|
134
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
+
_content_type: Optional[StrictStr] = None,
|
|
136
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
137
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
138
|
+
) -> ApiResponse[CreateRapidResult]:
|
|
139
|
+
"""Creates a new Demographic Rapid.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param model:
|
|
143
|
+
:type model: CreateDemographicRapidModel
|
|
144
|
+
:param file:
|
|
145
|
+
:type file: List[bytearray]
|
|
146
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
147
|
+
number provided, it will be total request
|
|
148
|
+
timeout. It can also be a pair (tuple) of
|
|
149
|
+
(connection, read) timeouts.
|
|
150
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
151
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
152
|
+
request; this effectively ignores the
|
|
153
|
+
authentication in the spec for a single request.
|
|
154
|
+
:type _request_auth: dict, optional
|
|
155
|
+
:param _content_type: force content-type for the request.
|
|
156
|
+
:type _content_type: str, Optional
|
|
157
|
+
:param _headers: set to override the headers for a single
|
|
158
|
+
request; this effectively ignores the headers
|
|
159
|
+
in the spec for a single request.
|
|
160
|
+
:type _headers: dict, optional
|
|
161
|
+
:param _host_index: set to override the host_index for a single
|
|
162
|
+
request; this effectively ignores the host_index
|
|
163
|
+
in the spec for a single request.
|
|
164
|
+
:type _host_index: int, optional
|
|
165
|
+
:return: Returns the result object.
|
|
166
|
+
""" # noqa: E501
|
|
167
|
+
|
|
168
|
+
_param = self._rapid_demographic_post_serialize(
|
|
169
|
+
model=model,
|
|
170
|
+
file=file,
|
|
171
|
+
_request_auth=_request_auth,
|
|
172
|
+
_content_type=_content_type,
|
|
173
|
+
_headers=_headers,
|
|
174
|
+
_host_index=_host_index
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
178
|
+
'200': "CreateRapidResult",
|
|
179
|
+
}
|
|
180
|
+
response_data = self.api_client.call_api(
|
|
181
|
+
*_param,
|
|
182
|
+
_request_timeout=_request_timeout
|
|
183
|
+
)
|
|
184
|
+
response_data.read()
|
|
185
|
+
return self.api_client.response_deserialize(
|
|
186
|
+
response_data=response_data,
|
|
187
|
+
response_types_map=_response_types_map,
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
@validate_call
|
|
192
|
+
def rapid_demographic_post_without_preload_content(
|
|
193
|
+
self,
|
|
194
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
195
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
196
|
+
_request_timeout: Union[
|
|
197
|
+
None,
|
|
198
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
199
|
+
Tuple[
|
|
200
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
201
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
202
|
+
]
|
|
203
|
+
] = None,
|
|
204
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
205
|
+
_content_type: Optional[StrictStr] = None,
|
|
206
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
207
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
208
|
+
) -> RESTResponseType:
|
|
209
|
+
"""Creates a new Demographic Rapid.
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
:param model:
|
|
213
|
+
:type model: CreateDemographicRapidModel
|
|
214
|
+
:param file:
|
|
215
|
+
:type file: List[bytearray]
|
|
216
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
217
|
+
number provided, it will be total request
|
|
218
|
+
timeout. It can also be a pair (tuple) of
|
|
219
|
+
(connection, read) timeouts.
|
|
220
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
221
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
222
|
+
request; this effectively ignores the
|
|
223
|
+
authentication in the spec for a single request.
|
|
224
|
+
:type _request_auth: dict, optional
|
|
225
|
+
:param _content_type: force content-type for the request.
|
|
226
|
+
:type _content_type: str, Optional
|
|
227
|
+
:param _headers: set to override the headers for a single
|
|
228
|
+
request; this effectively ignores the headers
|
|
229
|
+
in the spec for a single request.
|
|
230
|
+
:type _headers: dict, optional
|
|
231
|
+
:param _host_index: set to override the host_index for a single
|
|
232
|
+
request; this effectively ignores the host_index
|
|
233
|
+
in the spec for a single request.
|
|
234
|
+
:type _host_index: int, optional
|
|
235
|
+
:return: Returns the result object.
|
|
236
|
+
""" # noqa: E501
|
|
237
|
+
|
|
238
|
+
_param = self._rapid_demographic_post_serialize(
|
|
239
|
+
model=model,
|
|
240
|
+
file=file,
|
|
241
|
+
_request_auth=_request_auth,
|
|
242
|
+
_content_type=_content_type,
|
|
243
|
+
_headers=_headers,
|
|
244
|
+
_host_index=_host_index
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
248
|
+
'200': "CreateRapidResult",
|
|
249
|
+
}
|
|
250
|
+
response_data = self.api_client.call_api(
|
|
251
|
+
*_param,
|
|
252
|
+
_request_timeout=_request_timeout
|
|
253
|
+
)
|
|
254
|
+
return response_data.response
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def _rapid_demographic_post_serialize(
|
|
258
|
+
self,
|
|
259
|
+
model,
|
|
260
|
+
file,
|
|
261
|
+
_request_auth,
|
|
262
|
+
_content_type,
|
|
263
|
+
_headers,
|
|
264
|
+
_host_index,
|
|
265
|
+
) -> RequestSerialized:
|
|
266
|
+
|
|
267
|
+
_host = None
|
|
268
|
+
|
|
269
|
+
_collection_formats: Dict[str, str] = {
|
|
270
|
+
'file': 'multi',
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
_path_params: Dict[str, str] = {}
|
|
274
|
+
_query_params: List[Tuple[str, str]] = []
|
|
275
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
276
|
+
_form_params: List[Tuple[str, str]] = []
|
|
277
|
+
_files: Dict[
|
|
278
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
279
|
+
] = {}
|
|
280
|
+
_body_params: Optional[bytes] = None
|
|
281
|
+
|
|
282
|
+
# process the path parameters
|
|
283
|
+
# process the query parameters
|
|
284
|
+
# process the header parameters
|
|
285
|
+
# process the form parameters
|
|
286
|
+
if model is not None:
|
|
287
|
+
_form_params.append(('model', model))
|
|
288
|
+
if file is not None:
|
|
289
|
+
_files['file'] = file
|
|
290
|
+
# process the body parameter
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
# set the HTTP header `Accept`
|
|
294
|
+
if 'Accept' not in _header_params:
|
|
295
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
296
|
+
[
|
|
297
|
+
'text/plain',
|
|
298
|
+
'application/json',
|
|
299
|
+
'text/json'
|
|
300
|
+
]
|
|
301
|
+
)
|
|
302
|
+
|
|
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
|
+
|
|
317
|
+
# authentication setting
|
|
318
|
+
_auth_settings: List[str] = [
|
|
319
|
+
'bearer',
|
|
320
|
+
'oauth2'
|
|
321
|
+
]
|
|
322
|
+
|
|
323
|
+
return self.api_client.param_serialize(
|
|
324
|
+
method='POST',
|
|
325
|
+
resource_path='/rapid/demographic',
|
|
326
|
+
path_params=_path_params,
|
|
327
|
+
query_params=_query_params,
|
|
328
|
+
header_params=_header_params,
|
|
329
|
+
body=_body_params,
|
|
330
|
+
post_params=_form_params,
|
|
331
|
+
files=_files,
|
|
332
|
+
auth_settings=_auth_settings,
|
|
333
|
+
collection_formats=_collection_formats,
|
|
334
|
+
_host=_host,
|
|
335
|
+
_request_auth=_request_auth
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
@validate_call
|
|
342
|
+
def rapid_rapid_bag_is_valid_get(
|
|
343
|
+
self,
|
|
344
|
+
_request_timeout: Union[
|
|
345
|
+
None,
|
|
346
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
347
|
+
Tuple[
|
|
348
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
349
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
350
|
+
]
|
|
351
|
+
] = None,
|
|
352
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
353
|
+
_content_type: Optional[StrictStr] = None,
|
|
354
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
355
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
356
|
+
) -> AreRapidsActiveResult:
|
|
357
|
+
"""Validates that the rapids associated with the current user are active.
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
361
|
+
number provided, it will be total request
|
|
362
|
+
timeout. It can also be a pair (tuple) of
|
|
363
|
+
(connection, read) timeouts.
|
|
364
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
365
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
366
|
+
request; this effectively ignores the
|
|
367
|
+
authentication in the spec for a single request.
|
|
368
|
+
:type _request_auth: dict, optional
|
|
369
|
+
:param _content_type: force content-type for the request.
|
|
370
|
+
:type _content_type: str, Optional
|
|
371
|
+
:param _headers: set to override the headers for a single
|
|
372
|
+
request; this effectively ignores the headers
|
|
373
|
+
in the spec for a single request.
|
|
374
|
+
:type _headers: dict, optional
|
|
375
|
+
:param _host_index: set to override the host_index for a single
|
|
376
|
+
request; this effectively ignores the host_index
|
|
377
|
+
in the spec for a single request.
|
|
378
|
+
:type _host_index: int, optional
|
|
379
|
+
:return: Returns the result object.
|
|
380
|
+
""" # noqa: E501
|
|
381
|
+
|
|
382
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
383
|
+
_request_auth=_request_auth,
|
|
384
|
+
_content_type=_content_type,
|
|
385
|
+
_headers=_headers,
|
|
386
|
+
_host_index=_host_index
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
390
|
+
'200': "AreRapidsActiveResult",
|
|
391
|
+
}
|
|
392
|
+
response_data = self.api_client.call_api(
|
|
393
|
+
*_param,
|
|
394
|
+
_request_timeout=_request_timeout
|
|
395
|
+
)
|
|
396
|
+
response_data.read()
|
|
397
|
+
return self.api_client.response_deserialize(
|
|
398
|
+
response_data=response_data,
|
|
399
|
+
response_types_map=_response_types_map,
|
|
400
|
+
).data
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
@validate_call
|
|
404
|
+
def rapid_rapid_bag_is_valid_get_with_http_info(
|
|
405
|
+
self,
|
|
406
|
+
_request_timeout: Union[
|
|
407
|
+
None,
|
|
408
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
409
|
+
Tuple[
|
|
410
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
411
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
412
|
+
]
|
|
413
|
+
] = None,
|
|
414
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
415
|
+
_content_type: Optional[StrictStr] = None,
|
|
416
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
417
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
418
|
+
) -> ApiResponse[AreRapidsActiveResult]:
|
|
419
|
+
"""Validates that the rapids associated with the current user are active.
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
423
|
+
number provided, it will be total request
|
|
424
|
+
timeout. It can also be a pair (tuple) of
|
|
425
|
+
(connection, read) timeouts.
|
|
426
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
427
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
428
|
+
request; this effectively ignores the
|
|
429
|
+
authentication in the spec for a single request.
|
|
430
|
+
:type _request_auth: dict, optional
|
|
431
|
+
:param _content_type: force content-type for the request.
|
|
432
|
+
:type _content_type: str, Optional
|
|
433
|
+
:param _headers: set to override the headers for a single
|
|
434
|
+
request; this effectively ignores the headers
|
|
435
|
+
in the spec for a single request.
|
|
436
|
+
:type _headers: dict, optional
|
|
437
|
+
:param _host_index: set to override the host_index for a single
|
|
438
|
+
request; this effectively ignores the host_index
|
|
439
|
+
in the spec for a single request.
|
|
440
|
+
:type _host_index: int, optional
|
|
441
|
+
:return: Returns the result object.
|
|
442
|
+
""" # noqa: E501
|
|
443
|
+
|
|
444
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
445
|
+
_request_auth=_request_auth,
|
|
446
|
+
_content_type=_content_type,
|
|
447
|
+
_headers=_headers,
|
|
448
|
+
_host_index=_host_index
|
|
449
|
+
)
|
|
450
|
+
|
|
451
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
452
|
+
'200': "AreRapidsActiveResult",
|
|
453
|
+
}
|
|
454
|
+
response_data = self.api_client.call_api(
|
|
455
|
+
*_param,
|
|
456
|
+
_request_timeout=_request_timeout
|
|
457
|
+
)
|
|
458
|
+
response_data.read()
|
|
459
|
+
return self.api_client.response_deserialize(
|
|
460
|
+
response_data=response_data,
|
|
461
|
+
response_types_map=_response_types_map,
|
|
462
|
+
)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
@validate_call
|
|
466
|
+
def rapid_rapid_bag_is_valid_get_without_preload_content(
|
|
467
|
+
self,
|
|
468
|
+
_request_timeout: Union[
|
|
469
|
+
None,
|
|
470
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
471
|
+
Tuple[
|
|
472
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
473
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
474
|
+
]
|
|
475
|
+
] = None,
|
|
476
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
477
|
+
_content_type: Optional[StrictStr] = None,
|
|
478
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
479
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
480
|
+
) -> RESTResponseType:
|
|
481
|
+
"""Validates that the rapids associated with the current user are active.
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
485
|
+
number provided, it will be total request
|
|
486
|
+
timeout. It can also be a pair (tuple) of
|
|
487
|
+
(connection, read) timeouts.
|
|
488
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
489
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
490
|
+
request; this effectively ignores the
|
|
491
|
+
authentication in the spec for a single request.
|
|
492
|
+
:type _request_auth: dict, optional
|
|
493
|
+
:param _content_type: force content-type for the request.
|
|
494
|
+
:type _content_type: str, Optional
|
|
495
|
+
:param _headers: set to override the headers for a single
|
|
496
|
+
request; this effectively ignores the headers
|
|
497
|
+
in the spec for a single request.
|
|
498
|
+
:type _headers: dict, optional
|
|
499
|
+
:param _host_index: set to override the host_index for a single
|
|
500
|
+
request; this effectively ignores the host_index
|
|
501
|
+
in the spec for a single request.
|
|
502
|
+
:type _host_index: int, optional
|
|
503
|
+
:return: Returns the result object.
|
|
504
|
+
""" # noqa: E501
|
|
505
|
+
|
|
506
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
507
|
+
_request_auth=_request_auth,
|
|
508
|
+
_content_type=_content_type,
|
|
509
|
+
_headers=_headers,
|
|
510
|
+
_host_index=_host_index
|
|
511
|
+
)
|
|
512
|
+
|
|
513
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
514
|
+
'200': "AreRapidsActiveResult",
|
|
515
|
+
}
|
|
516
|
+
response_data = self.api_client.call_api(
|
|
517
|
+
*_param,
|
|
518
|
+
_request_timeout=_request_timeout
|
|
519
|
+
)
|
|
520
|
+
return response_data.response
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
def _rapid_rapid_bag_is_valid_get_serialize(
|
|
524
|
+
self,
|
|
525
|
+
_request_auth,
|
|
526
|
+
_content_type,
|
|
527
|
+
_headers,
|
|
528
|
+
_host_index,
|
|
529
|
+
) -> RequestSerialized:
|
|
530
|
+
|
|
531
|
+
_host = None
|
|
532
|
+
|
|
533
|
+
_collection_formats: Dict[str, str] = {
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
_path_params: Dict[str, str] = {}
|
|
537
|
+
_query_params: List[Tuple[str, str]] = []
|
|
538
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
539
|
+
_form_params: List[Tuple[str, str]] = []
|
|
540
|
+
_files: Dict[
|
|
541
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
542
|
+
] = {}
|
|
543
|
+
_body_params: Optional[bytes] = None
|
|
544
|
+
|
|
545
|
+
# process the path parameters
|
|
546
|
+
# process the query parameters
|
|
547
|
+
# process the header parameters
|
|
548
|
+
# process the form parameters
|
|
549
|
+
# process the body parameter
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
# set the HTTP header `Accept`
|
|
553
|
+
if 'Accept' not in _header_params:
|
|
554
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
555
|
+
[
|
|
556
|
+
'text/plain',
|
|
557
|
+
'application/json',
|
|
558
|
+
'text/json'
|
|
559
|
+
]
|
|
560
|
+
)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
# authentication setting
|
|
564
|
+
_auth_settings: List[str] = [
|
|
565
|
+
'bearer',
|
|
566
|
+
'oauth2'
|
|
567
|
+
]
|
|
568
|
+
|
|
569
|
+
return self.api_client.param_serialize(
|
|
570
|
+
method='GET',
|
|
571
|
+
resource_path='/rapid/rapid-bag/is-valid',
|
|
572
|
+
path_params=_path_params,
|
|
573
|
+
query_params=_query_params,
|
|
574
|
+
header_params=_header_params,
|
|
575
|
+
body=_body_params,
|
|
576
|
+
post_params=_form_params,
|
|
577
|
+
files=_files,
|
|
578
|
+
auth_settings=_auth_settings,
|
|
579
|
+
collection_formats=_collection_formats,
|
|
580
|
+
_host=_host,
|
|
581
|
+
_request_auth=_request_auth
|
|
582
|
+
)
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
@validate_call
|
|
588
|
+
def rapid_rapid_id_delete(
|
|
589
|
+
self,
|
|
590
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
591
|
+
_request_timeout: Union[
|
|
592
|
+
None,
|
|
593
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
594
|
+
Tuple[
|
|
595
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
596
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
597
|
+
]
|
|
598
|
+
] = None,
|
|
599
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
600
|
+
_content_type: Optional[StrictStr] = None,
|
|
601
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
602
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
603
|
+
) -> None:
|
|
604
|
+
"""Deletes a rapid.
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
608
|
+
:type rapid_id: str
|
|
609
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
610
|
+
number provided, it will be total request
|
|
611
|
+
timeout. It can also be a pair (tuple) of
|
|
612
|
+
(connection, read) timeouts.
|
|
613
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
614
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
615
|
+
request; this effectively ignores the
|
|
616
|
+
authentication in the spec for a single request.
|
|
617
|
+
:type _request_auth: dict, optional
|
|
618
|
+
:param _content_type: force content-type for the request.
|
|
619
|
+
:type _content_type: str, Optional
|
|
620
|
+
:param _headers: set to override the headers for a single
|
|
621
|
+
request; this effectively ignores the headers
|
|
622
|
+
in the spec for a single request.
|
|
623
|
+
:type _headers: dict, optional
|
|
624
|
+
:param _host_index: set to override the host_index for a single
|
|
625
|
+
request; this effectively ignores the host_index
|
|
626
|
+
in the spec for a single request.
|
|
627
|
+
:type _host_index: int, optional
|
|
628
|
+
:return: Returns the result object.
|
|
629
|
+
""" # noqa: E501
|
|
630
|
+
|
|
631
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
632
|
+
rapid_id=rapid_id,
|
|
633
|
+
_request_auth=_request_auth,
|
|
634
|
+
_content_type=_content_type,
|
|
635
|
+
_headers=_headers,
|
|
636
|
+
_host_index=_host_index
|
|
637
|
+
)
|
|
638
|
+
|
|
639
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
640
|
+
'204': None,
|
|
641
|
+
}
|
|
642
|
+
response_data = self.api_client.call_api(
|
|
643
|
+
*_param,
|
|
644
|
+
_request_timeout=_request_timeout
|
|
645
|
+
)
|
|
646
|
+
response_data.read()
|
|
647
|
+
return self.api_client.response_deserialize(
|
|
648
|
+
response_data=response_data,
|
|
649
|
+
response_types_map=_response_types_map,
|
|
650
|
+
).data
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
@validate_call
|
|
654
|
+
def rapid_rapid_id_delete_with_http_info(
|
|
655
|
+
self,
|
|
656
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
657
|
+
_request_timeout: Union[
|
|
658
|
+
None,
|
|
659
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
660
|
+
Tuple[
|
|
661
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
662
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
663
|
+
]
|
|
664
|
+
] = None,
|
|
665
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
666
|
+
_content_type: Optional[StrictStr] = None,
|
|
667
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
668
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
669
|
+
) -> ApiResponse[None]:
|
|
670
|
+
"""Deletes a rapid.
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
674
|
+
:type rapid_id: str
|
|
675
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
676
|
+
number provided, it will be total request
|
|
677
|
+
timeout. It can also be a pair (tuple) of
|
|
678
|
+
(connection, read) timeouts.
|
|
679
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
680
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
681
|
+
request; this effectively ignores the
|
|
682
|
+
authentication in the spec for a single request.
|
|
683
|
+
:type _request_auth: dict, optional
|
|
684
|
+
:param _content_type: force content-type for the request.
|
|
685
|
+
:type _content_type: str, Optional
|
|
686
|
+
:param _headers: set to override the headers for a single
|
|
687
|
+
request; this effectively ignores the headers
|
|
688
|
+
in the spec for a single request.
|
|
689
|
+
:type _headers: dict, optional
|
|
690
|
+
:param _host_index: set to override the host_index for a single
|
|
691
|
+
request; this effectively ignores the host_index
|
|
692
|
+
in the spec for a single request.
|
|
693
|
+
:type _host_index: int, optional
|
|
694
|
+
:return: Returns the result object.
|
|
695
|
+
""" # noqa: E501
|
|
696
|
+
|
|
697
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
698
|
+
rapid_id=rapid_id,
|
|
699
|
+
_request_auth=_request_auth,
|
|
700
|
+
_content_type=_content_type,
|
|
701
|
+
_headers=_headers,
|
|
702
|
+
_host_index=_host_index
|
|
703
|
+
)
|
|
704
|
+
|
|
705
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
706
|
+
'204': None,
|
|
707
|
+
}
|
|
708
|
+
response_data = self.api_client.call_api(
|
|
709
|
+
*_param,
|
|
710
|
+
_request_timeout=_request_timeout
|
|
711
|
+
)
|
|
712
|
+
response_data.read()
|
|
713
|
+
return self.api_client.response_deserialize(
|
|
714
|
+
response_data=response_data,
|
|
715
|
+
response_types_map=_response_types_map,
|
|
716
|
+
)
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
@validate_call
|
|
720
|
+
def rapid_rapid_id_delete_without_preload_content(
|
|
721
|
+
self,
|
|
722
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
723
|
+
_request_timeout: Union[
|
|
724
|
+
None,
|
|
725
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
726
|
+
Tuple[
|
|
727
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
728
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
729
|
+
]
|
|
730
|
+
] = None,
|
|
731
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
732
|
+
_content_type: Optional[StrictStr] = None,
|
|
733
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
734
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
735
|
+
) -> RESTResponseType:
|
|
736
|
+
"""Deletes a rapid.
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
740
|
+
:type rapid_id: str
|
|
741
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
742
|
+
number provided, it will be total request
|
|
743
|
+
timeout. It can also be a pair (tuple) of
|
|
744
|
+
(connection, read) timeouts.
|
|
745
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
746
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
747
|
+
request; this effectively ignores the
|
|
748
|
+
authentication in the spec for a single request.
|
|
749
|
+
:type _request_auth: dict, optional
|
|
750
|
+
:param _content_type: force content-type for the request.
|
|
751
|
+
:type _content_type: str, Optional
|
|
752
|
+
:param _headers: set to override the headers for a single
|
|
753
|
+
request; this effectively ignores the headers
|
|
754
|
+
in the spec for a single request.
|
|
755
|
+
:type _headers: dict, optional
|
|
756
|
+
:param _host_index: set to override the host_index for a single
|
|
757
|
+
request; this effectively ignores the host_index
|
|
758
|
+
in the spec for a single request.
|
|
759
|
+
:type _host_index: int, optional
|
|
760
|
+
:return: Returns the result object.
|
|
761
|
+
""" # noqa: E501
|
|
762
|
+
|
|
763
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
764
|
+
rapid_id=rapid_id,
|
|
765
|
+
_request_auth=_request_auth,
|
|
766
|
+
_content_type=_content_type,
|
|
767
|
+
_headers=_headers,
|
|
768
|
+
_host_index=_host_index
|
|
769
|
+
)
|
|
770
|
+
|
|
771
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
772
|
+
'204': None,
|
|
773
|
+
}
|
|
774
|
+
response_data = self.api_client.call_api(
|
|
775
|
+
*_param,
|
|
776
|
+
_request_timeout=_request_timeout
|
|
777
|
+
)
|
|
778
|
+
return response_data.response
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
def _rapid_rapid_id_delete_serialize(
|
|
782
|
+
self,
|
|
783
|
+
rapid_id,
|
|
784
|
+
_request_auth,
|
|
785
|
+
_content_type,
|
|
786
|
+
_headers,
|
|
787
|
+
_host_index,
|
|
788
|
+
) -> RequestSerialized:
|
|
789
|
+
|
|
790
|
+
_host = None
|
|
791
|
+
|
|
792
|
+
_collection_formats: Dict[str, str] = {
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
_path_params: Dict[str, str] = {}
|
|
796
|
+
_query_params: List[Tuple[str, str]] = []
|
|
797
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
798
|
+
_form_params: List[Tuple[str, str]] = []
|
|
799
|
+
_files: Dict[
|
|
800
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
801
|
+
] = {}
|
|
802
|
+
_body_params: Optional[bytes] = None
|
|
803
|
+
|
|
804
|
+
# process the path parameters
|
|
805
|
+
if rapid_id is not None:
|
|
806
|
+
_path_params['rapidId'] = rapid_id
|
|
807
|
+
# process the query parameters
|
|
808
|
+
# process the header parameters
|
|
809
|
+
# process the form parameters
|
|
810
|
+
# process the body parameter
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
# authentication setting
|
|
816
|
+
_auth_settings: List[str] = [
|
|
817
|
+
'bearer',
|
|
818
|
+
'oauth2'
|
|
819
|
+
]
|
|
820
|
+
|
|
821
|
+
return self.api_client.param_serialize(
|
|
822
|
+
method='DELETE',
|
|
823
|
+
resource_path='/rapid/{rapidId}',
|
|
824
|
+
path_params=_path_params,
|
|
825
|
+
query_params=_query_params,
|
|
826
|
+
header_params=_header_params,
|
|
827
|
+
body=_body_params,
|
|
828
|
+
post_params=_form_params,
|
|
829
|
+
files=_files,
|
|
830
|
+
auth_settings=_auth_settings,
|
|
831
|
+
collection_formats=_collection_formats,
|
|
832
|
+
_host=_host,
|
|
833
|
+
_request_auth=_request_auth
|
|
834
|
+
)
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
@validate_call
|
|
840
|
+
def rapid_rapid_id_report_post(
|
|
841
|
+
self,
|
|
842
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
843
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
844
|
+
_request_timeout: Union[
|
|
845
|
+
None,
|
|
846
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
847
|
+
Tuple[
|
|
848
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
849
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
850
|
+
]
|
|
851
|
+
] = None,
|
|
852
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
853
|
+
_content_type: Optional[StrictStr] = None,
|
|
854
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
855
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
856
|
+
) -> None:
|
|
857
|
+
"""Used to report an issue with a rapid.
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
:param rapid_id: The rapid to report. (required)
|
|
861
|
+
:type rapid_id: str
|
|
862
|
+
:param report_model: The body request.
|
|
863
|
+
:type report_model: ReportModel
|
|
864
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
865
|
+
number provided, it will be total request
|
|
866
|
+
timeout. It can also be a pair (tuple) of
|
|
867
|
+
(connection, read) timeouts.
|
|
868
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
869
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
870
|
+
request; this effectively ignores the
|
|
871
|
+
authentication in the spec for a single request.
|
|
872
|
+
:type _request_auth: dict, optional
|
|
873
|
+
:param _content_type: force content-type for the request.
|
|
874
|
+
:type _content_type: str, Optional
|
|
875
|
+
:param _headers: set to override the headers for a single
|
|
876
|
+
request; this effectively ignores the headers
|
|
877
|
+
in the spec for a single request.
|
|
878
|
+
:type _headers: dict, optional
|
|
879
|
+
:param _host_index: set to override the host_index for a single
|
|
880
|
+
request; this effectively ignores the host_index
|
|
881
|
+
in the spec for a single request.
|
|
882
|
+
:type _host_index: int, optional
|
|
883
|
+
:return: Returns the result object.
|
|
884
|
+
""" # noqa: E501
|
|
885
|
+
|
|
886
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
887
|
+
rapid_id=rapid_id,
|
|
888
|
+
report_model=report_model,
|
|
889
|
+
_request_auth=_request_auth,
|
|
890
|
+
_content_type=_content_type,
|
|
891
|
+
_headers=_headers,
|
|
892
|
+
_host_index=_host_index
|
|
893
|
+
)
|
|
894
|
+
|
|
895
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
896
|
+
'204': None,
|
|
897
|
+
}
|
|
898
|
+
response_data = self.api_client.call_api(
|
|
899
|
+
*_param,
|
|
900
|
+
_request_timeout=_request_timeout
|
|
901
|
+
)
|
|
902
|
+
response_data.read()
|
|
903
|
+
return self.api_client.response_deserialize(
|
|
904
|
+
response_data=response_data,
|
|
905
|
+
response_types_map=_response_types_map,
|
|
906
|
+
).data
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
@validate_call
|
|
910
|
+
def rapid_rapid_id_report_post_with_http_info(
|
|
911
|
+
self,
|
|
912
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
913
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
914
|
+
_request_timeout: Union[
|
|
915
|
+
None,
|
|
916
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
917
|
+
Tuple[
|
|
918
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
919
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
920
|
+
]
|
|
921
|
+
] = None,
|
|
922
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
923
|
+
_content_type: Optional[StrictStr] = None,
|
|
924
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
925
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
926
|
+
) -> ApiResponse[None]:
|
|
927
|
+
"""Used to report an issue with a rapid.
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
:param rapid_id: The rapid to report. (required)
|
|
931
|
+
:type rapid_id: str
|
|
932
|
+
:param report_model: The body request.
|
|
933
|
+
:type report_model: ReportModel
|
|
934
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
935
|
+
number provided, it will be total request
|
|
936
|
+
timeout. It can also be a pair (tuple) of
|
|
937
|
+
(connection, read) timeouts.
|
|
938
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
939
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
940
|
+
request; this effectively ignores the
|
|
941
|
+
authentication in the spec for a single request.
|
|
942
|
+
:type _request_auth: dict, optional
|
|
943
|
+
:param _content_type: force content-type for the request.
|
|
944
|
+
:type _content_type: str, Optional
|
|
945
|
+
:param _headers: set to override the headers for a single
|
|
946
|
+
request; this effectively ignores the headers
|
|
947
|
+
in the spec for a single request.
|
|
948
|
+
:type _headers: dict, optional
|
|
949
|
+
:param _host_index: set to override the host_index for a single
|
|
950
|
+
request; this effectively ignores the host_index
|
|
951
|
+
in the spec for a single request.
|
|
952
|
+
:type _host_index: int, optional
|
|
953
|
+
:return: Returns the result object.
|
|
954
|
+
""" # noqa: E501
|
|
955
|
+
|
|
956
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
957
|
+
rapid_id=rapid_id,
|
|
958
|
+
report_model=report_model,
|
|
959
|
+
_request_auth=_request_auth,
|
|
960
|
+
_content_type=_content_type,
|
|
961
|
+
_headers=_headers,
|
|
962
|
+
_host_index=_host_index
|
|
963
|
+
)
|
|
964
|
+
|
|
965
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
966
|
+
'204': None,
|
|
967
|
+
}
|
|
968
|
+
response_data = self.api_client.call_api(
|
|
969
|
+
*_param,
|
|
970
|
+
_request_timeout=_request_timeout
|
|
971
|
+
)
|
|
972
|
+
response_data.read()
|
|
973
|
+
return self.api_client.response_deserialize(
|
|
974
|
+
response_data=response_data,
|
|
975
|
+
response_types_map=_response_types_map,
|
|
976
|
+
)
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
@validate_call
|
|
980
|
+
def rapid_rapid_id_report_post_without_preload_content(
|
|
981
|
+
self,
|
|
982
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
983
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
984
|
+
_request_timeout: Union[
|
|
985
|
+
None,
|
|
986
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
987
|
+
Tuple[
|
|
988
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
989
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
990
|
+
]
|
|
991
|
+
] = None,
|
|
992
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
993
|
+
_content_type: Optional[StrictStr] = None,
|
|
994
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
995
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
996
|
+
) -> RESTResponseType:
|
|
997
|
+
"""Used to report an issue with a rapid.
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
:param rapid_id: The rapid to report. (required)
|
|
1001
|
+
:type rapid_id: str
|
|
1002
|
+
:param report_model: The body request.
|
|
1003
|
+
:type report_model: ReportModel
|
|
1004
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1005
|
+
number provided, it will be total request
|
|
1006
|
+
timeout. It can also be a pair (tuple) of
|
|
1007
|
+
(connection, read) timeouts.
|
|
1008
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1009
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1010
|
+
request; this effectively ignores the
|
|
1011
|
+
authentication in the spec for a single request.
|
|
1012
|
+
:type _request_auth: dict, optional
|
|
1013
|
+
:param _content_type: force content-type for the request.
|
|
1014
|
+
:type _content_type: str, Optional
|
|
1015
|
+
:param _headers: set to override the headers for a single
|
|
1016
|
+
request; this effectively ignores the headers
|
|
1017
|
+
in the spec for a single request.
|
|
1018
|
+
:type _headers: dict, optional
|
|
1019
|
+
:param _host_index: set to override the host_index for a single
|
|
1020
|
+
request; this effectively ignores the host_index
|
|
1021
|
+
in the spec for a single request.
|
|
1022
|
+
:type _host_index: int, optional
|
|
1023
|
+
:return: Returns the result object.
|
|
1024
|
+
""" # noqa: E501
|
|
1025
|
+
|
|
1026
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
1027
|
+
rapid_id=rapid_id,
|
|
1028
|
+
report_model=report_model,
|
|
1029
|
+
_request_auth=_request_auth,
|
|
1030
|
+
_content_type=_content_type,
|
|
1031
|
+
_headers=_headers,
|
|
1032
|
+
_host_index=_host_index
|
|
1033
|
+
)
|
|
1034
|
+
|
|
1035
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1036
|
+
'204': None,
|
|
1037
|
+
}
|
|
1038
|
+
response_data = self.api_client.call_api(
|
|
1039
|
+
*_param,
|
|
1040
|
+
_request_timeout=_request_timeout
|
|
1041
|
+
)
|
|
1042
|
+
return response_data.response
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
def _rapid_rapid_id_report_post_serialize(
|
|
1046
|
+
self,
|
|
1047
|
+
rapid_id,
|
|
1048
|
+
report_model,
|
|
1049
|
+
_request_auth,
|
|
1050
|
+
_content_type,
|
|
1051
|
+
_headers,
|
|
1052
|
+
_host_index,
|
|
1053
|
+
) -> RequestSerialized:
|
|
1054
|
+
|
|
1055
|
+
_host = None
|
|
1056
|
+
|
|
1057
|
+
_collection_formats: Dict[str, str] = {
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
_path_params: Dict[str, str] = {}
|
|
1061
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1062
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1063
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1064
|
+
_files: Dict[
|
|
1065
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1066
|
+
] = {}
|
|
1067
|
+
_body_params: Optional[bytes] = None
|
|
1068
|
+
|
|
1069
|
+
# process the path parameters
|
|
1070
|
+
if rapid_id is not None:
|
|
1071
|
+
_path_params['rapidId'] = rapid_id
|
|
1072
|
+
# process the query parameters
|
|
1073
|
+
# process the header parameters
|
|
1074
|
+
# process the form parameters
|
|
1075
|
+
# process the body parameter
|
|
1076
|
+
if report_model is not None:
|
|
1077
|
+
_body_params = report_model
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
# set the HTTP header `Content-Type`
|
|
1082
|
+
if _content_type:
|
|
1083
|
+
_header_params['Content-Type'] = _content_type
|
|
1084
|
+
else:
|
|
1085
|
+
_default_content_type = (
|
|
1086
|
+
self.api_client.select_header_content_type(
|
|
1087
|
+
[
|
|
1088
|
+
'application/json',
|
|
1089
|
+
'text/json',
|
|
1090
|
+
'application/*+json'
|
|
1091
|
+
]
|
|
1092
|
+
)
|
|
1093
|
+
)
|
|
1094
|
+
if _default_content_type is not None:
|
|
1095
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1096
|
+
|
|
1097
|
+
# authentication setting
|
|
1098
|
+
_auth_settings: List[str] = [
|
|
1099
|
+
'bearer',
|
|
1100
|
+
'oauth2'
|
|
1101
|
+
]
|
|
1102
|
+
|
|
1103
|
+
return self.api_client.param_serialize(
|
|
1104
|
+
method='POST',
|
|
1105
|
+
resource_path='/rapid/{rapidId}/report',
|
|
1106
|
+
path_params=_path_params,
|
|
1107
|
+
query_params=_query_params,
|
|
1108
|
+
header_params=_header_params,
|
|
1109
|
+
body=_body_params,
|
|
1110
|
+
post_params=_form_params,
|
|
1111
|
+
files=_files,
|
|
1112
|
+
auth_settings=_auth_settings,
|
|
1113
|
+
collection_formats=_collection_formats,
|
|
1114
|
+
_host=_host,
|
|
1115
|
+
_request_auth=_request_auth
|
|
1116
|
+
)
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
@validate_call
|
|
1122
|
+
def rapid_rapid_id_responses_get(
|
|
1123
|
+
self,
|
|
1124
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
50
1125
|
_request_timeout: Union[
|
|
51
1126
|
None,
|
|
52
1127
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -59,12 +1134,12 @@ class RapidApi:
|
|
|
59
1134
|
_content_type: Optional[StrictStr] = None,
|
|
60
1135
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
61
1136
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
62
|
-
) ->
|
|
63
|
-
"""
|
|
1137
|
+
) -> GetRapidResponsesResult:
|
|
1138
|
+
"""Gets all responses for a given rapid.
|
|
64
1139
|
|
|
65
1140
|
|
|
66
|
-
:param
|
|
67
|
-
:type
|
|
1141
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1142
|
+
:type rapid_id: str
|
|
68
1143
|
:param _request_timeout: timeout setting for this request. If one
|
|
69
1144
|
number provided, it will be total request
|
|
70
1145
|
timeout. It can also be a pair (tuple) of
|
|
@@ -87,8 +1162,8 @@ class RapidApi:
|
|
|
87
1162
|
:return: Returns the result object.
|
|
88
1163
|
""" # noqa: E501
|
|
89
1164
|
|
|
90
|
-
_param = self.
|
|
91
|
-
|
|
1165
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1166
|
+
rapid_id=rapid_id,
|
|
92
1167
|
_request_auth=_request_auth,
|
|
93
1168
|
_content_type=_content_type,
|
|
94
1169
|
_headers=_headers,
|
|
@@ -96,7 +1171,7 @@ class RapidApi:
|
|
|
96
1171
|
)
|
|
97
1172
|
|
|
98
1173
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
-
'200':
|
|
1174
|
+
'200': "GetRapidResponsesResult",
|
|
100
1175
|
}
|
|
101
1176
|
response_data = self.api_client.call_api(
|
|
102
1177
|
*_param,
|
|
@@ -110,9 +1185,9 @@ class RapidApi:
|
|
|
110
1185
|
|
|
111
1186
|
|
|
112
1187
|
@validate_call
|
|
113
|
-
def
|
|
1188
|
+
def rapid_rapid_id_responses_get_with_http_info(
|
|
114
1189
|
self,
|
|
115
|
-
|
|
1190
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
116
1191
|
_request_timeout: Union[
|
|
117
1192
|
None,
|
|
118
1193
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -125,12 +1200,12 @@ class RapidApi:
|
|
|
125
1200
|
_content_type: Optional[StrictStr] = None,
|
|
126
1201
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
127
1202
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128
|
-
) -> ApiResponse[
|
|
129
|
-
"""
|
|
1203
|
+
) -> ApiResponse[GetRapidResponsesResult]:
|
|
1204
|
+
"""Gets all responses for a given rapid.
|
|
130
1205
|
|
|
131
1206
|
|
|
132
|
-
:param
|
|
133
|
-
:type
|
|
1207
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1208
|
+
:type rapid_id: str
|
|
134
1209
|
:param _request_timeout: timeout setting for this request. If one
|
|
135
1210
|
number provided, it will be total request
|
|
136
1211
|
timeout. It can also be a pair (tuple) of
|
|
@@ -153,8 +1228,8 @@ class RapidApi:
|
|
|
153
1228
|
:return: Returns the result object.
|
|
154
1229
|
""" # noqa: E501
|
|
155
1230
|
|
|
156
|
-
_param = self.
|
|
157
|
-
|
|
1231
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1232
|
+
rapid_id=rapid_id,
|
|
158
1233
|
_request_auth=_request_auth,
|
|
159
1234
|
_content_type=_content_type,
|
|
160
1235
|
_headers=_headers,
|
|
@@ -162,7 +1237,7 @@ class RapidApi:
|
|
|
162
1237
|
)
|
|
163
1238
|
|
|
164
1239
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
165
|
-
'200':
|
|
1240
|
+
'200': "GetRapidResponsesResult",
|
|
166
1241
|
}
|
|
167
1242
|
response_data = self.api_client.call_api(
|
|
168
1243
|
*_param,
|
|
@@ -176,9 +1251,9 @@ class RapidApi:
|
|
|
176
1251
|
|
|
177
1252
|
|
|
178
1253
|
@validate_call
|
|
179
|
-
def
|
|
1254
|
+
def rapid_rapid_id_responses_get_without_preload_content(
|
|
180
1255
|
self,
|
|
181
|
-
|
|
1256
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
182
1257
|
_request_timeout: Union[
|
|
183
1258
|
None,
|
|
184
1259
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -192,11 +1267,11 @@ class RapidApi:
|
|
|
192
1267
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
193
1268
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
194
1269
|
) -> RESTResponseType:
|
|
195
|
-
"""
|
|
1270
|
+
"""Gets all responses for a given rapid.
|
|
196
1271
|
|
|
197
1272
|
|
|
198
|
-
:param
|
|
199
|
-
:type
|
|
1273
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1274
|
+
:type rapid_id: str
|
|
200
1275
|
:param _request_timeout: timeout setting for this request. If one
|
|
201
1276
|
number provided, it will be total request
|
|
202
1277
|
timeout. It can also be a pair (tuple) of
|
|
@@ -219,8 +1294,8 @@ class RapidApi:
|
|
|
219
1294
|
:return: Returns the result object.
|
|
220
1295
|
""" # noqa: E501
|
|
221
1296
|
|
|
222
|
-
_param = self.
|
|
223
|
-
|
|
1297
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1298
|
+
rapid_id=rapid_id,
|
|
224
1299
|
_request_auth=_request_auth,
|
|
225
1300
|
_content_type=_content_type,
|
|
226
1301
|
_headers=_headers,
|
|
@@ -228,7 +1303,7 @@ class RapidApi:
|
|
|
228
1303
|
)
|
|
229
1304
|
|
|
230
1305
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
231
|
-
'200':
|
|
1306
|
+
'200': "GetRapidResponsesResult",
|
|
232
1307
|
}
|
|
233
1308
|
response_data = self.api_client.call_api(
|
|
234
1309
|
*_param,
|
|
@@ -237,9 +1312,9 @@ class RapidApi:
|
|
|
237
1312
|
return response_data.response
|
|
238
1313
|
|
|
239
1314
|
|
|
240
|
-
def
|
|
1315
|
+
def _rapid_rapid_id_responses_get_serialize(
|
|
241
1316
|
self,
|
|
242
|
-
|
|
1317
|
+
rapid_id,
|
|
243
1318
|
_request_auth,
|
|
244
1319
|
_content_type,
|
|
245
1320
|
_headers,
|
|
@@ -261,30 +1336,24 @@ class RapidApi:
|
|
|
261
1336
|
_body_params: Optional[bytes] = None
|
|
262
1337
|
|
|
263
1338
|
# process the path parameters
|
|
1339
|
+
if rapid_id is not None:
|
|
1340
|
+
_path_params['rapidId'] = rapid_id
|
|
264
1341
|
# process the query parameters
|
|
265
1342
|
# process the header parameters
|
|
266
1343
|
# process the form parameters
|
|
267
1344
|
# process the body parameter
|
|
268
|
-
if rapid_result_model is not None:
|
|
269
|
-
_body_params = rapid_result_model
|
|
270
|
-
|
|
271
1345
|
|
|
272
1346
|
|
|
273
|
-
# set the HTTP header `
|
|
274
|
-
if
|
|
275
|
-
_header_params['
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
'text/json',
|
|
282
|
-
'application/*+json'
|
|
283
|
-
]
|
|
284
|
-
)
|
|
1347
|
+
# set the HTTP header `Accept`
|
|
1348
|
+
if 'Accept' not in _header_params:
|
|
1349
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1350
|
+
[
|
|
1351
|
+
'text/plain',
|
|
1352
|
+
'application/json',
|
|
1353
|
+
'text/json'
|
|
1354
|
+
]
|
|
285
1355
|
)
|
|
286
|
-
|
|
287
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1356
|
+
|
|
288
1357
|
|
|
289
1358
|
# authentication setting
|
|
290
1359
|
_auth_settings: List[str] = [
|
|
@@ -293,8 +1362,8 @@ class RapidApi:
|
|
|
293
1362
|
]
|
|
294
1363
|
|
|
295
1364
|
return self.api_client.param_serialize(
|
|
296
|
-
method='
|
|
297
|
-
resource_path='/
|
|
1365
|
+
method='GET',
|
|
1366
|
+
resource_path='/rapid/{rapidId}/responses',
|
|
298
1367
|
path_params=_path_params,
|
|
299
1368
|
query_params=_query_params,
|
|
300
1369
|
header_params=_header_params,
|
|
@@ -311,10 +1380,9 @@ class RapidApi:
|
|
|
311
1380
|
|
|
312
1381
|
|
|
313
1382
|
@validate_call
|
|
314
|
-
def
|
|
1383
|
+
def rapid_report_report_id_get(
|
|
315
1384
|
self,
|
|
316
|
-
|
|
317
|
-
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1385
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
318
1386
|
_request_timeout: Union[
|
|
319
1387
|
None,
|
|
320
1388
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -327,14 +1395,12 @@ class RapidApi:
|
|
|
327
1395
|
_content_type: Optional[StrictStr] = None,
|
|
328
1396
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
329
1397
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
330
|
-
) ->
|
|
331
|
-
"""
|
|
1398
|
+
) -> InspectReportResult:
|
|
1399
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
332
1400
|
|
|
333
1401
|
|
|
334
|
-
:param
|
|
335
|
-
:type
|
|
336
|
-
:param file: The file to use as the asset for the rapid.
|
|
337
|
-
:type file: List[bytearray]
|
|
1402
|
+
:param report_id: The report id (required)
|
|
1403
|
+
:type report_id: str
|
|
338
1404
|
:param _request_timeout: timeout setting for this request. If one
|
|
339
1405
|
number provided, it will be total request
|
|
340
1406
|
timeout. It can also be a pair (tuple) of
|
|
@@ -357,9 +1423,8 @@ class RapidApi:
|
|
|
357
1423
|
:return: Returns the result object.
|
|
358
1424
|
""" # noqa: E501
|
|
359
1425
|
|
|
360
|
-
_param = self.
|
|
361
|
-
|
|
362
|
-
file=file,
|
|
1426
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1427
|
+
report_id=report_id,
|
|
363
1428
|
_request_auth=_request_auth,
|
|
364
1429
|
_content_type=_content_type,
|
|
365
1430
|
_headers=_headers,
|
|
@@ -367,7 +1432,7 @@ class RapidApi:
|
|
|
367
1432
|
)
|
|
368
1433
|
|
|
369
1434
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
370
|
-
'200':
|
|
1435
|
+
'200': "InspectReportResult",
|
|
371
1436
|
}
|
|
372
1437
|
response_data = self.api_client.call_api(
|
|
373
1438
|
*_param,
|
|
@@ -381,10 +1446,9 @@ class RapidApi:
|
|
|
381
1446
|
|
|
382
1447
|
|
|
383
1448
|
@validate_call
|
|
384
|
-
def
|
|
1449
|
+
def rapid_report_report_id_get_with_http_info(
|
|
385
1450
|
self,
|
|
386
|
-
|
|
387
|
-
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1451
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
388
1452
|
_request_timeout: Union[
|
|
389
1453
|
None,
|
|
390
1454
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -397,14 +1461,12 @@ class RapidApi:
|
|
|
397
1461
|
_content_type: Optional[StrictStr] = None,
|
|
398
1462
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
399
1463
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
400
|
-
) -> ApiResponse[
|
|
401
|
-
"""
|
|
1464
|
+
) -> ApiResponse[InspectReportResult]:
|
|
1465
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
402
1466
|
|
|
403
1467
|
|
|
404
|
-
:param
|
|
405
|
-
:type
|
|
406
|
-
:param file: The file to use as the asset for the rapid.
|
|
407
|
-
:type file: List[bytearray]
|
|
1468
|
+
:param report_id: The report id (required)
|
|
1469
|
+
:type report_id: str
|
|
408
1470
|
:param _request_timeout: timeout setting for this request. If one
|
|
409
1471
|
number provided, it will be total request
|
|
410
1472
|
timeout. It can also be a pair (tuple) of
|
|
@@ -427,9 +1489,8 @@ class RapidApi:
|
|
|
427
1489
|
:return: Returns the result object.
|
|
428
1490
|
""" # noqa: E501
|
|
429
1491
|
|
|
430
|
-
_param = self.
|
|
431
|
-
|
|
432
|
-
file=file,
|
|
1492
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1493
|
+
report_id=report_id,
|
|
433
1494
|
_request_auth=_request_auth,
|
|
434
1495
|
_content_type=_content_type,
|
|
435
1496
|
_headers=_headers,
|
|
@@ -437,7 +1498,7 @@ class RapidApi:
|
|
|
437
1498
|
)
|
|
438
1499
|
|
|
439
1500
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
440
|
-
'200':
|
|
1501
|
+
'200': "InspectReportResult",
|
|
441
1502
|
}
|
|
442
1503
|
response_data = self.api_client.call_api(
|
|
443
1504
|
*_param,
|
|
@@ -451,10 +1512,9 @@ class RapidApi:
|
|
|
451
1512
|
|
|
452
1513
|
|
|
453
1514
|
@validate_call
|
|
454
|
-
def
|
|
1515
|
+
def rapid_report_report_id_get_without_preload_content(
|
|
455
1516
|
self,
|
|
456
|
-
|
|
457
|
-
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The file to use as the asset for the rapid.")] = None,
|
|
1517
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
458
1518
|
_request_timeout: Union[
|
|
459
1519
|
None,
|
|
460
1520
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -468,13 +1528,11 @@ class RapidApi:
|
|
|
468
1528
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
469
1529
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
470
1530
|
) -> RESTResponseType:
|
|
471
|
-
"""
|
|
1531
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
472
1532
|
|
|
473
1533
|
|
|
474
|
-
:param
|
|
475
|
-
:type
|
|
476
|
-
:param file: The file to use as the asset for the rapid.
|
|
477
|
-
:type file: List[bytearray]
|
|
1534
|
+
:param report_id: The report id (required)
|
|
1535
|
+
:type report_id: str
|
|
478
1536
|
:param _request_timeout: timeout setting for this request. If one
|
|
479
1537
|
number provided, it will be total request
|
|
480
1538
|
timeout. It can also be a pair (tuple) of
|
|
@@ -497,9 +1555,8 @@ class RapidApi:
|
|
|
497
1555
|
:return: Returns the result object.
|
|
498
1556
|
""" # noqa: E501
|
|
499
1557
|
|
|
500
|
-
_param = self.
|
|
501
|
-
|
|
502
|
-
file=file,
|
|
1558
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1559
|
+
report_id=report_id,
|
|
503
1560
|
_request_auth=_request_auth,
|
|
504
1561
|
_content_type=_content_type,
|
|
505
1562
|
_headers=_headers,
|
|
@@ -507,7 +1564,7 @@ class RapidApi:
|
|
|
507
1564
|
)
|
|
508
1565
|
|
|
509
1566
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
510
|
-
'200':
|
|
1567
|
+
'200': "InspectReportResult",
|
|
511
1568
|
}
|
|
512
1569
|
response_data = self.api_client.call_api(
|
|
513
1570
|
*_param,
|
|
@@ -516,10 +1573,9 @@ class RapidApi:
|
|
|
516
1573
|
return response_data.response
|
|
517
1574
|
|
|
518
1575
|
|
|
519
|
-
def
|
|
1576
|
+
def _rapid_report_report_id_get_serialize(
|
|
520
1577
|
self,
|
|
521
|
-
|
|
522
|
-
file,
|
|
1578
|
+
report_id,
|
|
523
1579
|
_request_auth,
|
|
524
1580
|
_content_type,
|
|
525
1581
|
_headers,
|
|
@@ -529,7 +1585,6 @@ class RapidApi:
|
|
|
529
1585
|
_host = None
|
|
530
1586
|
|
|
531
1587
|
_collection_formats: Dict[str, str] = {
|
|
532
|
-
'file': 'multi',
|
|
533
1588
|
}
|
|
534
1589
|
|
|
535
1590
|
_path_params: Dict[str, str] = {}
|
|
@@ -542,30 +1597,24 @@ class RapidApi:
|
|
|
542
1597
|
_body_params: Optional[bytes] = None
|
|
543
1598
|
|
|
544
1599
|
# process the path parameters
|
|
1600
|
+
if report_id is not None:
|
|
1601
|
+
_path_params['reportId'] = report_id
|
|
545
1602
|
# process the query parameters
|
|
546
1603
|
# process the header parameters
|
|
547
1604
|
# process the form parameters
|
|
548
|
-
if model is not None:
|
|
549
|
-
_form_params.append(('model', model))
|
|
550
|
-
if file is not None:
|
|
551
|
-
_files['file'] = file
|
|
552
1605
|
# process the body parameter
|
|
553
1606
|
|
|
554
1607
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
'multipart/form-data'
|
|
564
|
-
]
|
|
565
|
-
)
|
|
1608
|
+
# set the HTTP header `Accept`
|
|
1609
|
+
if 'Accept' not in _header_params:
|
|
1610
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1611
|
+
[
|
|
1612
|
+
'text/plain',
|
|
1613
|
+
'application/json',
|
|
1614
|
+
'text/json'
|
|
1615
|
+
]
|
|
566
1616
|
)
|
|
567
|
-
|
|
568
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1617
|
+
|
|
569
1618
|
|
|
570
1619
|
# authentication setting
|
|
571
1620
|
_auth_settings: List[str] = [
|
|
@@ -574,8 +1623,8 @@ class RapidApi:
|
|
|
574
1623
|
]
|
|
575
1624
|
|
|
576
1625
|
return self.api_client.param_serialize(
|
|
577
|
-
method='
|
|
578
|
-
resource_path='/
|
|
1626
|
+
method='GET',
|
|
1627
|
+
resource_path='/rapid/report/{reportId}',
|
|
579
1628
|
path_params=_path_params,
|
|
580
1629
|
query_params=_query_params,
|
|
581
1630
|
header_params=_header_params,
|
|
@@ -592,10 +1641,9 @@ class RapidApi:
|
|
|
592
1641
|
|
|
593
1642
|
|
|
594
1643
|
@validate_call
|
|
595
|
-
def
|
|
1644
|
+
def rapid_response_post(
|
|
596
1645
|
self,
|
|
597
|
-
|
|
598
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
1646
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
599
1647
|
_request_timeout: Union[
|
|
600
1648
|
None,
|
|
601
1649
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -608,14 +1656,12 @@ class RapidApi:
|
|
|
608
1656
|
_content_type: Optional[StrictStr] = None,
|
|
609
1657
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
610
1658
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
611
|
-
) ->
|
|
612
|
-
"""
|
|
1659
|
+
) -> AddUserResponseResult:
|
|
1660
|
+
"""Submits a response for a Rapid.
|
|
613
1661
|
|
|
614
1662
|
|
|
615
|
-
:param
|
|
616
|
-
:type
|
|
617
|
-
:param model: The query model.
|
|
618
|
-
:type model: QueryModel
|
|
1663
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1664
|
+
:type rapid_result_model: RapidResultModel
|
|
619
1665
|
:param _request_timeout: timeout setting for this request. If one
|
|
620
1666
|
number provided, it will be total request
|
|
621
1667
|
timeout. It can also be a pair (tuple) of
|
|
@@ -638,9 +1684,8 @@ class RapidApi:
|
|
|
638
1684
|
:return: Returns the result object.
|
|
639
1685
|
""" # noqa: E501
|
|
640
1686
|
|
|
641
|
-
_param = self.
|
|
642
|
-
|
|
643
|
-
model=model,
|
|
1687
|
+
_param = self._rapid_response_post_serialize(
|
|
1688
|
+
rapid_result_model=rapid_result_model,
|
|
644
1689
|
_request_auth=_request_auth,
|
|
645
1690
|
_content_type=_content_type,
|
|
646
1691
|
_headers=_headers,
|
|
@@ -648,7 +1693,7 @@ class RapidApi:
|
|
|
648
1693
|
)
|
|
649
1694
|
|
|
650
1695
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
651
|
-
'200': "
|
|
1696
|
+
'200': "AddUserResponseResult",
|
|
652
1697
|
}
|
|
653
1698
|
response_data = self.api_client.call_api(
|
|
654
1699
|
*_param,
|
|
@@ -662,10 +1707,9 @@ class RapidApi:
|
|
|
662
1707
|
|
|
663
1708
|
|
|
664
1709
|
@validate_call
|
|
665
|
-
def
|
|
1710
|
+
def rapid_response_post_with_http_info(
|
|
666
1711
|
self,
|
|
667
|
-
|
|
668
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
1712
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
669
1713
|
_request_timeout: Union[
|
|
670
1714
|
None,
|
|
671
1715
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -678,14 +1722,12 @@ class RapidApi:
|
|
|
678
1722
|
_content_type: Optional[StrictStr] = None,
|
|
679
1723
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
680
1724
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
681
|
-
) -> ApiResponse[
|
|
682
|
-
"""
|
|
1725
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
1726
|
+
"""Submits a response for a Rapid.
|
|
683
1727
|
|
|
684
1728
|
|
|
685
|
-
:param
|
|
686
|
-
:type
|
|
687
|
-
:param model: The query model.
|
|
688
|
-
:type model: QueryModel
|
|
1729
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1730
|
+
:type rapid_result_model: RapidResultModel
|
|
689
1731
|
:param _request_timeout: timeout setting for this request. If one
|
|
690
1732
|
number provided, it will be total request
|
|
691
1733
|
timeout. It can also be a pair (tuple) of
|
|
@@ -708,9 +1750,8 @@ class RapidApi:
|
|
|
708
1750
|
:return: Returns the result object.
|
|
709
1751
|
""" # noqa: E501
|
|
710
1752
|
|
|
711
|
-
_param = self.
|
|
712
|
-
|
|
713
|
-
model=model,
|
|
1753
|
+
_param = self._rapid_response_post_serialize(
|
|
1754
|
+
rapid_result_model=rapid_result_model,
|
|
714
1755
|
_request_auth=_request_auth,
|
|
715
1756
|
_content_type=_content_type,
|
|
716
1757
|
_headers=_headers,
|
|
@@ -718,7 +1759,7 @@ class RapidApi:
|
|
|
718
1759
|
)
|
|
719
1760
|
|
|
720
1761
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
721
|
-
'200': "
|
|
1762
|
+
'200': "AddUserResponseResult",
|
|
722
1763
|
}
|
|
723
1764
|
response_data = self.api_client.call_api(
|
|
724
1765
|
*_param,
|
|
@@ -732,10 +1773,9 @@ class RapidApi:
|
|
|
732
1773
|
|
|
733
1774
|
|
|
734
1775
|
@validate_call
|
|
735
|
-
def
|
|
1776
|
+
def rapid_response_post_without_preload_content(
|
|
736
1777
|
self,
|
|
737
|
-
|
|
738
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
1778
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
739
1779
|
_request_timeout: Union[
|
|
740
1780
|
None,
|
|
741
1781
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -749,13 +1789,11 @@ class RapidApi:
|
|
|
749
1789
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
750
1790
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
751
1791
|
) -> RESTResponseType:
|
|
752
|
-
"""
|
|
1792
|
+
"""Submits a response for a Rapid.
|
|
753
1793
|
|
|
754
1794
|
|
|
755
|
-
:param
|
|
756
|
-
:type
|
|
757
|
-
:param model: The query model.
|
|
758
|
-
:type model: QueryModel
|
|
1795
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1796
|
+
:type rapid_result_model: RapidResultModel
|
|
759
1797
|
:param _request_timeout: timeout setting for this request. If one
|
|
760
1798
|
number provided, it will be total request
|
|
761
1799
|
timeout. It can also be a pair (tuple) of
|
|
@@ -778,9 +1816,8 @@ class RapidApi:
|
|
|
778
1816
|
:return: Returns the result object.
|
|
779
1817
|
""" # noqa: E501
|
|
780
1818
|
|
|
781
|
-
_param = self.
|
|
782
|
-
|
|
783
|
-
model=model,
|
|
1819
|
+
_param = self._rapid_response_post_serialize(
|
|
1820
|
+
rapid_result_model=rapid_result_model,
|
|
784
1821
|
_request_auth=_request_auth,
|
|
785
1822
|
_content_type=_content_type,
|
|
786
1823
|
_headers=_headers,
|
|
@@ -788,7 +1825,7 @@ class RapidApi:
|
|
|
788
1825
|
)
|
|
789
1826
|
|
|
790
1827
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
791
|
-
'200': "
|
|
1828
|
+
'200': "AddUserResponseResult",
|
|
792
1829
|
}
|
|
793
1830
|
response_data = self.api_client.call_api(
|
|
794
1831
|
*_param,
|
|
@@ -797,10 +1834,9 @@ class RapidApi:
|
|
|
797
1834
|
return response_data.response
|
|
798
1835
|
|
|
799
1836
|
|
|
800
|
-
def
|
|
1837
|
+
def _rapid_response_post_serialize(
|
|
801
1838
|
self,
|
|
802
|
-
|
|
803
|
-
model,
|
|
1839
|
+
rapid_result_model,
|
|
804
1840
|
_request_auth,
|
|
805
1841
|
_content_type,
|
|
806
1842
|
_headers,
|
|
@@ -823,17 +1859,11 @@ class RapidApi:
|
|
|
823
1859
|
|
|
824
1860
|
# process the path parameters
|
|
825
1861
|
# process the query parameters
|
|
826
|
-
if validation_set_id is not None:
|
|
827
|
-
|
|
828
|
-
_query_params.append(('validationSetId', validation_set_id))
|
|
829
|
-
|
|
830
|
-
if model is not None:
|
|
831
|
-
|
|
832
|
-
_query_params.append(('model', model))
|
|
833
|
-
|
|
834
1862
|
# process the header parameters
|
|
835
1863
|
# process the form parameters
|
|
836
1864
|
# process the body parameter
|
|
1865
|
+
if rapid_result_model is not None:
|
|
1866
|
+
_body_params = rapid_result_model
|
|
837
1867
|
|
|
838
1868
|
|
|
839
1869
|
# set the HTTP header `Accept`
|
|
@@ -846,6 +1876,21 @@ class RapidApi:
|
|
|
846
1876
|
]
|
|
847
1877
|
)
|
|
848
1878
|
|
|
1879
|
+
# set the HTTP header `Content-Type`
|
|
1880
|
+
if _content_type:
|
|
1881
|
+
_header_params['Content-Type'] = _content_type
|
|
1882
|
+
else:
|
|
1883
|
+
_default_content_type = (
|
|
1884
|
+
self.api_client.select_header_content_type(
|
|
1885
|
+
[
|
|
1886
|
+
'application/json',
|
|
1887
|
+
'text/json',
|
|
1888
|
+
'application/*+json'
|
|
1889
|
+
]
|
|
1890
|
+
)
|
|
1891
|
+
)
|
|
1892
|
+
if _default_content_type is not None:
|
|
1893
|
+
_header_params['Content-Type'] = _default_content_type
|
|
849
1894
|
|
|
850
1895
|
# authentication setting
|
|
851
1896
|
_auth_settings: List[str] = [
|
|
@@ -854,8 +1899,8 @@ class RapidApi:
|
|
|
854
1899
|
]
|
|
855
1900
|
|
|
856
1901
|
return self.api_client.param_serialize(
|
|
857
|
-
method='
|
|
858
|
-
resource_path='/
|
|
1902
|
+
method='POST',
|
|
1903
|
+
resource_path='/rapid/response',
|
|
859
1904
|
path_params=_path_params,
|
|
860
1905
|
query_params=_query_params,
|
|
861
1906
|
header_params=_header_params,
|
|
@@ -872,7 +1917,7 @@ class RapidApi:
|
|
|
872
1917
|
|
|
873
1918
|
|
|
874
1919
|
@validate_call
|
|
875
|
-
def
|
|
1920
|
+
def rapid_skip_post(
|
|
876
1921
|
self,
|
|
877
1922
|
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
878
1923
|
_request_timeout: Union[
|
|
@@ -887,7 +1932,7 @@ class RapidApi:
|
|
|
887
1932
|
_content_type: Optional[StrictStr] = None,
|
|
888
1933
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
889
1934
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
890
|
-
) ->
|
|
1935
|
+
) -> AddUserResponseResult:
|
|
891
1936
|
"""Skips a Rapid for the user.
|
|
892
1937
|
|
|
893
1938
|
|
|
@@ -915,7 +1960,7 @@ class RapidApi:
|
|
|
915
1960
|
:return: Returns the result object.
|
|
916
1961
|
""" # noqa: E501
|
|
917
1962
|
|
|
918
|
-
_param = self.
|
|
1963
|
+
_param = self._rapid_skip_post_serialize(
|
|
919
1964
|
rapid_skipped_model=rapid_skipped_model,
|
|
920
1965
|
_request_auth=_request_auth,
|
|
921
1966
|
_content_type=_content_type,
|
|
@@ -924,7 +1969,7 @@ class RapidApi:
|
|
|
924
1969
|
)
|
|
925
1970
|
|
|
926
1971
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
927
|
-
'200':
|
|
1972
|
+
'200': "AddUserResponseResult",
|
|
928
1973
|
}
|
|
929
1974
|
response_data = self.api_client.call_api(
|
|
930
1975
|
*_param,
|
|
@@ -938,7 +1983,7 @@ class RapidApi:
|
|
|
938
1983
|
|
|
939
1984
|
|
|
940
1985
|
@validate_call
|
|
941
|
-
def
|
|
1986
|
+
def rapid_skip_post_with_http_info(
|
|
942
1987
|
self,
|
|
943
1988
|
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
944
1989
|
_request_timeout: Union[
|
|
@@ -953,7 +1998,7 @@ class RapidApi:
|
|
|
953
1998
|
_content_type: Optional[StrictStr] = None,
|
|
954
1999
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
955
2000
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
956
|
-
) -> ApiResponse[
|
|
2001
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
957
2002
|
"""Skips a Rapid for the user.
|
|
958
2003
|
|
|
959
2004
|
|
|
@@ -981,7 +2026,7 @@ class RapidApi:
|
|
|
981
2026
|
:return: Returns the result object.
|
|
982
2027
|
""" # noqa: E501
|
|
983
2028
|
|
|
984
|
-
_param = self.
|
|
2029
|
+
_param = self._rapid_skip_post_serialize(
|
|
985
2030
|
rapid_skipped_model=rapid_skipped_model,
|
|
986
2031
|
_request_auth=_request_auth,
|
|
987
2032
|
_content_type=_content_type,
|
|
@@ -990,7 +2035,7 @@ class RapidApi:
|
|
|
990
2035
|
)
|
|
991
2036
|
|
|
992
2037
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
993
|
-
'200':
|
|
2038
|
+
'200': "AddUserResponseResult",
|
|
994
2039
|
}
|
|
995
2040
|
response_data = self.api_client.call_api(
|
|
996
2041
|
*_param,
|
|
@@ -1004,7 +2049,7 @@ class RapidApi:
|
|
|
1004
2049
|
|
|
1005
2050
|
|
|
1006
2051
|
@validate_call
|
|
1007
|
-
def
|
|
2052
|
+
def rapid_skip_post_without_preload_content(
|
|
1008
2053
|
self,
|
|
1009
2054
|
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
1010
2055
|
_request_timeout: Union[
|
|
@@ -1047,7 +2092,7 @@ class RapidApi:
|
|
|
1047
2092
|
:return: Returns the result object.
|
|
1048
2093
|
""" # noqa: E501
|
|
1049
2094
|
|
|
1050
|
-
_param = self.
|
|
2095
|
+
_param = self._rapid_skip_post_serialize(
|
|
1051
2096
|
rapid_skipped_model=rapid_skipped_model,
|
|
1052
2097
|
_request_auth=_request_auth,
|
|
1053
2098
|
_content_type=_content_type,
|
|
@@ -1056,7 +2101,7 @@ class RapidApi:
|
|
|
1056
2101
|
)
|
|
1057
2102
|
|
|
1058
2103
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1059
|
-
'200':
|
|
2104
|
+
'200': "AddUserResponseResult",
|
|
1060
2105
|
}
|
|
1061
2106
|
response_data = self.api_client.call_api(
|
|
1062
2107
|
*_param,
|
|
@@ -1065,7 +2110,7 @@ class RapidApi:
|
|
|
1065
2110
|
return response_data.response
|
|
1066
2111
|
|
|
1067
2112
|
|
|
1068
|
-
def
|
|
2113
|
+
def _rapid_skip_post_serialize(
|
|
1069
2114
|
self,
|
|
1070
2115
|
rapid_skipped_model,
|
|
1071
2116
|
_request_auth,
|
|
@@ -1097,6 +2142,15 @@ class RapidApi:
|
|
|
1097
2142
|
_body_params = rapid_skipped_model
|
|
1098
2143
|
|
|
1099
2144
|
|
|
2145
|
+
# set the HTTP header `Accept`
|
|
2146
|
+
if 'Accept' not in _header_params:
|
|
2147
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2148
|
+
[
|
|
2149
|
+
'text/plain',
|
|
2150
|
+
'application/json',
|
|
2151
|
+
'text/json'
|
|
2152
|
+
]
|
|
2153
|
+
)
|
|
1100
2154
|
|
|
1101
2155
|
# set the HTTP header `Content-Type`
|
|
1102
2156
|
if _content_type:
|
|
@@ -1122,7 +2176,7 @@ class RapidApi:
|
|
|
1122
2176
|
|
|
1123
2177
|
return self.api_client.param_serialize(
|
|
1124
2178
|
method='POST',
|
|
1125
|
-
resource_path='/
|
|
2179
|
+
resource_path='/rapid/skip',
|
|
1126
2180
|
path_params=_path_params,
|
|
1127
2181
|
query_params=_query_params,
|
|
1128
2182
|
header_params=_header_params,
|
|
@@ -1139,8 +2193,10 @@ class RapidApi:
|
|
|
1139
2193
|
|
|
1140
2194
|
|
|
1141
2195
|
@validate_call
|
|
1142
|
-
def
|
|
2196
|
+
def rapid_validation_rapid_id_patch(
|
|
1143
2197
|
self,
|
|
2198
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2199
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
1144
2200
|
_request_timeout: Union[
|
|
1145
2201
|
None,
|
|
1146
2202
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1154,9 +2210,13 @@ class RapidApi:
|
|
|
1154
2210
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1155
2211
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1156
2212
|
) -> None:
|
|
1157
|
-
"""
|
|
2213
|
+
"""Updates the validation information of a rapid.
|
|
1158
2214
|
|
|
1159
2215
|
|
|
2216
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
2217
|
+
:type rapid_id: str
|
|
2218
|
+
:param update_validation_rapid_model: The body request
|
|
2219
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1160
2220
|
:param _request_timeout: timeout setting for this request. If one
|
|
1161
2221
|
number provided, it will be total request
|
|
1162
2222
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1179,7 +2239,9 @@ class RapidApi:
|
|
|
1179
2239
|
:return: Returns the result object.
|
|
1180
2240
|
""" # noqa: E501
|
|
1181
2241
|
|
|
1182
|
-
_param = self.
|
|
2242
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
2243
|
+
rapid_id=rapid_id,
|
|
2244
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1183
2245
|
_request_auth=_request_auth,
|
|
1184
2246
|
_content_type=_content_type,
|
|
1185
2247
|
_headers=_headers,
|
|
@@ -1187,7 +2249,7 @@ class RapidApi:
|
|
|
1187
2249
|
)
|
|
1188
2250
|
|
|
1189
2251
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1190
|
-
'
|
|
2252
|
+
'204': None,
|
|
1191
2253
|
}
|
|
1192
2254
|
response_data = self.api_client.call_api(
|
|
1193
2255
|
*_param,
|
|
@@ -1201,8 +2263,10 @@ class RapidApi:
|
|
|
1201
2263
|
|
|
1202
2264
|
|
|
1203
2265
|
@validate_call
|
|
1204
|
-
def
|
|
2266
|
+
def rapid_validation_rapid_id_patch_with_http_info(
|
|
1205
2267
|
self,
|
|
2268
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2269
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
1206
2270
|
_request_timeout: Union[
|
|
1207
2271
|
None,
|
|
1208
2272
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1216,9 +2280,13 @@ class RapidApi:
|
|
|
1216
2280
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1217
2281
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1218
2282
|
) -> ApiResponse[None]:
|
|
1219
|
-
"""
|
|
2283
|
+
"""Updates the validation information of a rapid.
|
|
1220
2284
|
|
|
1221
2285
|
|
|
2286
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
2287
|
+
:type rapid_id: str
|
|
2288
|
+
:param update_validation_rapid_model: The body request
|
|
2289
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1222
2290
|
:param _request_timeout: timeout setting for this request. If one
|
|
1223
2291
|
number provided, it will be total request
|
|
1224
2292
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1241,7 +2309,9 @@ class RapidApi:
|
|
|
1241
2309
|
:return: Returns the result object.
|
|
1242
2310
|
""" # noqa: E501
|
|
1243
2311
|
|
|
1244
|
-
_param = self.
|
|
2312
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
2313
|
+
rapid_id=rapid_id,
|
|
2314
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1245
2315
|
_request_auth=_request_auth,
|
|
1246
2316
|
_content_type=_content_type,
|
|
1247
2317
|
_headers=_headers,
|
|
@@ -1249,7 +2319,7 @@ class RapidApi:
|
|
|
1249
2319
|
)
|
|
1250
2320
|
|
|
1251
2321
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1252
|
-
'
|
|
2322
|
+
'204': None,
|
|
1253
2323
|
}
|
|
1254
2324
|
response_data = self.api_client.call_api(
|
|
1255
2325
|
*_param,
|
|
@@ -1263,8 +2333,10 @@ class RapidApi:
|
|
|
1263
2333
|
|
|
1264
2334
|
|
|
1265
2335
|
@validate_call
|
|
1266
|
-
def
|
|
2336
|
+
def rapid_validation_rapid_id_patch_without_preload_content(
|
|
1267
2337
|
self,
|
|
2338
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2339
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
1268
2340
|
_request_timeout: Union[
|
|
1269
2341
|
None,
|
|
1270
2342
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1278,9 +2350,13 @@ class RapidApi:
|
|
|
1278
2350
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1279
2351
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1280
2352
|
) -> RESTResponseType:
|
|
1281
|
-
"""
|
|
2353
|
+
"""Updates the validation information of a rapid.
|
|
1282
2354
|
|
|
1283
2355
|
|
|
2356
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
2357
|
+
:type rapid_id: str
|
|
2358
|
+
:param update_validation_rapid_model: The body request
|
|
2359
|
+
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1284
2360
|
:param _request_timeout: timeout setting for this request. If one
|
|
1285
2361
|
number provided, it will be total request
|
|
1286
2362
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1303,7 +2379,9 @@ class RapidApi:
|
|
|
1303
2379
|
:return: Returns the result object.
|
|
1304
2380
|
""" # noqa: E501
|
|
1305
2381
|
|
|
1306
|
-
_param = self.
|
|
2382
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
2383
|
+
rapid_id=rapid_id,
|
|
2384
|
+
update_validation_rapid_model=update_validation_rapid_model,
|
|
1307
2385
|
_request_auth=_request_auth,
|
|
1308
2386
|
_content_type=_content_type,
|
|
1309
2387
|
_headers=_headers,
|
|
@@ -1311,7 +2389,7 @@ class RapidApi:
|
|
|
1311
2389
|
)
|
|
1312
2390
|
|
|
1313
2391
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1314
|
-
'
|
|
2392
|
+
'204': None,
|
|
1315
2393
|
}
|
|
1316
2394
|
response_data = self.api_client.call_api(
|
|
1317
2395
|
*_param,
|
|
@@ -1320,8 +2398,10 @@ class RapidApi:
|
|
|
1320
2398
|
return response_data.response
|
|
1321
2399
|
|
|
1322
2400
|
|
|
1323
|
-
def
|
|
2401
|
+
def _rapid_validation_rapid_id_patch_serialize(
|
|
1324
2402
|
self,
|
|
2403
|
+
rapid_id,
|
|
2404
|
+
update_validation_rapid_model,
|
|
1325
2405
|
_request_auth,
|
|
1326
2406
|
_content_type,
|
|
1327
2407
|
_headers,
|
|
@@ -1343,13 +2423,32 @@ class RapidApi:
|
|
|
1343
2423
|
_body_params: Optional[bytes] = None
|
|
1344
2424
|
|
|
1345
2425
|
# process the path parameters
|
|
2426
|
+
if rapid_id is not None:
|
|
2427
|
+
_path_params['rapidId'] = rapid_id
|
|
1346
2428
|
# process the query parameters
|
|
1347
2429
|
# process the header parameters
|
|
1348
2430
|
# process the form parameters
|
|
1349
2431
|
# process the body parameter
|
|
2432
|
+
if update_validation_rapid_model is not None:
|
|
2433
|
+
_body_params = update_validation_rapid_model
|
|
1350
2434
|
|
|
1351
2435
|
|
|
1352
2436
|
|
|
2437
|
+
# set the HTTP header `Content-Type`
|
|
2438
|
+
if _content_type:
|
|
2439
|
+
_header_params['Content-Type'] = _content_type
|
|
2440
|
+
else:
|
|
2441
|
+
_default_content_type = (
|
|
2442
|
+
self.api_client.select_header_content_type(
|
|
2443
|
+
[
|
|
2444
|
+
'application/json',
|
|
2445
|
+
'text/json',
|
|
2446
|
+
'application/*+json'
|
|
2447
|
+
]
|
|
2448
|
+
)
|
|
2449
|
+
)
|
|
2450
|
+
if _default_content_type is not None:
|
|
2451
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1353
2452
|
|
|
1354
2453
|
# authentication setting
|
|
1355
2454
|
_auth_settings: List[str] = [
|
|
@@ -1358,8 +2457,8 @@ class RapidApi:
|
|
|
1358
2457
|
]
|
|
1359
2458
|
|
|
1360
2459
|
return self.api_client.param_serialize(
|
|
1361
|
-
method='
|
|
1362
|
-
resource_path='/
|
|
2460
|
+
method='PATCH',
|
|
2461
|
+
resource_path='/rapid/validation/{rapidId}',
|
|
1363
2462
|
path_params=_path_params,
|
|
1364
2463
|
query_params=_query_params,
|
|
1365
2464
|
header_params=_header_params,
|