rapidata 2.24.0__py3-none-any.whl → 3.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +31 -14
- rapidata/api_client/__init__.py +84 -321
- rapidata/api_client/api/__init__.py +12 -3
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +3044 -0
- rapidata/api_client/api/benchmark_api.py +4307 -0
- rapidata/api_client/api/campaign_api.py +232 -207
- rapidata/api_client/api/client_api.py +166 -145
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +2216 -0
- rapidata/api_client/api/datapoint_api.py +8 -797
- rapidata/api_client/api/dataset_api.py +276 -2858
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/job_api.py +4200 -0
- rapidata/api_client/api/job_definition_api.py +319 -0
- rapidata/api_client/api/job_revision_api.py +335 -0
- rapidata/api_client/api/leaderboard_api.py +2855 -0
- rapidata/api_client/api/newsletter_api.py +30 -317
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +11 -10
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +512 -3232
- rapidata/api_client/api/workflow_api.py +32 -825
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -300
- rapidata/api_client/models/ab_test_selection_a_inner.py +27 -13
- rapidata/api_client/models/add_campaign_model.py +8 -3
- rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +49 -28
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_truth.py +32 -12
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +4 -6
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +4 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +11 -9
- rapidata/api_client/models/asset_metadata_model.py +2 -8
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_job_state.py +38 -0
- rapidata/api_client/models/audience_status.py +39 -0
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +91 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +57 -15
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +122 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_model.py +124 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +6 -18
- rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
- rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
- rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_endpoint_input.py +100 -0
- rapidata/api_client/models/create_job_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
- rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
- rapidata/api_client/models/create_leaderboard_model.py +147 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_definition_model.py +119 -0
- rapidata/api_client/models/create_order_definition_result.py +87 -0
- rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
- rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
- rapidata/api_client/models/create_order_model.py +30 -103
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +5 -5
- rapidata/api_client/models/datapoint.py +3 -3
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/existing_asset_input.py +109 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +3 -5
- 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 +1 -3
- rapidata/api_client/models/file_asset_model_metadata_value.py +43 -73
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +118 -0
- rapidata/api_client/models/get_audience_user_state_metrics_result.py +87 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +98 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
- rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
- rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +6 -12
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +5 -5
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +33 -33
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_audience_filter.py +184 -0
- rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
- rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
- rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter.py +296 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +296 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
- rapidata/api_client/models/i_validation_truth_model.py +294 -0
- rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
- rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
- rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/job_definition_revision_state.py +38 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +11 -13
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +12 -1
- rapidata/api_client/models/logic_operator.py +2 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/multi_asset.py +6 -6
- 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 +4 -4
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +3 -5
- rapidata/api_client/models/null_asset_model.py +1 -3
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/option_of_aggregator_type.py +49 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +92 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +6 -8
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +118 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_job_definitions_result.py +97 -0
- rapidata/api_client/models/query_job_revisions_result.py +95 -0
- rapidata/api_client/models/query_jobs_result.py +103 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/rapid_issue.py +2 -2
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +3 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +12 -1
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +3 -2
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +92 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +3 -5
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +1 -3
- rapidata/api_client/models/text_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +113 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
- rapidata/api_client/models/update_job_endpoint_input.py +92 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +5 -5
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +28 -12
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_problem_details.py +117 -0
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/vote_matrix_result.py +91 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +2 -2
- rapidata/api_client_README.md +468 -317
- rapidata/rapidata_client/__init__.py +23 -22
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/audience/__init__.py +2 -0
- rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
- rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
- rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
- rapidata/rapidata_client/benchmark/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +34 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +257 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +146 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +592 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +216 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +8 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +194 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/_single_flight_cache.py +82 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/__init__.py +1 -2
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/dataset/__init__.py +1 -0
- rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +27 -0
- rapidata/rapidata_client/filter/__init__.py +3 -0
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +58 -2
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +55 -0
- rapidata/rapidata_client/filter/campaign_filter.py +21 -10
- rapidata/rapidata_client/filter/country_filter.py +46 -12
- rapidata/rapidata_client/filter/custom_filter.py +25 -12
- rapidata/rapidata_client/filter/device_filter.py +38 -0
- rapidata/rapidata_client/filter/gender_filter.py +25 -10
- rapidata/rapidata_client/filter/language_filter.py +51 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/device_type.py +20 -0
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +14 -4
- rapidata/rapidata_client/filter/not_filter.py +35 -11
- rapidata/rapidata_client/filter/or_filter.py +36 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +30 -25
- rapidata/rapidata_client/filter/response_count_filter.py +51 -20
- rapidata/rapidata_client/filter/user_score_filter.py +62 -24
- rapidata/rapidata_client/job/__init__.py +3 -0
- rapidata/rapidata_client/job/job_definition.py +110 -0
- rapidata/rapidata_client/job/job_manager.py +758 -0
- rapidata/rapidata_client/job/rapidata_job.py +326 -0
- rapidata/rapidata_client/order/__init__.py +2 -0
- rapidata/rapidata_client/order/_rapidata_order_builder.py +286 -193
- rapidata/rapidata_client/order/rapidata_order.py +329 -153
- rapidata/rapidata_client/order/rapidata_order_manager.py +712 -430
- rapidata/rapidata_client/rapidata_client.py +130 -26
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +14 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
- rapidata/rapidata_client/referee/_naive_referee.py +24 -3
- rapidata/rapidata_client/results/__init__.py +3 -0
- rapidata/rapidata_client/{order → results}/rapidata_results.py +98 -67
- rapidata/rapidata_client/selection/__init__.py +2 -1
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +36 -12
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +10 -7
- rapidata/rapidata_client/selection/rapidata_selections.py +31 -21
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +20 -9
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +4 -1
- rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +28 -16
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/utils/__init__.py +3 -0
- rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
- rapidata/rapidata_client/validation/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -104
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +371 -214
- rapidata/rapidata_client/validation/validation_set_manager.py +529 -227
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +18 -18
- rapidata/service/openapi_service.py +128 -28
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.1.dist-info/METADATA +32 -0
- rapidata-3.0.1.dist-info/RECORD +1089 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -66
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -47
- rapidata/rapidata_client/logging/output_manager.py +0 -16
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +0 -15
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -443
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -51
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.24.0.dist-info/METADATA +0 -34
- rapidata-2.24.0.dist-info/RECORD +0 -530
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,1389 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Rapidata Asset API
|
|
5
|
+
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictStr
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from rapidata.api_client.models.add_user_response_result import AddUserResponseResult
|
|
22
|
+
from rapidata.api_client.models.are_rapids_active_result import AreRapidsActiveResult
|
|
23
|
+
from rapidata.api_client.models.inspect_report_result import InspectReportResult
|
|
24
|
+
from rapidata.api_client.models.rapid_result_model import RapidResultModel
|
|
25
|
+
from rapidata.api_client.models.rapid_skipped_model import RapidSkippedModel
|
|
26
|
+
from rapidata.api_client.models.report_model import ReportModel
|
|
27
|
+
|
|
28
|
+
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
29
|
+
from rapidata.api_client.api_response import ApiResponse
|
|
30
|
+
from rapidata.api_client.rest import RESTResponseType
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class UserRapidApi:
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
def __init__(self, api_client=None) -> None:
|
|
41
|
+
if api_client is None:
|
|
42
|
+
api_client = ApiClient.get_default()
|
|
43
|
+
self.api_client = api_client
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
@validate_call
|
|
47
|
+
def rapid_rapid_bag_is_valid_get(
|
|
48
|
+
self,
|
|
49
|
+
_request_timeout: Union[
|
|
50
|
+
None,
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Tuple[
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
55
|
+
]
|
|
56
|
+
] = None,
|
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
+
) -> AreRapidsActiveResult:
|
|
62
|
+
"""Validates that the rapids associated with the current user are active.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
66
|
+
number provided, it will be total request
|
|
67
|
+
timeout. It can also be a pair (tuple) of
|
|
68
|
+
(connection, read) timeouts.
|
|
69
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
70
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
71
|
+
request; this effectively ignores the
|
|
72
|
+
authentication in the spec for a single request.
|
|
73
|
+
:type _request_auth: dict, optional
|
|
74
|
+
:param _content_type: force content-type for the request.
|
|
75
|
+
:type _content_type: str, Optional
|
|
76
|
+
:param _headers: set to override the headers for a single
|
|
77
|
+
request; this effectively ignores the headers
|
|
78
|
+
in the spec for a single request.
|
|
79
|
+
:type _headers: dict, optional
|
|
80
|
+
:param _host_index: set to override the host_index for a single
|
|
81
|
+
request; this effectively ignores the host_index
|
|
82
|
+
in the spec for a single request.
|
|
83
|
+
:type _host_index: int, optional
|
|
84
|
+
:return: Returns the result object.
|
|
85
|
+
""" # noqa: E501
|
|
86
|
+
|
|
87
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
88
|
+
_request_auth=_request_auth,
|
|
89
|
+
_content_type=_content_type,
|
|
90
|
+
_headers=_headers,
|
|
91
|
+
_host_index=_host_index
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
95
|
+
'200': "AreRapidsActiveResult",
|
|
96
|
+
}
|
|
97
|
+
response_data = self.api_client.call_api(
|
|
98
|
+
*_param,
|
|
99
|
+
_request_timeout=_request_timeout
|
|
100
|
+
)
|
|
101
|
+
response_data.read()
|
|
102
|
+
return self.api_client.response_deserialize(
|
|
103
|
+
response_data=response_data,
|
|
104
|
+
response_types_map=_response_types_map,
|
|
105
|
+
).data
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
@validate_call
|
|
109
|
+
def rapid_rapid_bag_is_valid_get_with_http_info(
|
|
110
|
+
self,
|
|
111
|
+
_request_timeout: Union[
|
|
112
|
+
None,
|
|
113
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
114
|
+
Tuple[
|
|
115
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
116
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
117
|
+
]
|
|
118
|
+
] = None,
|
|
119
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
120
|
+
_content_type: Optional[StrictStr] = None,
|
|
121
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
122
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
123
|
+
) -> ApiResponse[AreRapidsActiveResult]:
|
|
124
|
+
"""Validates that the rapids associated with the current user are active.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
128
|
+
number provided, it will be total request
|
|
129
|
+
timeout. It can also be a pair (tuple) of
|
|
130
|
+
(connection, read) timeouts.
|
|
131
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
132
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
133
|
+
request; this effectively ignores the
|
|
134
|
+
authentication in the spec for a single request.
|
|
135
|
+
:type _request_auth: dict, optional
|
|
136
|
+
:param _content_type: force content-type for the request.
|
|
137
|
+
:type _content_type: str, Optional
|
|
138
|
+
:param _headers: set to override the headers for a single
|
|
139
|
+
request; this effectively ignores the headers
|
|
140
|
+
in the spec for a single request.
|
|
141
|
+
:type _headers: dict, optional
|
|
142
|
+
:param _host_index: set to override the host_index for a single
|
|
143
|
+
request; this effectively ignores the host_index
|
|
144
|
+
in the spec for a single request.
|
|
145
|
+
:type _host_index: int, optional
|
|
146
|
+
:return: Returns the result object.
|
|
147
|
+
""" # noqa: E501
|
|
148
|
+
|
|
149
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
150
|
+
_request_auth=_request_auth,
|
|
151
|
+
_content_type=_content_type,
|
|
152
|
+
_headers=_headers,
|
|
153
|
+
_host_index=_host_index
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
157
|
+
'200': "AreRapidsActiveResult",
|
|
158
|
+
}
|
|
159
|
+
response_data = self.api_client.call_api(
|
|
160
|
+
*_param,
|
|
161
|
+
_request_timeout=_request_timeout
|
|
162
|
+
)
|
|
163
|
+
response_data.read()
|
|
164
|
+
return self.api_client.response_deserialize(
|
|
165
|
+
response_data=response_data,
|
|
166
|
+
response_types_map=_response_types_map,
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
@validate_call
|
|
171
|
+
def rapid_rapid_bag_is_valid_get_without_preload_content(
|
|
172
|
+
self,
|
|
173
|
+
_request_timeout: Union[
|
|
174
|
+
None,
|
|
175
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
176
|
+
Tuple[
|
|
177
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
178
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
179
|
+
]
|
|
180
|
+
] = None,
|
|
181
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
182
|
+
_content_type: Optional[StrictStr] = None,
|
|
183
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
184
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
185
|
+
) -> RESTResponseType:
|
|
186
|
+
"""Validates that the rapids associated with the current user are active.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
190
|
+
number provided, it will be total request
|
|
191
|
+
timeout. It can also be a pair (tuple) of
|
|
192
|
+
(connection, read) timeouts.
|
|
193
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
194
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
195
|
+
request; this effectively ignores the
|
|
196
|
+
authentication in the spec for a single request.
|
|
197
|
+
:type _request_auth: dict, optional
|
|
198
|
+
:param _content_type: force content-type for the request.
|
|
199
|
+
:type _content_type: str, Optional
|
|
200
|
+
:param _headers: set to override the headers for a single
|
|
201
|
+
request; this effectively ignores the headers
|
|
202
|
+
in the spec for a single request.
|
|
203
|
+
:type _headers: dict, optional
|
|
204
|
+
:param _host_index: set to override the host_index for a single
|
|
205
|
+
request; this effectively ignores the host_index
|
|
206
|
+
in the spec for a single request.
|
|
207
|
+
:type _host_index: int, optional
|
|
208
|
+
:return: Returns the result object.
|
|
209
|
+
""" # noqa: E501
|
|
210
|
+
|
|
211
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
212
|
+
_request_auth=_request_auth,
|
|
213
|
+
_content_type=_content_type,
|
|
214
|
+
_headers=_headers,
|
|
215
|
+
_host_index=_host_index
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
219
|
+
'200': "AreRapidsActiveResult",
|
|
220
|
+
}
|
|
221
|
+
response_data = self.api_client.call_api(
|
|
222
|
+
*_param,
|
|
223
|
+
_request_timeout=_request_timeout
|
|
224
|
+
)
|
|
225
|
+
return response_data.response
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
def _rapid_rapid_bag_is_valid_get_serialize(
|
|
229
|
+
self,
|
|
230
|
+
_request_auth,
|
|
231
|
+
_content_type,
|
|
232
|
+
_headers,
|
|
233
|
+
_host_index,
|
|
234
|
+
) -> RequestSerialized:
|
|
235
|
+
|
|
236
|
+
_host = None
|
|
237
|
+
|
|
238
|
+
_collection_formats: Dict[str, str] = {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
_path_params: Dict[str, str] = {}
|
|
242
|
+
_query_params: List[Tuple[str, str]] = []
|
|
243
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
244
|
+
_form_params: List[Tuple[str, str]] = []
|
|
245
|
+
_files: Dict[
|
|
246
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
247
|
+
] = {}
|
|
248
|
+
_body_params: Optional[bytes] = None
|
|
249
|
+
|
|
250
|
+
# process the path parameters
|
|
251
|
+
# process the query parameters
|
|
252
|
+
# process the header parameters
|
|
253
|
+
# process the form parameters
|
|
254
|
+
# process the body parameter
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
# set the HTTP header `Accept`
|
|
258
|
+
if 'Accept' not in _header_params:
|
|
259
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
260
|
+
[
|
|
261
|
+
'text/plain',
|
|
262
|
+
'application/json',
|
|
263
|
+
'text/json'
|
|
264
|
+
]
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
# authentication setting
|
|
269
|
+
_auth_settings: List[str] = [
|
|
270
|
+
'OAuth2',
|
|
271
|
+
'OpenIdConnect',
|
|
272
|
+
'Bearer'
|
|
273
|
+
]
|
|
274
|
+
|
|
275
|
+
return self.api_client.param_serialize(
|
|
276
|
+
method='GET',
|
|
277
|
+
resource_path='/rapid/rapid-bag/is-valid',
|
|
278
|
+
path_params=_path_params,
|
|
279
|
+
query_params=_query_params,
|
|
280
|
+
header_params=_header_params,
|
|
281
|
+
body=_body_params,
|
|
282
|
+
post_params=_form_params,
|
|
283
|
+
files=_files,
|
|
284
|
+
auth_settings=_auth_settings,
|
|
285
|
+
collection_formats=_collection_formats,
|
|
286
|
+
_host=_host,
|
|
287
|
+
_request_auth=_request_auth
|
|
288
|
+
)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
@validate_call
|
|
294
|
+
def rapid_rapid_id_report_post(
|
|
295
|
+
self,
|
|
296
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
297
|
+
report_model: Annotated[ReportModel, Field(description="The body request.")],
|
|
298
|
+
_request_timeout: Union[
|
|
299
|
+
None,
|
|
300
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
301
|
+
Tuple[
|
|
302
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
303
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
304
|
+
]
|
|
305
|
+
] = None,
|
|
306
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
307
|
+
_content_type: Optional[StrictStr] = None,
|
|
308
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
309
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
310
|
+
) -> None:
|
|
311
|
+
"""Used to report an issue with a rapid.
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
:param rapid_id: The rapid to report. (required)
|
|
315
|
+
:type rapid_id: str
|
|
316
|
+
:param report_model: The body request. (required)
|
|
317
|
+
:type report_model: ReportModel
|
|
318
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
319
|
+
number provided, it will be total request
|
|
320
|
+
timeout. It can also be a pair (tuple) of
|
|
321
|
+
(connection, read) timeouts.
|
|
322
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
323
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
324
|
+
request; this effectively ignores the
|
|
325
|
+
authentication in the spec for a single request.
|
|
326
|
+
:type _request_auth: dict, optional
|
|
327
|
+
:param _content_type: force content-type for the request.
|
|
328
|
+
:type _content_type: str, Optional
|
|
329
|
+
:param _headers: set to override the headers for a single
|
|
330
|
+
request; this effectively ignores the headers
|
|
331
|
+
in the spec for a single request.
|
|
332
|
+
:type _headers: dict, optional
|
|
333
|
+
:param _host_index: set to override the host_index for a single
|
|
334
|
+
request; this effectively ignores the host_index
|
|
335
|
+
in the spec for a single request.
|
|
336
|
+
:type _host_index: int, optional
|
|
337
|
+
:return: Returns the result object.
|
|
338
|
+
""" # noqa: E501
|
|
339
|
+
|
|
340
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
341
|
+
rapid_id=rapid_id,
|
|
342
|
+
report_model=report_model,
|
|
343
|
+
_request_auth=_request_auth,
|
|
344
|
+
_content_type=_content_type,
|
|
345
|
+
_headers=_headers,
|
|
346
|
+
_host_index=_host_index
|
|
347
|
+
)
|
|
348
|
+
|
|
349
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
350
|
+
'204': None,
|
|
351
|
+
}
|
|
352
|
+
response_data = self.api_client.call_api(
|
|
353
|
+
*_param,
|
|
354
|
+
_request_timeout=_request_timeout
|
|
355
|
+
)
|
|
356
|
+
response_data.read()
|
|
357
|
+
return self.api_client.response_deserialize(
|
|
358
|
+
response_data=response_data,
|
|
359
|
+
response_types_map=_response_types_map,
|
|
360
|
+
).data
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
@validate_call
|
|
364
|
+
def rapid_rapid_id_report_post_with_http_info(
|
|
365
|
+
self,
|
|
366
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
367
|
+
report_model: Annotated[ReportModel, Field(description="The body request.")],
|
|
368
|
+
_request_timeout: Union[
|
|
369
|
+
None,
|
|
370
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
371
|
+
Tuple[
|
|
372
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
373
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
374
|
+
]
|
|
375
|
+
] = None,
|
|
376
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
377
|
+
_content_type: Optional[StrictStr] = None,
|
|
378
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
379
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
380
|
+
) -> ApiResponse[None]:
|
|
381
|
+
"""Used to report an issue with a rapid.
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
:param rapid_id: The rapid to report. (required)
|
|
385
|
+
:type rapid_id: str
|
|
386
|
+
:param report_model: The body request. (required)
|
|
387
|
+
:type report_model: ReportModel
|
|
388
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
389
|
+
number provided, it will be total request
|
|
390
|
+
timeout. It can also be a pair (tuple) of
|
|
391
|
+
(connection, read) timeouts.
|
|
392
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
393
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
394
|
+
request; this effectively ignores the
|
|
395
|
+
authentication in the spec for a single request.
|
|
396
|
+
:type _request_auth: dict, optional
|
|
397
|
+
:param _content_type: force content-type for the request.
|
|
398
|
+
:type _content_type: str, Optional
|
|
399
|
+
:param _headers: set to override the headers for a single
|
|
400
|
+
request; this effectively ignores the headers
|
|
401
|
+
in the spec for a single request.
|
|
402
|
+
:type _headers: dict, optional
|
|
403
|
+
:param _host_index: set to override the host_index for a single
|
|
404
|
+
request; this effectively ignores the host_index
|
|
405
|
+
in the spec for a single request.
|
|
406
|
+
:type _host_index: int, optional
|
|
407
|
+
:return: Returns the result object.
|
|
408
|
+
""" # noqa: E501
|
|
409
|
+
|
|
410
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
411
|
+
rapid_id=rapid_id,
|
|
412
|
+
report_model=report_model,
|
|
413
|
+
_request_auth=_request_auth,
|
|
414
|
+
_content_type=_content_type,
|
|
415
|
+
_headers=_headers,
|
|
416
|
+
_host_index=_host_index
|
|
417
|
+
)
|
|
418
|
+
|
|
419
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
420
|
+
'204': None,
|
|
421
|
+
}
|
|
422
|
+
response_data = self.api_client.call_api(
|
|
423
|
+
*_param,
|
|
424
|
+
_request_timeout=_request_timeout
|
|
425
|
+
)
|
|
426
|
+
response_data.read()
|
|
427
|
+
return self.api_client.response_deserialize(
|
|
428
|
+
response_data=response_data,
|
|
429
|
+
response_types_map=_response_types_map,
|
|
430
|
+
)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
@validate_call
|
|
434
|
+
def rapid_rapid_id_report_post_without_preload_content(
|
|
435
|
+
self,
|
|
436
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
437
|
+
report_model: Annotated[ReportModel, Field(description="The body request.")],
|
|
438
|
+
_request_timeout: Union[
|
|
439
|
+
None,
|
|
440
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
441
|
+
Tuple[
|
|
442
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
443
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
444
|
+
]
|
|
445
|
+
] = None,
|
|
446
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
447
|
+
_content_type: Optional[StrictStr] = None,
|
|
448
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
449
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
450
|
+
) -> RESTResponseType:
|
|
451
|
+
"""Used to report an issue with a rapid.
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
:param rapid_id: The rapid to report. (required)
|
|
455
|
+
:type rapid_id: str
|
|
456
|
+
:param report_model: The body request. (required)
|
|
457
|
+
:type report_model: ReportModel
|
|
458
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
459
|
+
number provided, it will be total request
|
|
460
|
+
timeout. It can also be a pair (tuple) of
|
|
461
|
+
(connection, read) timeouts.
|
|
462
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
463
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
464
|
+
request; this effectively ignores the
|
|
465
|
+
authentication in the spec for a single request.
|
|
466
|
+
:type _request_auth: dict, optional
|
|
467
|
+
:param _content_type: force content-type for the request.
|
|
468
|
+
:type _content_type: str, Optional
|
|
469
|
+
:param _headers: set to override the headers for a single
|
|
470
|
+
request; this effectively ignores the headers
|
|
471
|
+
in the spec for a single request.
|
|
472
|
+
:type _headers: dict, optional
|
|
473
|
+
:param _host_index: set to override the host_index for a single
|
|
474
|
+
request; this effectively ignores the host_index
|
|
475
|
+
in the spec for a single request.
|
|
476
|
+
:type _host_index: int, optional
|
|
477
|
+
:return: Returns the result object.
|
|
478
|
+
""" # noqa: E501
|
|
479
|
+
|
|
480
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
481
|
+
rapid_id=rapid_id,
|
|
482
|
+
report_model=report_model,
|
|
483
|
+
_request_auth=_request_auth,
|
|
484
|
+
_content_type=_content_type,
|
|
485
|
+
_headers=_headers,
|
|
486
|
+
_host_index=_host_index
|
|
487
|
+
)
|
|
488
|
+
|
|
489
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
490
|
+
'204': None,
|
|
491
|
+
}
|
|
492
|
+
response_data = self.api_client.call_api(
|
|
493
|
+
*_param,
|
|
494
|
+
_request_timeout=_request_timeout
|
|
495
|
+
)
|
|
496
|
+
return response_data.response
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
def _rapid_rapid_id_report_post_serialize(
|
|
500
|
+
self,
|
|
501
|
+
rapid_id,
|
|
502
|
+
report_model,
|
|
503
|
+
_request_auth,
|
|
504
|
+
_content_type,
|
|
505
|
+
_headers,
|
|
506
|
+
_host_index,
|
|
507
|
+
) -> RequestSerialized:
|
|
508
|
+
|
|
509
|
+
_host = None
|
|
510
|
+
|
|
511
|
+
_collection_formats: Dict[str, str] = {
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
_path_params: Dict[str, str] = {}
|
|
515
|
+
_query_params: List[Tuple[str, str]] = []
|
|
516
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
517
|
+
_form_params: List[Tuple[str, str]] = []
|
|
518
|
+
_files: Dict[
|
|
519
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
520
|
+
] = {}
|
|
521
|
+
_body_params: Optional[bytes] = None
|
|
522
|
+
|
|
523
|
+
# process the path parameters
|
|
524
|
+
if rapid_id is not None:
|
|
525
|
+
_path_params['rapidId'] = rapid_id
|
|
526
|
+
# process the query parameters
|
|
527
|
+
# process the header parameters
|
|
528
|
+
# process the form parameters
|
|
529
|
+
# process the body parameter
|
|
530
|
+
if report_model is not None:
|
|
531
|
+
_body_params = report_model
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
# set the HTTP header `Content-Type`
|
|
536
|
+
if _content_type:
|
|
537
|
+
_header_params['Content-Type'] = _content_type
|
|
538
|
+
else:
|
|
539
|
+
_default_content_type = (
|
|
540
|
+
self.api_client.select_header_content_type(
|
|
541
|
+
[
|
|
542
|
+
'application/json',
|
|
543
|
+
'text/json',
|
|
544
|
+
'application/*+json'
|
|
545
|
+
]
|
|
546
|
+
)
|
|
547
|
+
)
|
|
548
|
+
if _default_content_type is not None:
|
|
549
|
+
_header_params['Content-Type'] = _default_content_type
|
|
550
|
+
|
|
551
|
+
# authentication setting
|
|
552
|
+
_auth_settings: List[str] = [
|
|
553
|
+
'OAuth2',
|
|
554
|
+
'OpenIdConnect',
|
|
555
|
+
'Bearer'
|
|
556
|
+
]
|
|
557
|
+
|
|
558
|
+
return self.api_client.param_serialize(
|
|
559
|
+
method='POST',
|
|
560
|
+
resource_path='/rapid/{rapidId}/report',
|
|
561
|
+
path_params=_path_params,
|
|
562
|
+
query_params=_query_params,
|
|
563
|
+
header_params=_header_params,
|
|
564
|
+
body=_body_params,
|
|
565
|
+
post_params=_form_params,
|
|
566
|
+
files=_files,
|
|
567
|
+
auth_settings=_auth_settings,
|
|
568
|
+
collection_formats=_collection_formats,
|
|
569
|
+
_host=_host,
|
|
570
|
+
_request_auth=_request_auth
|
|
571
|
+
)
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
@validate_call
|
|
577
|
+
def rapid_report_report_id_get(
|
|
578
|
+
self,
|
|
579
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
580
|
+
_request_timeout: Union[
|
|
581
|
+
None,
|
|
582
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
583
|
+
Tuple[
|
|
584
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
585
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
586
|
+
]
|
|
587
|
+
] = None,
|
|
588
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
589
|
+
_content_type: Optional[StrictStr] = None,
|
|
590
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
591
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
592
|
+
) -> InspectReportResult:
|
|
593
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
:param report_id: The report id (required)
|
|
597
|
+
:type report_id: str
|
|
598
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
599
|
+
number provided, it will be total request
|
|
600
|
+
timeout. It can also be a pair (tuple) of
|
|
601
|
+
(connection, read) timeouts.
|
|
602
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
603
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
604
|
+
request; this effectively ignores the
|
|
605
|
+
authentication in the spec for a single request.
|
|
606
|
+
:type _request_auth: dict, optional
|
|
607
|
+
:param _content_type: force content-type for the request.
|
|
608
|
+
:type _content_type: str, Optional
|
|
609
|
+
:param _headers: set to override the headers for a single
|
|
610
|
+
request; this effectively ignores the headers
|
|
611
|
+
in the spec for a single request.
|
|
612
|
+
:type _headers: dict, optional
|
|
613
|
+
:param _host_index: set to override the host_index for a single
|
|
614
|
+
request; this effectively ignores the host_index
|
|
615
|
+
in the spec for a single request.
|
|
616
|
+
:type _host_index: int, optional
|
|
617
|
+
:return: Returns the result object.
|
|
618
|
+
""" # noqa: E501
|
|
619
|
+
|
|
620
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
621
|
+
report_id=report_id,
|
|
622
|
+
_request_auth=_request_auth,
|
|
623
|
+
_content_type=_content_type,
|
|
624
|
+
_headers=_headers,
|
|
625
|
+
_host_index=_host_index
|
|
626
|
+
)
|
|
627
|
+
|
|
628
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
629
|
+
'200': "InspectReportResult",
|
|
630
|
+
}
|
|
631
|
+
response_data = self.api_client.call_api(
|
|
632
|
+
*_param,
|
|
633
|
+
_request_timeout=_request_timeout
|
|
634
|
+
)
|
|
635
|
+
response_data.read()
|
|
636
|
+
return self.api_client.response_deserialize(
|
|
637
|
+
response_data=response_data,
|
|
638
|
+
response_types_map=_response_types_map,
|
|
639
|
+
).data
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
@validate_call
|
|
643
|
+
def rapid_report_report_id_get_with_http_info(
|
|
644
|
+
self,
|
|
645
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
646
|
+
_request_timeout: Union[
|
|
647
|
+
None,
|
|
648
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
649
|
+
Tuple[
|
|
650
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
651
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
652
|
+
]
|
|
653
|
+
] = None,
|
|
654
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
655
|
+
_content_type: Optional[StrictStr] = None,
|
|
656
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
657
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
658
|
+
) -> ApiResponse[InspectReportResult]:
|
|
659
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
:param report_id: The report id (required)
|
|
663
|
+
:type report_id: str
|
|
664
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
665
|
+
number provided, it will be total request
|
|
666
|
+
timeout. It can also be a pair (tuple) of
|
|
667
|
+
(connection, read) timeouts.
|
|
668
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
669
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
670
|
+
request; this effectively ignores the
|
|
671
|
+
authentication in the spec for a single request.
|
|
672
|
+
:type _request_auth: dict, optional
|
|
673
|
+
:param _content_type: force content-type for the request.
|
|
674
|
+
:type _content_type: str, Optional
|
|
675
|
+
:param _headers: set to override the headers for a single
|
|
676
|
+
request; this effectively ignores the headers
|
|
677
|
+
in the spec for a single request.
|
|
678
|
+
:type _headers: dict, optional
|
|
679
|
+
:param _host_index: set to override the host_index for a single
|
|
680
|
+
request; this effectively ignores the host_index
|
|
681
|
+
in the spec for a single request.
|
|
682
|
+
:type _host_index: int, optional
|
|
683
|
+
:return: Returns the result object.
|
|
684
|
+
""" # noqa: E501
|
|
685
|
+
|
|
686
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
687
|
+
report_id=report_id,
|
|
688
|
+
_request_auth=_request_auth,
|
|
689
|
+
_content_type=_content_type,
|
|
690
|
+
_headers=_headers,
|
|
691
|
+
_host_index=_host_index
|
|
692
|
+
)
|
|
693
|
+
|
|
694
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
695
|
+
'200': "InspectReportResult",
|
|
696
|
+
}
|
|
697
|
+
response_data = self.api_client.call_api(
|
|
698
|
+
*_param,
|
|
699
|
+
_request_timeout=_request_timeout
|
|
700
|
+
)
|
|
701
|
+
response_data.read()
|
|
702
|
+
return self.api_client.response_deserialize(
|
|
703
|
+
response_data=response_data,
|
|
704
|
+
response_types_map=_response_types_map,
|
|
705
|
+
)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
@validate_call
|
|
709
|
+
def rapid_report_report_id_get_without_preload_content(
|
|
710
|
+
self,
|
|
711
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
712
|
+
_request_timeout: Union[
|
|
713
|
+
None,
|
|
714
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
715
|
+
Tuple[
|
|
716
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
717
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
718
|
+
]
|
|
719
|
+
] = None,
|
|
720
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
721
|
+
_content_type: Optional[StrictStr] = None,
|
|
722
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
723
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
724
|
+
) -> RESTResponseType:
|
|
725
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
:param report_id: The report id (required)
|
|
729
|
+
:type report_id: str
|
|
730
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
731
|
+
number provided, it will be total request
|
|
732
|
+
timeout. It can also be a pair (tuple) of
|
|
733
|
+
(connection, read) timeouts.
|
|
734
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
735
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
736
|
+
request; this effectively ignores the
|
|
737
|
+
authentication in the spec for a single request.
|
|
738
|
+
:type _request_auth: dict, optional
|
|
739
|
+
:param _content_type: force content-type for the request.
|
|
740
|
+
:type _content_type: str, Optional
|
|
741
|
+
:param _headers: set to override the headers for a single
|
|
742
|
+
request; this effectively ignores the headers
|
|
743
|
+
in the spec for a single request.
|
|
744
|
+
:type _headers: dict, optional
|
|
745
|
+
:param _host_index: set to override the host_index for a single
|
|
746
|
+
request; this effectively ignores the host_index
|
|
747
|
+
in the spec for a single request.
|
|
748
|
+
:type _host_index: int, optional
|
|
749
|
+
:return: Returns the result object.
|
|
750
|
+
""" # noqa: E501
|
|
751
|
+
|
|
752
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
753
|
+
report_id=report_id,
|
|
754
|
+
_request_auth=_request_auth,
|
|
755
|
+
_content_type=_content_type,
|
|
756
|
+
_headers=_headers,
|
|
757
|
+
_host_index=_host_index
|
|
758
|
+
)
|
|
759
|
+
|
|
760
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
761
|
+
'200': "InspectReportResult",
|
|
762
|
+
}
|
|
763
|
+
response_data = self.api_client.call_api(
|
|
764
|
+
*_param,
|
|
765
|
+
_request_timeout=_request_timeout
|
|
766
|
+
)
|
|
767
|
+
return response_data.response
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
def _rapid_report_report_id_get_serialize(
|
|
771
|
+
self,
|
|
772
|
+
report_id,
|
|
773
|
+
_request_auth,
|
|
774
|
+
_content_type,
|
|
775
|
+
_headers,
|
|
776
|
+
_host_index,
|
|
777
|
+
) -> RequestSerialized:
|
|
778
|
+
|
|
779
|
+
_host = None
|
|
780
|
+
|
|
781
|
+
_collection_formats: Dict[str, str] = {
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
_path_params: Dict[str, str] = {}
|
|
785
|
+
_query_params: List[Tuple[str, str]] = []
|
|
786
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
787
|
+
_form_params: List[Tuple[str, str]] = []
|
|
788
|
+
_files: Dict[
|
|
789
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
790
|
+
] = {}
|
|
791
|
+
_body_params: Optional[bytes] = None
|
|
792
|
+
|
|
793
|
+
# process the path parameters
|
|
794
|
+
if report_id is not None:
|
|
795
|
+
_path_params['reportId'] = report_id
|
|
796
|
+
# process the query parameters
|
|
797
|
+
# process the header parameters
|
|
798
|
+
# process the form parameters
|
|
799
|
+
# process the body parameter
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
# set the HTTP header `Accept`
|
|
803
|
+
if 'Accept' not in _header_params:
|
|
804
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
805
|
+
[
|
|
806
|
+
'text/plain',
|
|
807
|
+
'application/json',
|
|
808
|
+
'text/json'
|
|
809
|
+
]
|
|
810
|
+
)
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
# authentication setting
|
|
814
|
+
_auth_settings: List[str] = [
|
|
815
|
+
'OAuth2',
|
|
816
|
+
'OpenIdConnect',
|
|
817
|
+
'Bearer'
|
|
818
|
+
]
|
|
819
|
+
|
|
820
|
+
return self.api_client.param_serialize(
|
|
821
|
+
method='GET',
|
|
822
|
+
resource_path='/rapid/report/{reportId}',
|
|
823
|
+
path_params=_path_params,
|
|
824
|
+
query_params=_query_params,
|
|
825
|
+
header_params=_header_params,
|
|
826
|
+
body=_body_params,
|
|
827
|
+
post_params=_form_params,
|
|
828
|
+
files=_files,
|
|
829
|
+
auth_settings=_auth_settings,
|
|
830
|
+
collection_formats=_collection_formats,
|
|
831
|
+
_host=_host,
|
|
832
|
+
_request_auth=_request_auth
|
|
833
|
+
)
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
@validate_call
|
|
839
|
+
def rapid_response_post(
|
|
840
|
+
self,
|
|
841
|
+
rapid_result_model: Annotated[RapidResultModel, Field(description="The model containing the user guess.")],
|
|
842
|
+
_request_timeout: Union[
|
|
843
|
+
None,
|
|
844
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
845
|
+
Tuple[
|
|
846
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
847
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
848
|
+
]
|
|
849
|
+
] = None,
|
|
850
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
851
|
+
_content_type: Optional[StrictStr] = None,
|
|
852
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
853
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
854
|
+
) -> AddUserResponseResult:
|
|
855
|
+
"""Submits a response for a Rapid.
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
:param rapid_result_model: The model containing the user guess. (required)
|
|
859
|
+
:type rapid_result_model: RapidResultModel
|
|
860
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
861
|
+
number provided, it will be total request
|
|
862
|
+
timeout. It can also be a pair (tuple) of
|
|
863
|
+
(connection, read) timeouts.
|
|
864
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
865
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
866
|
+
request; this effectively ignores the
|
|
867
|
+
authentication in the spec for a single request.
|
|
868
|
+
:type _request_auth: dict, optional
|
|
869
|
+
:param _content_type: force content-type for the request.
|
|
870
|
+
:type _content_type: str, Optional
|
|
871
|
+
:param _headers: set to override the headers for a single
|
|
872
|
+
request; this effectively ignores the headers
|
|
873
|
+
in the spec for a single request.
|
|
874
|
+
:type _headers: dict, optional
|
|
875
|
+
:param _host_index: set to override the host_index for a single
|
|
876
|
+
request; this effectively ignores the host_index
|
|
877
|
+
in the spec for a single request.
|
|
878
|
+
:type _host_index: int, optional
|
|
879
|
+
:return: Returns the result object.
|
|
880
|
+
""" # noqa: E501
|
|
881
|
+
|
|
882
|
+
_param = self._rapid_response_post_serialize(
|
|
883
|
+
rapid_result_model=rapid_result_model,
|
|
884
|
+
_request_auth=_request_auth,
|
|
885
|
+
_content_type=_content_type,
|
|
886
|
+
_headers=_headers,
|
|
887
|
+
_host_index=_host_index
|
|
888
|
+
)
|
|
889
|
+
|
|
890
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
891
|
+
'200': "AddUserResponseResult",
|
|
892
|
+
}
|
|
893
|
+
response_data = self.api_client.call_api(
|
|
894
|
+
*_param,
|
|
895
|
+
_request_timeout=_request_timeout
|
|
896
|
+
)
|
|
897
|
+
response_data.read()
|
|
898
|
+
return self.api_client.response_deserialize(
|
|
899
|
+
response_data=response_data,
|
|
900
|
+
response_types_map=_response_types_map,
|
|
901
|
+
).data
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
@validate_call
|
|
905
|
+
def rapid_response_post_with_http_info(
|
|
906
|
+
self,
|
|
907
|
+
rapid_result_model: Annotated[RapidResultModel, Field(description="The model containing the user guess.")],
|
|
908
|
+
_request_timeout: Union[
|
|
909
|
+
None,
|
|
910
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
911
|
+
Tuple[
|
|
912
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
913
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
914
|
+
]
|
|
915
|
+
] = None,
|
|
916
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
917
|
+
_content_type: Optional[StrictStr] = None,
|
|
918
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
919
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
920
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
921
|
+
"""Submits a response for a Rapid.
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
:param rapid_result_model: The model containing the user guess. (required)
|
|
925
|
+
:type rapid_result_model: RapidResultModel
|
|
926
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
927
|
+
number provided, it will be total request
|
|
928
|
+
timeout. It can also be a pair (tuple) of
|
|
929
|
+
(connection, read) timeouts.
|
|
930
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
931
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
932
|
+
request; this effectively ignores the
|
|
933
|
+
authentication in the spec for a single request.
|
|
934
|
+
:type _request_auth: dict, optional
|
|
935
|
+
:param _content_type: force content-type for the request.
|
|
936
|
+
:type _content_type: str, Optional
|
|
937
|
+
:param _headers: set to override the headers for a single
|
|
938
|
+
request; this effectively ignores the headers
|
|
939
|
+
in the spec for a single request.
|
|
940
|
+
:type _headers: dict, optional
|
|
941
|
+
:param _host_index: set to override the host_index for a single
|
|
942
|
+
request; this effectively ignores the host_index
|
|
943
|
+
in the spec for a single request.
|
|
944
|
+
:type _host_index: int, optional
|
|
945
|
+
:return: Returns the result object.
|
|
946
|
+
""" # noqa: E501
|
|
947
|
+
|
|
948
|
+
_param = self._rapid_response_post_serialize(
|
|
949
|
+
rapid_result_model=rapid_result_model,
|
|
950
|
+
_request_auth=_request_auth,
|
|
951
|
+
_content_type=_content_type,
|
|
952
|
+
_headers=_headers,
|
|
953
|
+
_host_index=_host_index
|
|
954
|
+
)
|
|
955
|
+
|
|
956
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
957
|
+
'200': "AddUserResponseResult",
|
|
958
|
+
}
|
|
959
|
+
response_data = self.api_client.call_api(
|
|
960
|
+
*_param,
|
|
961
|
+
_request_timeout=_request_timeout
|
|
962
|
+
)
|
|
963
|
+
response_data.read()
|
|
964
|
+
return self.api_client.response_deserialize(
|
|
965
|
+
response_data=response_data,
|
|
966
|
+
response_types_map=_response_types_map,
|
|
967
|
+
)
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
@validate_call
|
|
971
|
+
def rapid_response_post_without_preload_content(
|
|
972
|
+
self,
|
|
973
|
+
rapid_result_model: Annotated[RapidResultModel, Field(description="The model containing the user guess.")],
|
|
974
|
+
_request_timeout: Union[
|
|
975
|
+
None,
|
|
976
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
977
|
+
Tuple[
|
|
978
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
979
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
980
|
+
]
|
|
981
|
+
] = None,
|
|
982
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
983
|
+
_content_type: Optional[StrictStr] = None,
|
|
984
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
985
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
986
|
+
) -> RESTResponseType:
|
|
987
|
+
"""Submits a response for a Rapid.
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
:param rapid_result_model: The model containing the user guess. (required)
|
|
991
|
+
:type rapid_result_model: RapidResultModel
|
|
992
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
993
|
+
number provided, it will be total request
|
|
994
|
+
timeout. It can also be a pair (tuple) of
|
|
995
|
+
(connection, read) timeouts.
|
|
996
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
997
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
998
|
+
request; this effectively ignores the
|
|
999
|
+
authentication in the spec for a single request.
|
|
1000
|
+
:type _request_auth: dict, optional
|
|
1001
|
+
:param _content_type: force content-type for the request.
|
|
1002
|
+
:type _content_type: str, Optional
|
|
1003
|
+
:param _headers: set to override the headers for a single
|
|
1004
|
+
request; this effectively ignores the headers
|
|
1005
|
+
in the spec for a single request.
|
|
1006
|
+
:type _headers: dict, optional
|
|
1007
|
+
:param _host_index: set to override the host_index for a single
|
|
1008
|
+
request; this effectively ignores the host_index
|
|
1009
|
+
in the spec for a single request.
|
|
1010
|
+
:type _host_index: int, optional
|
|
1011
|
+
:return: Returns the result object.
|
|
1012
|
+
""" # noqa: E501
|
|
1013
|
+
|
|
1014
|
+
_param = self._rapid_response_post_serialize(
|
|
1015
|
+
rapid_result_model=rapid_result_model,
|
|
1016
|
+
_request_auth=_request_auth,
|
|
1017
|
+
_content_type=_content_type,
|
|
1018
|
+
_headers=_headers,
|
|
1019
|
+
_host_index=_host_index
|
|
1020
|
+
)
|
|
1021
|
+
|
|
1022
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1023
|
+
'200': "AddUserResponseResult",
|
|
1024
|
+
}
|
|
1025
|
+
response_data = self.api_client.call_api(
|
|
1026
|
+
*_param,
|
|
1027
|
+
_request_timeout=_request_timeout
|
|
1028
|
+
)
|
|
1029
|
+
return response_data.response
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
def _rapid_response_post_serialize(
|
|
1033
|
+
self,
|
|
1034
|
+
rapid_result_model,
|
|
1035
|
+
_request_auth,
|
|
1036
|
+
_content_type,
|
|
1037
|
+
_headers,
|
|
1038
|
+
_host_index,
|
|
1039
|
+
) -> RequestSerialized:
|
|
1040
|
+
|
|
1041
|
+
_host = None
|
|
1042
|
+
|
|
1043
|
+
_collection_formats: Dict[str, str] = {
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
_path_params: Dict[str, str] = {}
|
|
1047
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1048
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1049
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1050
|
+
_files: Dict[
|
|
1051
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1052
|
+
] = {}
|
|
1053
|
+
_body_params: Optional[bytes] = None
|
|
1054
|
+
|
|
1055
|
+
# process the path parameters
|
|
1056
|
+
# process the query parameters
|
|
1057
|
+
# process the header parameters
|
|
1058
|
+
# process the form parameters
|
|
1059
|
+
# process the body parameter
|
|
1060
|
+
if rapid_result_model is not None:
|
|
1061
|
+
_body_params = rapid_result_model
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
# set the HTTP header `Accept`
|
|
1065
|
+
if 'Accept' not in _header_params:
|
|
1066
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1067
|
+
[
|
|
1068
|
+
'text/plain',
|
|
1069
|
+
'application/json',
|
|
1070
|
+
'text/json'
|
|
1071
|
+
]
|
|
1072
|
+
)
|
|
1073
|
+
|
|
1074
|
+
# set the HTTP header `Content-Type`
|
|
1075
|
+
if _content_type:
|
|
1076
|
+
_header_params['Content-Type'] = _content_type
|
|
1077
|
+
else:
|
|
1078
|
+
_default_content_type = (
|
|
1079
|
+
self.api_client.select_header_content_type(
|
|
1080
|
+
[
|
|
1081
|
+
'application/json',
|
|
1082
|
+
'text/json',
|
|
1083
|
+
'application/*+json'
|
|
1084
|
+
]
|
|
1085
|
+
)
|
|
1086
|
+
)
|
|
1087
|
+
if _default_content_type is not None:
|
|
1088
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1089
|
+
|
|
1090
|
+
# authentication setting
|
|
1091
|
+
_auth_settings: List[str] = [
|
|
1092
|
+
'OAuth2',
|
|
1093
|
+
'OpenIdConnect',
|
|
1094
|
+
'Bearer'
|
|
1095
|
+
]
|
|
1096
|
+
|
|
1097
|
+
return self.api_client.param_serialize(
|
|
1098
|
+
method='POST',
|
|
1099
|
+
resource_path='/rapid/response',
|
|
1100
|
+
path_params=_path_params,
|
|
1101
|
+
query_params=_query_params,
|
|
1102
|
+
header_params=_header_params,
|
|
1103
|
+
body=_body_params,
|
|
1104
|
+
post_params=_form_params,
|
|
1105
|
+
files=_files,
|
|
1106
|
+
auth_settings=_auth_settings,
|
|
1107
|
+
collection_formats=_collection_formats,
|
|
1108
|
+
_host=_host,
|
|
1109
|
+
_request_auth=_request_auth
|
|
1110
|
+
)
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
@validate_call
|
|
1116
|
+
def rapid_skip_post(
|
|
1117
|
+
self,
|
|
1118
|
+
rapid_skipped_model: Annotated[RapidSkippedModel, Field(description="The model containing the Rapid to skip.")],
|
|
1119
|
+
_request_timeout: Union[
|
|
1120
|
+
None,
|
|
1121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1122
|
+
Tuple[
|
|
1123
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1124
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1125
|
+
]
|
|
1126
|
+
] = None,
|
|
1127
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1128
|
+
_content_type: Optional[StrictStr] = None,
|
|
1129
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1130
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1131
|
+
) -> AddUserResponseResult:
|
|
1132
|
+
"""Skips a Rapid for the user.
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
:param rapid_skipped_model: The model containing the Rapid to skip. (required)
|
|
1136
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
1137
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1138
|
+
number provided, it will be total request
|
|
1139
|
+
timeout. It can also be a pair (tuple) of
|
|
1140
|
+
(connection, read) timeouts.
|
|
1141
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1142
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1143
|
+
request; this effectively ignores the
|
|
1144
|
+
authentication in the spec for a single request.
|
|
1145
|
+
:type _request_auth: dict, optional
|
|
1146
|
+
:param _content_type: force content-type for the request.
|
|
1147
|
+
:type _content_type: str, Optional
|
|
1148
|
+
:param _headers: set to override the headers for a single
|
|
1149
|
+
request; this effectively ignores the headers
|
|
1150
|
+
in the spec for a single request.
|
|
1151
|
+
:type _headers: dict, optional
|
|
1152
|
+
:param _host_index: set to override the host_index for a single
|
|
1153
|
+
request; this effectively ignores the host_index
|
|
1154
|
+
in the spec for a single request.
|
|
1155
|
+
:type _host_index: int, optional
|
|
1156
|
+
:return: Returns the result object.
|
|
1157
|
+
""" # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
_param = self._rapid_skip_post_serialize(
|
|
1160
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
1161
|
+
_request_auth=_request_auth,
|
|
1162
|
+
_content_type=_content_type,
|
|
1163
|
+
_headers=_headers,
|
|
1164
|
+
_host_index=_host_index
|
|
1165
|
+
)
|
|
1166
|
+
|
|
1167
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1168
|
+
'200': "AddUserResponseResult",
|
|
1169
|
+
}
|
|
1170
|
+
response_data = self.api_client.call_api(
|
|
1171
|
+
*_param,
|
|
1172
|
+
_request_timeout=_request_timeout
|
|
1173
|
+
)
|
|
1174
|
+
response_data.read()
|
|
1175
|
+
return self.api_client.response_deserialize(
|
|
1176
|
+
response_data=response_data,
|
|
1177
|
+
response_types_map=_response_types_map,
|
|
1178
|
+
).data
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
@validate_call
|
|
1182
|
+
def rapid_skip_post_with_http_info(
|
|
1183
|
+
self,
|
|
1184
|
+
rapid_skipped_model: Annotated[RapidSkippedModel, Field(description="The model containing the Rapid to skip.")],
|
|
1185
|
+
_request_timeout: Union[
|
|
1186
|
+
None,
|
|
1187
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1188
|
+
Tuple[
|
|
1189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1190
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1191
|
+
]
|
|
1192
|
+
] = None,
|
|
1193
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1194
|
+
_content_type: Optional[StrictStr] = None,
|
|
1195
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1196
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1197
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
1198
|
+
"""Skips a Rapid for the user.
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
:param rapid_skipped_model: The model containing the Rapid to skip. (required)
|
|
1202
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
1203
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1204
|
+
number provided, it will be total request
|
|
1205
|
+
timeout. It can also be a pair (tuple) of
|
|
1206
|
+
(connection, read) timeouts.
|
|
1207
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1208
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1209
|
+
request; this effectively ignores the
|
|
1210
|
+
authentication in the spec for a single request.
|
|
1211
|
+
:type _request_auth: dict, optional
|
|
1212
|
+
:param _content_type: force content-type for the request.
|
|
1213
|
+
:type _content_type: str, Optional
|
|
1214
|
+
:param _headers: set to override the headers for a single
|
|
1215
|
+
request; this effectively ignores the headers
|
|
1216
|
+
in the spec for a single request.
|
|
1217
|
+
:type _headers: dict, optional
|
|
1218
|
+
:param _host_index: set to override the host_index for a single
|
|
1219
|
+
request; this effectively ignores the host_index
|
|
1220
|
+
in the spec for a single request.
|
|
1221
|
+
:type _host_index: int, optional
|
|
1222
|
+
:return: Returns the result object.
|
|
1223
|
+
""" # noqa: E501
|
|
1224
|
+
|
|
1225
|
+
_param = self._rapid_skip_post_serialize(
|
|
1226
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
1227
|
+
_request_auth=_request_auth,
|
|
1228
|
+
_content_type=_content_type,
|
|
1229
|
+
_headers=_headers,
|
|
1230
|
+
_host_index=_host_index
|
|
1231
|
+
)
|
|
1232
|
+
|
|
1233
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1234
|
+
'200': "AddUserResponseResult",
|
|
1235
|
+
}
|
|
1236
|
+
response_data = self.api_client.call_api(
|
|
1237
|
+
*_param,
|
|
1238
|
+
_request_timeout=_request_timeout
|
|
1239
|
+
)
|
|
1240
|
+
response_data.read()
|
|
1241
|
+
return self.api_client.response_deserialize(
|
|
1242
|
+
response_data=response_data,
|
|
1243
|
+
response_types_map=_response_types_map,
|
|
1244
|
+
)
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
@validate_call
|
|
1248
|
+
def rapid_skip_post_without_preload_content(
|
|
1249
|
+
self,
|
|
1250
|
+
rapid_skipped_model: Annotated[RapidSkippedModel, Field(description="The model containing the Rapid to skip.")],
|
|
1251
|
+
_request_timeout: Union[
|
|
1252
|
+
None,
|
|
1253
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1254
|
+
Tuple[
|
|
1255
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1256
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1257
|
+
]
|
|
1258
|
+
] = None,
|
|
1259
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1260
|
+
_content_type: Optional[StrictStr] = None,
|
|
1261
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1262
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1263
|
+
) -> RESTResponseType:
|
|
1264
|
+
"""Skips a Rapid for the user.
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
:param rapid_skipped_model: The model containing the Rapid to skip. (required)
|
|
1268
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
1269
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1270
|
+
number provided, it will be total request
|
|
1271
|
+
timeout. It can also be a pair (tuple) of
|
|
1272
|
+
(connection, read) timeouts.
|
|
1273
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1274
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1275
|
+
request; this effectively ignores the
|
|
1276
|
+
authentication in the spec for a single request.
|
|
1277
|
+
:type _request_auth: dict, optional
|
|
1278
|
+
:param _content_type: force content-type for the request.
|
|
1279
|
+
:type _content_type: str, Optional
|
|
1280
|
+
:param _headers: set to override the headers for a single
|
|
1281
|
+
request; this effectively ignores the headers
|
|
1282
|
+
in the spec for a single request.
|
|
1283
|
+
:type _headers: dict, optional
|
|
1284
|
+
:param _host_index: set to override the host_index for a single
|
|
1285
|
+
request; this effectively ignores the host_index
|
|
1286
|
+
in the spec for a single request.
|
|
1287
|
+
:type _host_index: int, optional
|
|
1288
|
+
:return: Returns the result object.
|
|
1289
|
+
""" # noqa: E501
|
|
1290
|
+
|
|
1291
|
+
_param = self._rapid_skip_post_serialize(
|
|
1292
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
1293
|
+
_request_auth=_request_auth,
|
|
1294
|
+
_content_type=_content_type,
|
|
1295
|
+
_headers=_headers,
|
|
1296
|
+
_host_index=_host_index
|
|
1297
|
+
)
|
|
1298
|
+
|
|
1299
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1300
|
+
'200': "AddUserResponseResult",
|
|
1301
|
+
}
|
|
1302
|
+
response_data = self.api_client.call_api(
|
|
1303
|
+
*_param,
|
|
1304
|
+
_request_timeout=_request_timeout
|
|
1305
|
+
)
|
|
1306
|
+
return response_data.response
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
def _rapid_skip_post_serialize(
|
|
1310
|
+
self,
|
|
1311
|
+
rapid_skipped_model,
|
|
1312
|
+
_request_auth,
|
|
1313
|
+
_content_type,
|
|
1314
|
+
_headers,
|
|
1315
|
+
_host_index,
|
|
1316
|
+
) -> RequestSerialized:
|
|
1317
|
+
|
|
1318
|
+
_host = None
|
|
1319
|
+
|
|
1320
|
+
_collection_formats: Dict[str, str] = {
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
_path_params: Dict[str, str] = {}
|
|
1324
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1325
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1326
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1327
|
+
_files: Dict[
|
|
1328
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1329
|
+
] = {}
|
|
1330
|
+
_body_params: Optional[bytes] = None
|
|
1331
|
+
|
|
1332
|
+
# process the path parameters
|
|
1333
|
+
# process the query parameters
|
|
1334
|
+
# process the header parameters
|
|
1335
|
+
# process the form parameters
|
|
1336
|
+
# process the body parameter
|
|
1337
|
+
if rapid_skipped_model is not None:
|
|
1338
|
+
_body_params = rapid_skipped_model
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
# set the HTTP header `Accept`
|
|
1342
|
+
if 'Accept' not in _header_params:
|
|
1343
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1344
|
+
[
|
|
1345
|
+
'text/plain',
|
|
1346
|
+
'application/json',
|
|
1347
|
+
'text/json'
|
|
1348
|
+
]
|
|
1349
|
+
)
|
|
1350
|
+
|
|
1351
|
+
# set the HTTP header `Content-Type`
|
|
1352
|
+
if _content_type:
|
|
1353
|
+
_header_params['Content-Type'] = _content_type
|
|
1354
|
+
else:
|
|
1355
|
+
_default_content_type = (
|
|
1356
|
+
self.api_client.select_header_content_type(
|
|
1357
|
+
[
|
|
1358
|
+
'application/json',
|
|
1359
|
+
'text/json',
|
|
1360
|
+
'application/*+json'
|
|
1361
|
+
]
|
|
1362
|
+
)
|
|
1363
|
+
)
|
|
1364
|
+
if _default_content_type is not None:
|
|
1365
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1366
|
+
|
|
1367
|
+
# authentication setting
|
|
1368
|
+
_auth_settings: List[str] = [
|
|
1369
|
+
'OAuth2',
|
|
1370
|
+
'OpenIdConnect',
|
|
1371
|
+
'Bearer'
|
|
1372
|
+
]
|
|
1373
|
+
|
|
1374
|
+
return self.api_client.param_serialize(
|
|
1375
|
+
method='POST',
|
|
1376
|
+
resource_path='/rapid/skip',
|
|
1377
|
+
path_params=_path_params,
|
|
1378
|
+
query_params=_query_params,
|
|
1379
|
+
header_params=_header_params,
|
|
1380
|
+
body=_body_params,
|
|
1381
|
+
post_params=_form_params,
|
|
1382
|
+
files=_files,
|
|
1383
|
+
auth_settings=_auth_settings,
|
|
1384
|
+
collection_formats=_collection_formats,
|
|
1385
|
+
_host=_host,
|
|
1386
|
+
_request_auth=_request_auth
|
|
1387
|
+
)
|
|
1388
|
+
|
|
1389
|
+
|