rapidata 1.8.3__py3-none-any.whl → 2.44.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +32 -16
- rapidata/api_client/__init__.py +83 -279
- rapidata/api_client/api/__init__.py +14 -4
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +1133 -0
- rapidata/api_client/api/benchmark_api.py +3966 -0
- rapidata/api_client/api/campaign_api.py +926 -125
- rapidata/api_client/api/client_api.py +589 -42
- rapidata/api_client/api/coco_api.py +45 -45
- rapidata/api_client/api/compare_workflow_api.py +47 -45
- rapidata/api_client/api/{validation_api.py → customer_rapid_api.py} +367 -378
- rapidata/api_client/api/datapoint_api.py +69 -336
- rapidata/api_client/api/dataset_api.py +263 -872
- rapidata/api_client/api/evaluation_workflow_api.py +319 -0
- rapidata/api_client/api/feedback_api.py +306 -0
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +365 -120
- rapidata/api_client/api/leaderboard_api.py +2550 -0
- rapidata/api_client/api/newsletter_api.py +35 -34
- rapidata/api_client/api/order_api.py +1111 -787
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +156 -139
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapid_api.py +1288 -189
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +47 -79
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +3052 -0
- rapidata/api_client/api/workflow_api.py +410 -96
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -260
- rapidata/api_client/models/ab_test_selection.py +122 -0
- rapidata/api_client/models/ab_test_selection_a_inner.py +240 -0
- rapidata/api_client/models/add_campaign_model.py +52 -11
- rapidata/api_client/models/add_campaign_model_user_filters_inner.py +224 -0
- rapidata/api_client/models/add_user_response_result.py +111 -0
- rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
- rapidata/api_client/models/add_validation_rapid_model.py +61 -23
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_payload.py +30 -16
- rapidata/api_client/models/add_validation_rapid_model_truth.py +65 -17
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +14 -9
- rapidata/api_client/models/age_group.py +5 -4
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +5 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +87 -0
- rapidata/api_client/models/asset_metadata.py +106 -0
- rapidata/api_client/models/asset_metadata_asset.py +170 -0
- rapidata/api_client/models/asset_metadata_model.py +96 -0
- rapidata/api_client/models/asset_metadata_model_asset.py +170 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_status.py +38 -0
- rapidata/api_client/models/base_error.py +1 -4
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +89 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +107 -0
- rapidata/api_client/models/campaign_query_result_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +4 -2
- rapidata/api_client/models/capped_selection.py +3 -3
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +14 -5
- rapidata/api_client/models/classification_metadata_model.py +2 -4
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +2 -2
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_match_status.py +39 -0
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +4 -4
- rapidata/api_client/models/compare_workflow_config.py +31 -22
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +296 -0
- rapidata/api_client/models/compare_workflow_config_model.py +32 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_model.py +59 -14
- rapidata/api_client/models/compare_workflow_model1.py +32 -19
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +126 -0
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/comparison_operator.py +41 -0
- rapidata/api_client/models/conditional_validation_selection.py +9 -5
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/coordinate.py +2 -2
- rapidata/api_client/models/count_metadata.py +13 -4
- rapidata/api_client/models/count_metadata_model.py +2 -4
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +99 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_from_files_model.py +102 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +182 -0
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_model.py +134 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +87 -0
- rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_leaderboard_model.py +140 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_model.py +41 -52
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +83 -11
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +87 -0
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +87 -0
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client/models/datapoint.py +12 -28
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +13 -6
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +38 -0
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/demographic.py +89 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/demographic_metadata_model.py +18 -9
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +91 -0
- rapidata/api_client/models/elo_config_model.py +91 -0
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/existing_asset_input.py +120 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +15 -12
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model.py +18 -13
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/file_asset_model_metadata_value.py +252 -0
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +111 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +96 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +87 -0
- rapidata/api_client/models/get_compare_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_compare_workflow_results_result.py +95 -0
- rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
- rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_datapoint_by_id_result.py +103 -0
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +93 -0
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +18 -8
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +106 -0
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +95 -0
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_query.py +123 -0
- rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result.py +150 -0
- rapidata/api_client/models/get_validation_rapids_result_asset.py +174 -0
- rapidata/api_client/models/get_validation_rapids_result_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/get_validation_rapids_result_truth.py +286 -0
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +37 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +129 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_campaign_filter.py +282 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +103 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +103 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +282 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/image_dimension_metadata.py +13 -4
- rapidata/api_client/models/image_dimension_metadata_model.py +2 -4
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +92 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +21 -4
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +14 -5
- rapidata/api_client/models/location_metadata_model.py +2 -4
- rapidata/api_client/models/logic_operator.py +3 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_visibilities.py +1 -0
- rapidata/api_client/models/multi_asset.py +17 -12
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +21 -16
- rapidata/api_client/models/multi_asset_model2.py +3 -3
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/new_user_filter_model.py +94 -0
- rapidata/api_client/models/new_user_filter_model1.py +94 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +87 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +102 -0
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/null_asset_model.py +18 -13
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +106 -0
- rapidata/api_client/models/order_model.py +16 -13
- rapidata/api_client/models/order_state.py +3 -2
- rapidata/api_client/models/original_filename_metadata.py +14 -5
- rapidata/api_client/models/original_filename_metadata_model.py +2 -4
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_artifact_id_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/preliminary_download_model.py +87 -0
- rapidata/api_client/models/preliminary_download_result.py +87 -0
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +13 -4
- rapidata/api_client/models/prompt_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_metadata_model.py +2 -4
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +111 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/query_validation_rapids_result.py +50 -5
- rapidata/api_client/models/query_validation_rapids_result_asset.py +40 -40
- rapidata/api_client/models/query_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/query_validation_rapids_result_truth.py +258 -0
- rapidata/api_client/models/rapid_answer.py +3 -1
- rapidata/api_client/models/rapid_answer_result.py +31 -17
- rapidata/api_client/models/rapid_issue.py +45 -0
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_response.py +103 -0
- rapidata/api_client/models/rapid_response_result.py +266 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_result_model_result.py +31 -17
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +41 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +3 -8
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +109 -0
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/retrieval_mode.py +38 -0
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_payload.py +96 -0
- rapidata/api_client/models/scrub_range.py +89 -0
- rapidata/api_client/models/scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/scrub_result.py +98 -0
- rapidata/api_client/models/scrub_truth.py +104 -0
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/shuffling_selection.py +106 -0
- rapidata/api_client/models/simple_workflow_config.py +6 -17
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +6 -22
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +31 -17
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +5 -12
- rapidata/api_client/models/simple_workflow_model_blueprint.py +31 -17
- rapidata/api_client/models/skip_truth.py +94 -0
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +109 -0
- rapidata/api_client/models/source_url_metadata_model.py +96 -0
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +39 -0
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +87 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +15 -10
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +18 -13
- rapidata/api_client/models/text_metadata.py +20 -6
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +9 -6
- rapidata/api_client/models/transcription_metadata.py +10 -4
- rapidata/api_client/models/transcription_metadata_input.py +4 -6
- rapidata/api_client/models/transcription_metadata_model.py +1 -3
- rapidata/api_client/models/transcription_truth.py +23 -4
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_prompt_metadata_model.py +2 -4
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +102 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +99 -0
- rapidata/api_client/models/update_dataset_name_model.py +87 -0
- rapidata/api_client/models/update_dimensions_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +87 -0
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +125 -0
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +280 -0
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +15 -5
- rapidata/api_client/models/upload_from_s3_result.py +87 -0
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +26 -4
- rapidata/api_client/models/url_asset_input.py +100 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_score_user_filter_model.py +9 -2
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_import_post_request_blueprint.py +31 -17
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +193 -154
- rapidata/api_client_README.md +488 -293
- rapidata/rapidata_client/__init__.py +27 -13
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +32 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +221 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +145 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +546 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +219 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +10 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +169 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/datapoints/metadata/__init__.py +7 -0
- rapidata/rapidata_client/{selection/base_selection.py → datapoints/metadata/_base_metadata.py} +2 -1
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +26 -0
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +12 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +17 -0
- rapidata/rapidata_client/demographic/__init__.py +0 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +54 -0
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +7 -1
- rapidata/rapidata_client/filter/_base_filter.py +62 -0
- rapidata/rapidata_client/filter/age_filter.py +28 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +28 -11
- rapidata/rapidata_client/filter/country_filter.py +42 -13
- rapidata/rapidata_client/filter/custom_filter.py +39 -0
- rapidata/rapidata_client/filter/gender_filter.py +29 -10
- rapidata/rapidata_client/filter/language_filter.py +49 -15
- rapidata/rapidata_client/filter/models/__init__.py +0 -0
- rapidata/rapidata_client/filter/models/age_group.py +28 -0
- rapidata/rapidata_client/filter/models/gender.py +23 -0
- rapidata/rapidata_client/filter/new_user_filter.py +20 -0
- rapidata/rapidata_client/filter/not_filter.py +42 -0
- rapidata/rapidata_client/filter/or_filter.py +42 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +60 -0
- rapidata/rapidata_client/filter/response_count_filter.py +62 -0
- rapidata/rapidata_client/filter/user_score_filter.py +60 -14
- rapidata/rapidata_client/order/_rapidata_order_builder.py +481 -0
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +393 -90
- rapidata/rapidata_client/order/rapidata_order_manager.py +922 -0
- rapidata/rapidata_client/order/rapidata_results.py +251 -0
- rapidata/rapidata_client/rapidata_client.py +125 -180
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +9 -5
- rapidata/rapidata_client/referee/_early_stopping_referee.py +62 -0
- rapidata/rapidata_client/referee/_naive_referee.py +48 -0
- rapidata/rapidata_client/selection/__init__.py +6 -1
- rapidata/rapidata_client/selection/_base_selection.py +16 -0
- rapidata/rapidata_client/selection/ab_test_selection.py +46 -0
- rapidata/rapidata_client/selection/capped_selection.py +34 -17
- rapidata/rapidata_client/selection/conditional_validation_selection.py +71 -21
- rapidata/rapidata_client/selection/demographic_selection.py +43 -8
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +45 -8
- rapidata/rapidata_client/selection/rapidata_retrieval_modes.py +21 -0
- rapidata/rapidata_client/selection/rapidata_selections.py +47 -0
- rapidata/rapidata_client/selection/shuffling_selection.py +44 -0
- rapidata/rapidata_client/selection/static_selection.py +33 -0
- rapidata/rapidata_client/selection/validation_selection.py +29 -6
- rapidata/rapidata_client/settings/__init__.py +12 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +24 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +25 -0
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +17 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +22 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +15 -0
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +18 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +19 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +51 -0
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +20 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +141 -0
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +42 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +469 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +814 -0
- rapidata/rapidata_client/workflow/__init__.py +11 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +43 -0
- rapidata/rapidata_client/workflow/_classify_workflow.py +92 -0
- rapidata/rapidata_client/workflow/_compare_workflow.py +76 -0
- rapidata/rapidata_client/workflow/_draw_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +47 -0
- rapidata/rapidata_client/workflow/_free_text_workflow.py +81 -0
- rapidata/rapidata_client/workflow/_locate_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +131 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +74 -0
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +65 -0
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +41 -32
- rapidata/service/openapi_service.py +153 -35
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.4.dist-info/METADATA +32 -0
- rapidata-2.44.4.dist-info/RECORD +1014 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info}/WHEEL +1 -1
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/assets/__init__.py +0 -8
- rapidata/rapidata_client/assets/base_asset.py +0 -11
- rapidata/rapidata_client/assets/media_asset.py +0 -88
- rapidata/rapidata_client/assets/multi_asset.py +0 -55
- rapidata/rapidata_client/assets/text_asset.py +0 -28
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -32
- rapidata/rapidata_client/dataset/rapid_builders/transcription_rapid_builders.py +0 -132
- rapidata/rapidata_client/dataset/rapidata_dataset.py +0 -126
- rapidata/rapidata_client/dataset/rapidata_validation_set.py +0 -300
- rapidata/rapidata_client/dataset/validation_rapid_parts.py +0 -55
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -324
- rapidata/rapidata_client/filter/base_filter.py +0 -9
- rapidata/rapidata_client/metadata/__init__.py +0 -5
- rapidata/rapidata_client/metadata/base_metadata.py +0 -12
- rapidata/rapidata_client/metadata/private_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/prompt_metadata.py +0 -17
- rapidata/rapidata_client/metadata/public_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/transcription_metadata.py +0 -19
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/referee/early_stopping_referee.py +0 -50
- rapidata/rapidata_client/referee/naive_referee.py +0 -33
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -245
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -250
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -180
- rapidata/rapidata_client/simple_builders/simple_transcription_builders.py +0 -194
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/classify_workflow.py +0 -49
- rapidata/rapidata_client/workflow/compare_workflow.py +0 -47
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- rapidata/rapidata_client/workflow/free_text_workflow.py +0 -50
- rapidata/rapidata_client/workflow/transcription_workflow.py +0 -40
- rapidata/service/local_file_service.py +0 -25
- rapidata/service/token_manager.py +0 -175
- rapidata-1.8.3.dist-info/METADATA +0 -28
- rapidata-1.8.3.dist-info/RECORD +0 -396
- /rapidata/rapidata_client/{dataset → api}/__init__.py +0 -0
- /rapidata/rapidata_client/{simple_builders → benchmark}/__init__.py +0 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -16,14 +16,16 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, StrictStr
|
|
19
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
20
20
|
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
+
from rapidata.api_client.models.get_compare_ab_summary_result import GetCompareAbSummaryResult
|
|
23
|
+
from rapidata.api_client.models.get_responses_result import GetResponsesResult
|
|
22
24
|
from rapidata.api_client.models.get_workflow_by_id_result import GetWorkflowByIdResult
|
|
23
25
|
from rapidata.api_client.models.get_workflow_progress_result import GetWorkflowProgressResult
|
|
24
|
-
from rapidata.api_client.models.
|
|
25
|
-
from rapidata.api_client.models.
|
|
26
|
-
from rapidata.api_client.models.
|
|
26
|
+
from rapidata.api_client.models.paged_result_of_i_workflow_model import PagedResultOfIWorkflowModel
|
|
27
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
28
|
+
from rapidata.api_client.models.sort_direction import SortDirection
|
|
27
29
|
|
|
28
30
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
29
31
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -275,13 +277,14 @@ class WorkflowApi:
|
|
|
275
277
|
|
|
276
278
|
# authentication setting
|
|
277
279
|
_auth_settings: List[str] = [
|
|
278
|
-
'
|
|
279
|
-
'
|
|
280
|
+
'OAuth2',
|
|
281
|
+
'OpenIdConnect',
|
|
282
|
+
'Bearer'
|
|
280
283
|
]
|
|
281
284
|
|
|
282
285
|
return self.api_client.param_serialize(
|
|
283
286
|
method='DELETE',
|
|
284
|
-
resource_path='/
|
|
287
|
+
resource_path='/workflow/delete',
|
|
285
288
|
path_params=_path_params,
|
|
286
289
|
query_params=_query_params,
|
|
287
290
|
header_params=_header_params,
|
|
@@ -298,9 +301,288 @@ class WorkflowApi:
|
|
|
298
301
|
|
|
299
302
|
|
|
300
303
|
@validate_call
|
|
301
|
-
def
|
|
304
|
+
def workflow_workflow_id_compare_ab_summary_get(
|
|
302
305
|
self,
|
|
303
|
-
workflow_id: Annotated[
|
|
306
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the summary for.")],
|
|
307
|
+
use_user_score: Annotated[Optional[StrictBool], Field(description="Whether to use the user score to determine the winner.")] = None,
|
|
308
|
+
_request_timeout: Union[
|
|
309
|
+
None,
|
|
310
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
311
|
+
Tuple[
|
|
312
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
313
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
314
|
+
]
|
|
315
|
+
] = None,
|
|
316
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
317
|
+
_content_type: Optional[StrictStr] = None,
|
|
318
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
319
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
320
|
+
) -> GetCompareAbSummaryResult:
|
|
321
|
+
"""Calculates a summary of the results for a simple compare workflow. The summary includes the number of times an asset at each index was the winner.
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
:param workflow_id: The ID of the workflow to get the summary for. (required)
|
|
325
|
+
:type workflow_id: str
|
|
326
|
+
:param use_user_score: Whether to use the user score to determine the winner.
|
|
327
|
+
:type use_user_score: bool
|
|
328
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
329
|
+
number provided, it will be total request
|
|
330
|
+
timeout. It can also be a pair (tuple) of
|
|
331
|
+
(connection, read) timeouts.
|
|
332
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
333
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
334
|
+
request; this effectively ignores the
|
|
335
|
+
authentication in the spec for a single request.
|
|
336
|
+
:type _request_auth: dict, optional
|
|
337
|
+
:param _content_type: force content-type for the request.
|
|
338
|
+
:type _content_type: str, Optional
|
|
339
|
+
:param _headers: set to override the headers for a single
|
|
340
|
+
request; this effectively ignores the headers
|
|
341
|
+
in the spec for a single request.
|
|
342
|
+
:type _headers: dict, optional
|
|
343
|
+
:param _host_index: set to override the host_index for a single
|
|
344
|
+
request; this effectively ignores the host_index
|
|
345
|
+
in the spec for a single request.
|
|
346
|
+
:type _host_index: int, optional
|
|
347
|
+
:return: Returns the result object.
|
|
348
|
+
""" # noqa: E501
|
|
349
|
+
|
|
350
|
+
_param = self._workflow_workflow_id_compare_ab_summary_get_serialize(
|
|
351
|
+
workflow_id=workflow_id,
|
|
352
|
+
use_user_score=use_user_score,
|
|
353
|
+
_request_auth=_request_auth,
|
|
354
|
+
_content_type=_content_type,
|
|
355
|
+
_headers=_headers,
|
|
356
|
+
_host_index=_host_index
|
|
357
|
+
)
|
|
358
|
+
|
|
359
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
360
|
+
'200': "GetCompareAbSummaryResult",
|
|
361
|
+
}
|
|
362
|
+
response_data = self.api_client.call_api(
|
|
363
|
+
*_param,
|
|
364
|
+
_request_timeout=_request_timeout
|
|
365
|
+
)
|
|
366
|
+
response_data.read()
|
|
367
|
+
return self.api_client.response_deserialize(
|
|
368
|
+
response_data=response_data,
|
|
369
|
+
response_types_map=_response_types_map,
|
|
370
|
+
).data
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
@validate_call
|
|
374
|
+
def workflow_workflow_id_compare_ab_summary_get_with_http_info(
|
|
375
|
+
self,
|
|
376
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the summary for.")],
|
|
377
|
+
use_user_score: Annotated[Optional[StrictBool], Field(description="Whether to use the user score to determine the winner.")] = None,
|
|
378
|
+
_request_timeout: Union[
|
|
379
|
+
None,
|
|
380
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
381
|
+
Tuple[
|
|
382
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
383
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
384
|
+
]
|
|
385
|
+
] = None,
|
|
386
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
387
|
+
_content_type: Optional[StrictStr] = None,
|
|
388
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
389
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
390
|
+
) -> ApiResponse[GetCompareAbSummaryResult]:
|
|
391
|
+
"""Calculates a summary of the results for a simple compare workflow. The summary includes the number of times an asset at each index was the winner.
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
:param workflow_id: The ID of the workflow to get the summary for. (required)
|
|
395
|
+
:type workflow_id: str
|
|
396
|
+
:param use_user_score: Whether to use the user score to determine the winner.
|
|
397
|
+
:type use_user_score: bool
|
|
398
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
399
|
+
number provided, it will be total request
|
|
400
|
+
timeout. It can also be a pair (tuple) of
|
|
401
|
+
(connection, read) timeouts.
|
|
402
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
403
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
404
|
+
request; this effectively ignores the
|
|
405
|
+
authentication in the spec for a single request.
|
|
406
|
+
:type _request_auth: dict, optional
|
|
407
|
+
:param _content_type: force content-type for the request.
|
|
408
|
+
:type _content_type: str, Optional
|
|
409
|
+
:param _headers: set to override the headers for a single
|
|
410
|
+
request; this effectively ignores the headers
|
|
411
|
+
in the spec for a single request.
|
|
412
|
+
:type _headers: dict, optional
|
|
413
|
+
:param _host_index: set to override the host_index for a single
|
|
414
|
+
request; this effectively ignores the host_index
|
|
415
|
+
in the spec for a single request.
|
|
416
|
+
:type _host_index: int, optional
|
|
417
|
+
:return: Returns the result object.
|
|
418
|
+
""" # noqa: E501
|
|
419
|
+
|
|
420
|
+
_param = self._workflow_workflow_id_compare_ab_summary_get_serialize(
|
|
421
|
+
workflow_id=workflow_id,
|
|
422
|
+
use_user_score=use_user_score,
|
|
423
|
+
_request_auth=_request_auth,
|
|
424
|
+
_content_type=_content_type,
|
|
425
|
+
_headers=_headers,
|
|
426
|
+
_host_index=_host_index
|
|
427
|
+
)
|
|
428
|
+
|
|
429
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
430
|
+
'200': "GetCompareAbSummaryResult",
|
|
431
|
+
}
|
|
432
|
+
response_data = self.api_client.call_api(
|
|
433
|
+
*_param,
|
|
434
|
+
_request_timeout=_request_timeout
|
|
435
|
+
)
|
|
436
|
+
response_data.read()
|
|
437
|
+
return self.api_client.response_deserialize(
|
|
438
|
+
response_data=response_data,
|
|
439
|
+
response_types_map=_response_types_map,
|
|
440
|
+
)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
@validate_call
|
|
444
|
+
def workflow_workflow_id_compare_ab_summary_get_without_preload_content(
|
|
445
|
+
self,
|
|
446
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the summary for.")],
|
|
447
|
+
use_user_score: Annotated[Optional[StrictBool], Field(description="Whether to use the user score to determine the winner.")] = None,
|
|
448
|
+
_request_timeout: Union[
|
|
449
|
+
None,
|
|
450
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
451
|
+
Tuple[
|
|
452
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
453
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
454
|
+
]
|
|
455
|
+
] = None,
|
|
456
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
457
|
+
_content_type: Optional[StrictStr] = None,
|
|
458
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
459
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
460
|
+
) -> RESTResponseType:
|
|
461
|
+
"""Calculates a summary of the results for a simple compare workflow. The summary includes the number of times an asset at each index was the winner.
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
:param workflow_id: The ID of the workflow to get the summary for. (required)
|
|
465
|
+
:type workflow_id: str
|
|
466
|
+
:param use_user_score: Whether to use the user score to determine the winner.
|
|
467
|
+
:type use_user_score: bool
|
|
468
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
469
|
+
number provided, it will be total request
|
|
470
|
+
timeout. It can also be a pair (tuple) of
|
|
471
|
+
(connection, read) timeouts.
|
|
472
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
473
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
474
|
+
request; this effectively ignores the
|
|
475
|
+
authentication in the spec for a single request.
|
|
476
|
+
:type _request_auth: dict, optional
|
|
477
|
+
:param _content_type: force content-type for the request.
|
|
478
|
+
:type _content_type: str, Optional
|
|
479
|
+
:param _headers: set to override the headers for a single
|
|
480
|
+
request; this effectively ignores the headers
|
|
481
|
+
in the spec for a single request.
|
|
482
|
+
:type _headers: dict, optional
|
|
483
|
+
:param _host_index: set to override the host_index for a single
|
|
484
|
+
request; this effectively ignores the host_index
|
|
485
|
+
in the spec for a single request.
|
|
486
|
+
:type _host_index: int, optional
|
|
487
|
+
:return: Returns the result object.
|
|
488
|
+
""" # noqa: E501
|
|
489
|
+
|
|
490
|
+
_param = self._workflow_workflow_id_compare_ab_summary_get_serialize(
|
|
491
|
+
workflow_id=workflow_id,
|
|
492
|
+
use_user_score=use_user_score,
|
|
493
|
+
_request_auth=_request_auth,
|
|
494
|
+
_content_type=_content_type,
|
|
495
|
+
_headers=_headers,
|
|
496
|
+
_host_index=_host_index
|
|
497
|
+
)
|
|
498
|
+
|
|
499
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
500
|
+
'200': "GetCompareAbSummaryResult",
|
|
501
|
+
}
|
|
502
|
+
response_data = self.api_client.call_api(
|
|
503
|
+
*_param,
|
|
504
|
+
_request_timeout=_request_timeout
|
|
505
|
+
)
|
|
506
|
+
return response_data.response
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
def _workflow_workflow_id_compare_ab_summary_get_serialize(
|
|
510
|
+
self,
|
|
511
|
+
workflow_id,
|
|
512
|
+
use_user_score,
|
|
513
|
+
_request_auth,
|
|
514
|
+
_content_type,
|
|
515
|
+
_headers,
|
|
516
|
+
_host_index,
|
|
517
|
+
) -> RequestSerialized:
|
|
518
|
+
|
|
519
|
+
_host = None
|
|
520
|
+
|
|
521
|
+
_collection_formats: Dict[str, str] = {
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
_path_params: Dict[str, str] = {}
|
|
525
|
+
_query_params: List[Tuple[str, str]] = []
|
|
526
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
527
|
+
_form_params: List[Tuple[str, str]] = []
|
|
528
|
+
_files: Dict[
|
|
529
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
530
|
+
] = {}
|
|
531
|
+
_body_params: Optional[bytes] = None
|
|
532
|
+
|
|
533
|
+
# process the path parameters
|
|
534
|
+
if workflow_id is not None:
|
|
535
|
+
_path_params['workflowId'] = workflow_id
|
|
536
|
+
# process the query parameters
|
|
537
|
+
if use_user_score is not None:
|
|
538
|
+
|
|
539
|
+
_query_params.append(('useUserScore', use_user_score))
|
|
540
|
+
|
|
541
|
+
# process the header parameters
|
|
542
|
+
# process the form parameters
|
|
543
|
+
# process the body parameter
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
# set the HTTP header `Accept`
|
|
547
|
+
if 'Accept' not in _header_params:
|
|
548
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
549
|
+
[
|
|
550
|
+
'text/plain',
|
|
551
|
+
'application/json',
|
|
552
|
+
'text/json'
|
|
553
|
+
]
|
|
554
|
+
)
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
# authentication setting
|
|
558
|
+
_auth_settings: List[str] = [
|
|
559
|
+
'OAuth2',
|
|
560
|
+
'OpenIdConnect',
|
|
561
|
+
'Bearer'
|
|
562
|
+
]
|
|
563
|
+
|
|
564
|
+
return self.api_client.param_serialize(
|
|
565
|
+
method='GET',
|
|
566
|
+
resource_path='/workflow/{workflowId}/compare-ab-summary',
|
|
567
|
+
path_params=_path_params,
|
|
568
|
+
query_params=_query_params,
|
|
569
|
+
header_params=_header_params,
|
|
570
|
+
body=_body_params,
|
|
571
|
+
post_params=_form_params,
|
|
572
|
+
files=_files,
|
|
573
|
+
auth_settings=_auth_settings,
|
|
574
|
+
collection_formats=_collection_formats,
|
|
575
|
+
_host=_host,
|
|
576
|
+
_request_auth=_request_auth
|
|
577
|
+
)
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
@validate_call
|
|
583
|
+
def workflow_workflow_id_get(
|
|
584
|
+
self,
|
|
585
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get.")],
|
|
304
586
|
_request_timeout: Union[
|
|
305
587
|
None,
|
|
306
588
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -317,7 +599,7 @@ class WorkflowApi:
|
|
|
317
599
|
"""Get a workflow by its ID.
|
|
318
600
|
|
|
319
601
|
|
|
320
|
-
:param workflow_id: The ID of the workflow to get.
|
|
602
|
+
:param workflow_id: The ID of the workflow to get. (required)
|
|
321
603
|
:type workflow_id: str
|
|
322
604
|
:param _request_timeout: timeout setting for this request. If one
|
|
323
605
|
number provided, it will be total request
|
|
@@ -341,7 +623,7 @@ class WorkflowApi:
|
|
|
341
623
|
:return: Returns the result object.
|
|
342
624
|
""" # noqa: E501
|
|
343
625
|
|
|
344
|
-
_param = self.
|
|
626
|
+
_param = self._workflow_workflow_id_get_serialize(
|
|
345
627
|
workflow_id=workflow_id,
|
|
346
628
|
_request_auth=_request_auth,
|
|
347
629
|
_content_type=_content_type,
|
|
@@ -364,9 +646,9 @@ class WorkflowApi:
|
|
|
364
646
|
|
|
365
647
|
|
|
366
648
|
@validate_call
|
|
367
|
-
def
|
|
649
|
+
def workflow_workflow_id_get_with_http_info(
|
|
368
650
|
self,
|
|
369
|
-
workflow_id: Annotated[
|
|
651
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get.")],
|
|
370
652
|
_request_timeout: Union[
|
|
371
653
|
None,
|
|
372
654
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -383,7 +665,7 @@ class WorkflowApi:
|
|
|
383
665
|
"""Get a workflow by its ID.
|
|
384
666
|
|
|
385
667
|
|
|
386
|
-
:param workflow_id: The ID of the workflow to get.
|
|
668
|
+
:param workflow_id: The ID of the workflow to get. (required)
|
|
387
669
|
:type workflow_id: str
|
|
388
670
|
:param _request_timeout: timeout setting for this request. If one
|
|
389
671
|
number provided, it will be total request
|
|
@@ -407,7 +689,7 @@ class WorkflowApi:
|
|
|
407
689
|
:return: Returns the result object.
|
|
408
690
|
""" # noqa: E501
|
|
409
691
|
|
|
410
|
-
_param = self.
|
|
692
|
+
_param = self._workflow_workflow_id_get_serialize(
|
|
411
693
|
workflow_id=workflow_id,
|
|
412
694
|
_request_auth=_request_auth,
|
|
413
695
|
_content_type=_content_type,
|
|
@@ -430,9 +712,9 @@ class WorkflowApi:
|
|
|
430
712
|
|
|
431
713
|
|
|
432
714
|
@validate_call
|
|
433
|
-
def
|
|
715
|
+
def workflow_workflow_id_get_without_preload_content(
|
|
434
716
|
self,
|
|
435
|
-
workflow_id: Annotated[
|
|
717
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get.")],
|
|
436
718
|
_request_timeout: Union[
|
|
437
719
|
None,
|
|
438
720
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -449,7 +731,7 @@ class WorkflowApi:
|
|
|
449
731
|
"""Get a workflow by its ID.
|
|
450
732
|
|
|
451
733
|
|
|
452
|
-
:param workflow_id: The ID of the workflow to get.
|
|
734
|
+
:param workflow_id: The ID of the workflow to get. (required)
|
|
453
735
|
:type workflow_id: str
|
|
454
736
|
:param _request_timeout: timeout setting for this request. If one
|
|
455
737
|
number provided, it will be total request
|
|
@@ -473,7 +755,7 @@ class WorkflowApi:
|
|
|
473
755
|
:return: Returns the result object.
|
|
474
756
|
""" # noqa: E501
|
|
475
757
|
|
|
476
|
-
_param = self.
|
|
758
|
+
_param = self._workflow_workflow_id_get_serialize(
|
|
477
759
|
workflow_id=workflow_id,
|
|
478
760
|
_request_auth=_request_auth,
|
|
479
761
|
_content_type=_content_type,
|
|
@@ -491,7 +773,7 @@ class WorkflowApi:
|
|
|
491
773
|
return response_data.response
|
|
492
774
|
|
|
493
775
|
|
|
494
|
-
def
|
|
776
|
+
def _workflow_workflow_id_get_serialize(
|
|
495
777
|
self,
|
|
496
778
|
workflow_id,
|
|
497
779
|
_request_auth,
|
|
@@ -515,11 +797,9 @@ class WorkflowApi:
|
|
|
515
797
|
_body_params: Optional[bytes] = None
|
|
516
798
|
|
|
517
799
|
# process the path parameters
|
|
518
|
-
# process the query parameters
|
|
519
800
|
if workflow_id is not None:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
801
|
+
_path_params['workflowId'] = workflow_id
|
|
802
|
+
# process the query parameters
|
|
523
803
|
# process the header parameters
|
|
524
804
|
# process the form parameters
|
|
525
805
|
# process the body parameter
|
|
@@ -538,13 +818,14 @@ class WorkflowApi:
|
|
|
538
818
|
|
|
539
819
|
# authentication setting
|
|
540
820
|
_auth_settings: List[str] = [
|
|
541
|
-
'
|
|
542
|
-
'
|
|
821
|
+
'OAuth2',
|
|
822
|
+
'OpenIdConnect',
|
|
823
|
+
'Bearer'
|
|
543
824
|
]
|
|
544
825
|
|
|
545
826
|
return self.api_client.param_serialize(
|
|
546
827
|
method='GET',
|
|
547
|
-
resource_path='/
|
|
828
|
+
resource_path='/workflow/{workflowId}',
|
|
548
829
|
path_params=_path_params,
|
|
549
830
|
query_params=_query_params,
|
|
550
831
|
header_params=_header_params,
|
|
@@ -561,9 +842,9 @@ class WorkflowApi:
|
|
|
561
842
|
|
|
562
843
|
|
|
563
844
|
@validate_call
|
|
564
|
-
def
|
|
845
|
+
def workflow_workflow_id_progress_get(
|
|
565
846
|
self,
|
|
566
|
-
workflow_id: Annotated[
|
|
847
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the progress for.")],
|
|
567
848
|
_request_timeout: Union[
|
|
568
849
|
None,
|
|
569
850
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -580,7 +861,7 @@ class WorkflowApi:
|
|
|
580
861
|
"""Get the progress of a workflow.
|
|
581
862
|
|
|
582
863
|
|
|
583
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
864
|
+
:param workflow_id: The ID of the workflow to get the progress for. (required)
|
|
584
865
|
:type workflow_id: str
|
|
585
866
|
:param _request_timeout: timeout setting for this request. If one
|
|
586
867
|
number provided, it will be total request
|
|
@@ -604,7 +885,7 @@ class WorkflowApi:
|
|
|
604
885
|
:return: Returns the result object.
|
|
605
886
|
""" # noqa: E501
|
|
606
887
|
|
|
607
|
-
_param = self.
|
|
888
|
+
_param = self._workflow_workflow_id_progress_get_serialize(
|
|
608
889
|
workflow_id=workflow_id,
|
|
609
890
|
_request_auth=_request_auth,
|
|
610
891
|
_content_type=_content_type,
|
|
@@ -627,9 +908,9 @@ class WorkflowApi:
|
|
|
627
908
|
|
|
628
909
|
|
|
629
910
|
@validate_call
|
|
630
|
-
def
|
|
911
|
+
def workflow_workflow_id_progress_get_with_http_info(
|
|
631
912
|
self,
|
|
632
|
-
workflow_id: Annotated[
|
|
913
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the progress for.")],
|
|
633
914
|
_request_timeout: Union[
|
|
634
915
|
None,
|
|
635
916
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -646,7 +927,7 @@ class WorkflowApi:
|
|
|
646
927
|
"""Get the progress of a workflow.
|
|
647
928
|
|
|
648
929
|
|
|
649
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
930
|
+
:param workflow_id: The ID of the workflow to get the progress for. (required)
|
|
650
931
|
:type workflow_id: str
|
|
651
932
|
:param _request_timeout: timeout setting for this request. If one
|
|
652
933
|
number provided, it will be total request
|
|
@@ -670,7 +951,7 @@ class WorkflowApi:
|
|
|
670
951
|
:return: Returns the result object.
|
|
671
952
|
""" # noqa: E501
|
|
672
953
|
|
|
673
|
-
_param = self.
|
|
954
|
+
_param = self._workflow_workflow_id_progress_get_serialize(
|
|
674
955
|
workflow_id=workflow_id,
|
|
675
956
|
_request_auth=_request_auth,
|
|
676
957
|
_content_type=_content_type,
|
|
@@ -693,9 +974,9 @@ class WorkflowApi:
|
|
|
693
974
|
|
|
694
975
|
|
|
695
976
|
@validate_call
|
|
696
|
-
def
|
|
977
|
+
def workflow_workflow_id_progress_get_without_preload_content(
|
|
697
978
|
self,
|
|
698
|
-
workflow_id: Annotated[
|
|
979
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the progress for.")],
|
|
699
980
|
_request_timeout: Union[
|
|
700
981
|
None,
|
|
701
982
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -712,7 +993,7 @@ class WorkflowApi:
|
|
|
712
993
|
"""Get the progress of a workflow.
|
|
713
994
|
|
|
714
995
|
|
|
715
|
-
:param workflow_id: The ID of the workflow to get the progress for.
|
|
996
|
+
:param workflow_id: The ID of the workflow to get the progress for. (required)
|
|
716
997
|
:type workflow_id: str
|
|
717
998
|
:param _request_timeout: timeout setting for this request. If one
|
|
718
999
|
number provided, it will be total request
|
|
@@ -736,7 +1017,7 @@ class WorkflowApi:
|
|
|
736
1017
|
:return: Returns the result object.
|
|
737
1018
|
""" # noqa: E501
|
|
738
1019
|
|
|
739
|
-
_param = self.
|
|
1020
|
+
_param = self._workflow_workflow_id_progress_get_serialize(
|
|
740
1021
|
workflow_id=workflow_id,
|
|
741
1022
|
_request_auth=_request_auth,
|
|
742
1023
|
_content_type=_content_type,
|
|
@@ -754,7 +1035,7 @@ class WorkflowApi:
|
|
|
754
1035
|
return response_data.response
|
|
755
1036
|
|
|
756
1037
|
|
|
757
|
-
def
|
|
1038
|
+
def _workflow_workflow_id_progress_get_serialize(
|
|
758
1039
|
self,
|
|
759
1040
|
workflow_id,
|
|
760
1041
|
_request_auth,
|
|
@@ -778,11 +1059,9 @@ class WorkflowApi:
|
|
|
778
1059
|
_body_params: Optional[bytes] = None
|
|
779
1060
|
|
|
780
1061
|
# process the path parameters
|
|
781
|
-
# process the query parameters
|
|
782
1062
|
if workflow_id is not None:
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
1063
|
+
_path_params['workflowId'] = workflow_id
|
|
1064
|
+
# process the query parameters
|
|
786
1065
|
# process the header parameters
|
|
787
1066
|
# process the form parameters
|
|
788
1067
|
# process the body parameter
|
|
@@ -801,13 +1080,14 @@ class WorkflowApi:
|
|
|
801
1080
|
|
|
802
1081
|
# authentication setting
|
|
803
1082
|
_auth_settings: List[str] = [
|
|
804
|
-
'
|
|
805
|
-
'
|
|
1083
|
+
'OAuth2',
|
|
1084
|
+
'OpenIdConnect',
|
|
1085
|
+
'Bearer'
|
|
806
1086
|
]
|
|
807
1087
|
|
|
808
1088
|
return self.api_client.param_serialize(
|
|
809
1089
|
method='GET',
|
|
810
|
-
resource_path='/
|
|
1090
|
+
resource_path='/workflow/{workflowId}/progress',
|
|
811
1091
|
path_params=_path_params,
|
|
812
1092
|
query_params=_query_params,
|
|
813
1093
|
header_params=_header_params,
|
|
@@ -824,9 +1104,11 @@ class WorkflowApi:
|
|
|
824
1104
|
|
|
825
1105
|
|
|
826
1106
|
@validate_call
|
|
827
|
-
def
|
|
1107
|
+
def workflow_workflow_id_responses_get(
|
|
828
1108
|
self,
|
|
829
|
-
workflow_id: Annotated[
|
|
1109
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the responses for.")],
|
|
1110
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of responses to get.")] = None,
|
|
1111
|
+
sort: Annotated[Optional[SortDirection], Field(description="Whether the oldest or most recent responses should be returned.")] = None,
|
|
830
1112
|
_request_timeout: Union[
|
|
831
1113
|
None,
|
|
832
1114
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -839,12 +1121,16 @@ class WorkflowApi:
|
|
|
839
1121
|
_content_type: Optional[StrictStr] = None,
|
|
840
1122
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
841
1123
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
842
|
-
) ->
|
|
843
|
-
"""
|
|
1124
|
+
) -> GetResponsesResult:
|
|
1125
|
+
"""Gets the limit most recent or oldest responses for a workflow. The responses are not guaranteed to be of any specific rapid. Instead, this endpoint returns all responses to any rapid in the workflow.
|
|
844
1126
|
|
|
845
1127
|
|
|
846
|
-
:param workflow_id: The ID of the workflow to get the
|
|
1128
|
+
:param workflow_id: The ID of the workflow to get the responses for. (required)
|
|
847
1129
|
:type workflow_id: str
|
|
1130
|
+
:param limit: The number of responses to get.
|
|
1131
|
+
:type limit: int
|
|
1132
|
+
:param sort: Whether the oldest or most recent responses should be returned.
|
|
1133
|
+
:type sort: SortDirection
|
|
848
1134
|
:param _request_timeout: timeout setting for this request. If one
|
|
849
1135
|
number provided, it will be total request
|
|
850
1136
|
timeout. It can also be a pair (tuple) of
|
|
@@ -867,8 +1153,10 @@ class WorkflowApi:
|
|
|
867
1153
|
:return: Returns the result object.
|
|
868
1154
|
""" # noqa: E501
|
|
869
1155
|
|
|
870
|
-
_param = self.
|
|
1156
|
+
_param = self._workflow_workflow_id_responses_get_serialize(
|
|
871
1157
|
workflow_id=workflow_id,
|
|
1158
|
+
limit=limit,
|
|
1159
|
+
sort=sort,
|
|
872
1160
|
_request_auth=_request_auth,
|
|
873
1161
|
_content_type=_content_type,
|
|
874
1162
|
_headers=_headers,
|
|
@@ -876,7 +1164,7 @@ class WorkflowApi:
|
|
|
876
1164
|
)
|
|
877
1165
|
|
|
878
1166
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
879
|
-
'200': "
|
|
1167
|
+
'200': "GetResponsesResult",
|
|
880
1168
|
}
|
|
881
1169
|
response_data = self.api_client.call_api(
|
|
882
1170
|
*_param,
|
|
@@ -890,9 +1178,11 @@ class WorkflowApi:
|
|
|
890
1178
|
|
|
891
1179
|
|
|
892
1180
|
@validate_call
|
|
893
|
-
def
|
|
1181
|
+
def workflow_workflow_id_responses_get_with_http_info(
|
|
894
1182
|
self,
|
|
895
|
-
workflow_id: Annotated[
|
|
1183
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the responses for.")],
|
|
1184
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of responses to get.")] = None,
|
|
1185
|
+
sort: Annotated[Optional[SortDirection], Field(description="Whether the oldest or most recent responses should be returned.")] = None,
|
|
896
1186
|
_request_timeout: Union[
|
|
897
1187
|
None,
|
|
898
1188
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -905,12 +1195,16 @@ class WorkflowApi:
|
|
|
905
1195
|
_content_type: Optional[StrictStr] = None,
|
|
906
1196
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
907
1197
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
908
|
-
) -> ApiResponse[
|
|
909
|
-
"""
|
|
1198
|
+
) -> ApiResponse[GetResponsesResult]:
|
|
1199
|
+
"""Gets the limit most recent or oldest responses for a workflow. The responses are not guaranteed to be of any specific rapid. Instead, this endpoint returns all responses to any rapid in the workflow.
|
|
910
1200
|
|
|
911
1201
|
|
|
912
|
-
:param workflow_id: The ID of the workflow to get the
|
|
1202
|
+
:param workflow_id: The ID of the workflow to get the responses for. (required)
|
|
913
1203
|
:type workflow_id: str
|
|
1204
|
+
:param limit: The number of responses to get.
|
|
1205
|
+
:type limit: int
|
|
1206
|
+
:param sort: Whether the oldest or most recent responses should be returned.
|
|
1207
|
+
:type sort: SortDirection
|
|
914
1208
|
:param _request_timeout: timeout setting for this request. If one
|
|
915
1209
|
number provided, it will be total request
|
|
916
1210
|
timeout. It can also be a pair (tuple) of
|
|
@@ -933,8 +1227,10 @@ class WorkflowApi:
|
|
|
933
1227
|
:return: Returns the result object.
|
|
934
1228
|
""" # noqa: E501
|
|
935
1229
|
|
|
936
|
-
_param = self.
|
|
1230
|
+
_param = self._workflow_workflow_id_responses_get_serialize(
|
|
937
1231
|
workflow_id=workflow_id,
|
|
1232
|
+
limit=limit,
|
|
1233
|
+
sort=sort,
|
|
938
1234
|
_request_auth=_request_auth,
|
|
939
1235
|
_content_type=_content_type,
|
|
940
1236
|
_headers=_headers,
|
|
@@ -942,7 +1238,7 @@ class WorkflowApi:
|
|
|
942
1238
|
)
|
|
943
1239
|
|
|
944
1240
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
945
|
-
'200': "
|
|
1241
|
+
'200': "GetResponsesResult",
|
|
946
1242
|
}
|
|
947
1243
|
response_data = self.api_client.call_api(
|
|
948
1244
|
*_param,
|
|
@@ -956,9 +1252,11 @@ class WorkflowApi:
|
|
|
956
1252
|
|
|
957
1253
|
|
|
958
1254
|
@validate_call
|
|
959
|
-
def
|
|
1255
|
+
def workflow_workflow_id_responses_get_without_preload_content(
|
|
960
1256
|
self,
|
|
961
|
-
workflow_id: Annotated[
|
|
1257
|
+
workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the responses for.")],
|
|
1258
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of responses to get.")] = None,
|
|
1259
|
+
sort: Annotated[Optional[SortDirection], Field(description="Whether the oldest or most recent responses should be returned.")] = None,
|
|
962
1260
|
_request_timeout: Union[
|
|
963
1261
|
None,
|
|
964
1262
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -972,11 +1270,15 @@ class WorkflowApi:
|
|
|
972
1270
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
973
1271
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
974
1272
|
) -> RESTResponseType:
|
|
975
|
-
"""
|
|
1273
|
+
"""Gets the limit most recent or oldest responses for a workflow. The responses are not guaranteed to be of any specific rapid. Instead, this endpoint returns all responses to any rapid in the workflow.
|
|
976
1274
|
|
|
977
1275
|
|
|
978
|
-
:param workflow_id: The ID of the workflow to get the
|
|
1276
|
+
:param workflow_id: The ID of the workflow to get the responses for. (required)
|
|
979
1277
|
:type workflow_id: str
|
|
1278
|
+
:param limit: The number of responses to get.
|
|
1279
|
+
:type limit: int
|
|
1280
|
+
:param sort: Whether the oldest or most recent responses should be returned.
|
|
1281
|
+
:type sort: SortDirection
|
|
980
1282
|
:param _request_timeout: timeout setting for this request. If one
|
|
981
1283
|
number provided, it will be total request
|
|
982
1284
|
timeout. It can also be a pair (tuple) of
|
|
@@ -999,8 +1301,10 @@ class WorkflowApi:
|
|
|
999
1301
|
:return: Returns the result object.
|
|
1000
1302
|
""" # noqa: E501
|
|
1001
1303
|
|
|
1002
|
-
_param = self.
|
|
1304
|
+
_param = self._workflow_workflow_id_responses_get_serialize(
|
|
1003
1305
|
workflow_id=workflow_id,
|
|
1306
|
+
limit=limit,
|
|
1307
|
+
sort=sort,
|
|
1004
1308
|
_request_auth=_request_auth,
|
|
1005
1309
|
_content_type=_content_type,
|
|
1006
1310
|
_headers=_headers,
|
|
@@ -1008,7 +1312,7 @@ class WorkflowApi:
|
|
|
1008
1312
|
)
|
|
1009
1313
|
|
|
1010
1314
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1011
|
-
'200': "
|
|
1315
|
+
'200': "GetResponsesResult",
|
|
1012
1316
|
}
|
|
1013
1317
|
response_data = self.api_client.call_api(
|
|
1014
1318
|
*_param,
|
|
@@ -1017,9 +1321,11 @@ class WorkflowApi:
|
|
|
1017
1321
|
return response_data.response
|
|
1018
1322
|
|
|
1019
1323
|
|
|
1020
|
-
def
|
|
1324
|
+
def _workflow_workflow_id_responses_get_serialize(
|
|
1021
1325
|
self,
|
|
1022
1326
|
workflow_id,
|
|
1327
|
+
limit,
|
|
1328
|
+
sort,
|
|
1023
1329
|
_request_auth,
|
|
1024
1330
|
_content_type,
|
|
1025
1331
|
_headers,
|
|
@@ -1041,10 +1347,16 @@ class WorkflowApi:
|
|
|
1041
1347
|
_body_params: Optional[bytes] = None
|
|
1042
1348
|
|
|
1043
1349
|
# process the path parameters
|
|
1044
|
-
# process the query parameters
|
|
1045
1350
|
if workflow_id is not None:
|
|
1351
|
+
_path_params['workflowId'] = workflow_id
|
|
1352
|
+
# process the query parameters
|
|
1353
|
+
if limit is not None:
|
|
1354
|
+
|
|
1355
|
+
_query_params.append(('limit', limit))
|
|
1356
|
+
|
|
1357
|
+
if sort is not None:
|
|
1046
1358
|
|
|
1047
|
-
_query_params.append(('
|
|
1359
|
+
_query_params.append(('sort', sort.value))
|
|
1048
1360
|
|
|
1049
1361
|
# process the header parameters
|
|
1050
1362
|
# process the form parameters
|
|
@@ -1064,13 +1376,14 @@ class WorkflowApi:
|
|
|
1064
1376
|
|
|
1065
1377
|
# authentication setting
|
|
1066
1378
|
_auth_settings: List[str] = [
|
|
1067
|
-
'
|
|
1068
|
-
'
|
|
1379
|
+
'OAuth2',
|
|
1380
|
+
'OpenIdConnect',
|
|
1381
|
+
'Bearer'
|
|
1069
1382
|
]
|
|
1070
1383
|
|
|
1071
1384
|
return self.api_client.param_serialize(
|
|
1072
1385
|
method='GET',
|
|
1073
|
-
resource_path='/
|
|
1386
|
+
resource_path='/workflow/{workflowId}/responses',
|
|
1074
1387
|
path_params=_path_params,
|
|
1075
1388
|
query_params=_query_params,
|
|
1076
1389
|
header_params=_header_params,
|
|
@@ -1087,9 +1400,9 @@ class WorkflowApi:
|
|
|
1087
1400
|
|
|
1088
1401
|
|
|
1089
1402
|
@validate_call
|
|
1090
|
-
def
|
|
1403
|
+
def workflows_get(
|
|
1091
1404
|
self,
|
|
1092
|
-
request: Annotated[Optional[
|
|
1405
|
+
request: Annotated[Optional[QueryModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
1093
1406
|
_request_timeout: Union[
|
|
1094
1407
|
None,
|
|
1095
1408
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1102,12 +1415,12 @@ class WorkflowApi:
|
|
|
1102
1415
|
_content_type: Optional[StrictStr] = None,
|
|
1103
1416
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1104
1417
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1105
|
-
) ->
|
|
1418
|
+
) -> PagedResultOfIWorkflowModel:
|
|
1106
1419
|
"""Queries workflows based on the provided filter, page, and sort criteria.
|
|
1107
1420
|
|
|
1108
1421
|
|
|
1109
1422
|
:param request: The model containing the filter, page, and sort criteria.
|
|
1110
|
-
:type request:
|
|
1423
|
+
:type request: QueryModel
|
|
1111
1424
|
:param _request_timeout: timeout setting for this request. If one
|
|
1112
1425
|
number provided, it will be total request
|
|
1113
1426
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1130,7 +1443,7 @@ class WorkflowApi:
|
|
|
1130
1443
|
:return: Returns the result object.
|
|
1131
1444
|
""" # noqa: E501
|
|
1132
1445
|
|
|
1133
|
-
_param = self.
|
|
1446
|
+
_param = self._workflows_get_serialize(
|
|
1134
1447
|
request=request,
|
|
1135
1448
|
_request_auth=_request_auth,
|
|
1136
1449
|
_content_type=_content_type,
|
|
@@ -1139,7 +1452,7 @@ class WorkflowApi:
|
|
|
1139
1452
|
)
|
|
1140
1453
|
|
|
1141
1454
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1142
|
-
'200': "
|
|
1455
|
+
'200': "PagedResultOfIWorkflowModel",
|
|
1143
1456
|
}
|
|
1144
1457
|
response_data = self.api_client.call_api(
|
|
1145
1458
|
*_param,
|
|
@@ -1153,9 +1466,9 @@ class WorkflowApi:
|
|
|
1153
1466
|
|
|
1154
1467
|
|
|
1155
1468
|
@validate_call
|
|
1156
|
-
def
|
|
1469
|
+
def workflows_get_with_http_info(
|
|
1157
1470
|
self,
|
|
1158
|
-
request: Annotated[Optional[
|
|
1471
|
+
request: Annotated[Optional[QueryModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
1159
1472
|
_request_timeout: Union[
|
|
1160
1473
|
None,
|
|
1161
1474
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1168,12 +1481,12 @@ class WorkflowApi:
|
|
|
1168
1481
|
_content_type: Optional[StrictStr] = None,
|
|
1169
1482
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1170
1483
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1171
|
-
) -> ApiResponse[
|
|
1484
|
+
) -> ApiResponse[PagedResultOfIWorkflowModel]:
|
|
1172
1485
|
"""Queries workflows based on the provided filter, page, and sort criteria.
|
|
1173
1486
|
|
|
1174
1487
|
|
|
1175
1488
|
:param request: The model containing the filter, page, and sort criteria.
|
|
1176
|
-
:type request:
|
|
1489
|
+
:type request: QueryModel
|
|
1177
1490
|
:param _request_timeout: timeout setting for this request. If one
|
|
1178
1491
|
number provided, it will be total request
|
|
1179
1492
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1196,7 +1509,7 @@ class WorkflowApi:
|
|
|
1196
1509
|
:return: Returns the result object.
|
|
1197
1510
|
""" # noqa: E501
|
|
1198
1511
|
|
|
1199
|
-
_param = self.
|
|
1512
|
+
_param = self._workflows_get_serialize(
|
|
1200
1513
|
request=request,
|
|
1201
1514
|
_request_auth=_request_auth,
|
|
1202
1515
|
_content_type=_content_type,
|
|
@@ -1205,7 +1518,7 @@ class WorkflowApi:
|
|
|
1205
1518
|
)
|
|
1206
1519
|
|
|
1207
1520
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1208
|
-
'200': "
|
|
1521
|
+
'200': "PagedResultOfIWorkflowModel",
|
|
1209
1522
|
}
|
|
1210
1523
|
response_data = self.api_client.call_api(
|
|
1211
1524
|
*_param,
|
|
@@ -1219,9 +1532,9 @@ class WorkflowApi:
|
|
|
1219
1532
|
|
|
1220
1533
|
|
|
1221
1534
|
@validate_call
|
|
1222
|
-
def
|
|
1535
|
+
def workflows_get_without_preload_content(
|
|
1223
1536
|
self,
|
|
1224
|
-
request: Annotated[Optional[
|
|
1537
|
+
request: Annotated[Optional[QueryModel], Field(description="The model containing the filter, page, and sort criteria.")] = None,
|
|
1225
1538
|
_request_timeout: Union[
|
|
1226
1539
|
None,
|
|
1227
1540
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1239,7 +1552,7 @@ class WorkflowApi:
|
|
|
1239
1552
|
|
|
1240
1553
|
|
|
1241
1554
|
:param request: The model containing the filter, page, and sort criteria.
|
|
1242
|
-
:type request:
|
|
1555
|
+
:type request: QueryModel
|
|
1243
1556
|
:param _request_timeout: timeout setting for this request. If one
|
|
1244
1557
|
number provided, it will be total request
|
|
1245
1558
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1262,7 +1575,7 @@ class WorkflowApi:
|
|
|
1262
1575
|
:return: Returns the result object.
|
|
1263
1576
|
""" # noqa: E501
|
|
1264
1577
|
|
|
1265
|
-
_param = self.
|
|
1578
|
+
_param = self._workflows_get_serialize(
|
|
1266
1579
|
request=request,
|
|
1267
1580
|
_request_auth=_request_auth,
|
|
1268
1581
|
_content_type=_content_type,
|
|
@@ -1271,7 +1584,7 @@ class WorkflowApi:
|
|
|
1271
1584
|
)
|
|
1272
1585
|
|
|
1273
1586
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1274
|
-
'200': "
|
|
1587
|
+
'200': "PagedResultOfIWorkflowModel",
|
|
1275
1588
|
}
|
|
1276
1589
|
response_data = self.api_client.call_api(
|
|
1277
1590
|
*_param,
|
|
@@ -1280,7 +1593,7 @@ class WorkflowApi:
|
|
|
1280
1593
|
return response_data.response
|
|
1281
1594
|
|
|
1282
1595
|
|
|
1283
|
-
def
|
|
1596
|
+
def _workflows_get_serialize(
|
|
1284
1597
|
self,
|
|
1285
1598
|
request,
|
|
1286
1599
|
_request_auth,
|
|
@@ -1327,13 +1640,14 @@ class WorkflowApi:
|
|
|
1327
1640
|
|
|
1328
1641
|
# authentication setting
|
|
1329
1642
|
_auth_settings: List[str] = [
|
|
1330
|
-
'
|
|
1331
|
-
'
|
|
1643
|
+
'OAuth2',
|
|
1644
|
+
'OpenIdConnect',
|
|
1645
|
+
'Bearer'
|
|
1332
1646
|
]
|
|
1333
1647
|
|
|
1334
1648
|
return self.api_client.param_serialize(
|
|
1335
1649
|
method='GET',
|
|
1336
|
-
resource_path='/
|
|
1650
|
+
resource_path='/workflows',
|
|
1337
1651
|
path_params=_path_params,
|
|
1338
1652
|
query_params=_query_params,
|
|
1339
1653
|
header_params=_header_params,
|