rapidata 2.28.2__py3-none-any.whl → 2.44.3__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.
- rapidata/__init__.py +11 -10
- rapidata/api_client/__init__.py +83 -355
- rapidata/api_client/api/__init__.py +8 -2
- 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 +222 -444
- rapidata/api_client/api/client_api.py +38 -33
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +644 -72
- rapidata/api_client/api/datapoint_api.py +8 -530
- rapidata/api_client/api/dataset_api.py +228 -3469
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/leaderboard_api.py +356 -312
- rapidata/api_client/api/newsletter_api.py +20 -19
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +11 -10
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +35 -31
- rapidata/api_client/api/validation_set_api.py +510 -3659
- rapidata/api_client/api/workflow_api.py +32 -825
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -332
- rapidata/api_client/models/ab_test_selection_a_inner.py +1 -1
- rapidata/api_client/models/add_campaign_model.py +3 -3
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +55 -24
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_truth.py +7 -1
- 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 +1 -3
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +4 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +11 -9
- rapidata/api_client/models/asset_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/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 +7 -10
- 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/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 +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +25 -35
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +31 -17
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +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 +2 -2
- rapidata/api_client/models/create_datapoint_from_files_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_urls_model.py +3 -3
- 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 +6 -18
- 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 +59 -10
- rapidata/api_client/models/create_leaderboard_result.py +17 -5
- rapidata/api_client/models/create_order_model.py +30 -101
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +5 -5
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +21 -36
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +2 -11
- rapidata/api_client/models/elo_config.py +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/existing_asset_input.py +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 +3 -5
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model_metadata_value.py +25 -81
- 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_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +50 -6
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +9 -20
- rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +6 -12
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +5 -5
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +32 -41
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_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/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/json_web_key.py +2 -36
- rapidata/api_client/models/json_web_key_set.py +2 -22
- rapidata/api_client/models/labeling_selection.py +11 -13
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +46 -4
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +12 -1
- rapidata/api_client/models/logic_operator.py +2 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/multi_asset.py +6 -6
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +3 -3
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +3 -5
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_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 +19 -8
- rapidata/api_client/models/participant_status.py +4 -5
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +6 -8
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +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/rapid_issue.py +2 -2
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +33 -49
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +2 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +12 -1
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +3 -2
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +12 -1
- 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 +3 -5
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_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 +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +5 -5
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +28 -10
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -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/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +12 -1
- 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 +16 -9
- rapidata/api_client_README.md +373 -336
- rapidata/rapidata_client/__init__.py +9 -18
- 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 +147 -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/{metadata → datapoints/metadata}/__init__.py +1 -0
- 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/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +1 -0
- rapidata/rapidata_client/filter/_base_filter.py +27 -6
- rapidata/rapidata_client/filter/age_filter.py +21 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +18 -10
- rapidata/rapidata_client/filter/country_filter.py +34 -12
- rapidata/rapidata_client/filter/custom_filter.py +22 -12
- rapidata/rapidata_client/filter/gender_filter.py +22 -10
- rapidata/rapidata_client/filter/language_filter.py +39 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +11 -4
- rapidata/rapidata_client/filter/not_filter.py +23 -11
- rapidata/rapidata_client/filter/or_filter.py +23 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +19 -13
- rapidata/rapidata_client/filter/response_count_filter.py +36 -20
- rapidata/rapidata_client/filter/user_score_filter.py +47 -24
- rapidata/rapidata_client/order/_rapidata_order_builder.py +289 -154
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +316 -163
- rapidata/rapidata_client/order/rapidata_order_manager.py +688 -430
- rapidata/rapidata_client/order/rapidata_results.py +86 -63
- rapidata/rapidata_client/rapidata_client.py +98 -36
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +7 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +20 -11
- rapidata/rapidata_client/referee/_naive_referee.py +18 -3
- rapidata/rapidata_client/selection/__init__.py +2 -2
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +40 -10
- rapidata/rapidata_client/selection/labeling_selection.py +34 -11
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +7 -4
- rapidata/rapidata_client/selection/rapidata_selections.py +17 -8
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +19 -8
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +2 -0
- rapidata/rapidata_client/settings/_rapidata_setting.py +15 -2
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +3 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +16 -3
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +28 -103
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +315 -208
- rapidata/rapidata_client/validation/validation_set_manager.py +511 -274
- rapidata/rapidata_client/workflow/__init__.py +2 -1
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +109 -25
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +14 -14
- rapidata/service/openapi_service.py +79 -24
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.3.dist-info/METADATA +32 -0
- rapidata-2.44.3.dist-info/RECORD +1014 -0
- {rapidata-2.28.2.dist-info → rapidata-2.44.3.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -61
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard.py +0 -127
- rapidata/rapidata_client/leaderboard/rapidata_leaderboard_manager.py +0 -92
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -122
- rapidata/rapidata_client/logging/output_manager.py +0 -20
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +0 -15
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -461
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.28.2.dist-info/METADATA +0 -35
- rapidata-2.28.2.dist-info/RECORD +0 -574
- /rapidata/rapidata_client/{leaderboard → benchmark}/__init__.py +0 -0
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.28.2.dist-info → rapidata-2.44.3.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,19 +16,20 @@ 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
|
|
20
|
-
from typing import Optional
|
|
19
|
+
from pydantic import Field, StrictBool, StrictStr
|
|
20
|
+
from typing import List, Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
+
from rapidata.api_client.models.boost_leaderboard_model import BoostLeaderboardModel
|
|
22
23
|
from rapidata.api_client.models.create_leaderboard_model import CreateLeaderboardModel
|
|
23
|
-
from rapidata.api_client.models.create_leaderboard_participant_model import CreateLeaderboardParticipantModel
|
|
24
|
-
from rapidata.api_client.models.create_leaderboard_participant_result import CreateLeaderboardParticipantResult
|
|
25
24
|
from rapidata.api_client.models.create_leaderboard_result import CreateLeaderboardResult
|
|
26
25
|
from rapidata.api_client.models.get_leaderboard_by_id_result import GetLeaderboardByIdResult
|
|
27
|
-
from rapidata.api_client.models.
|
|
28
|
-
from rapidata.api_client.models.
|
|
29
|
-
from rapidata.api_client.models.
|
|
30
|
-
from rapidata.api_client.models.prompt_by_leaderboard_result_paged_result import PromptByLeaderboardResultPagedResult
|
|
26
|
+
from rapidata.api_client.models.get_standing_by_id_result import GetStandingByIdResult
|
|
27
|
+
from rapidata.api_client.models.paged_result_of_leaderboards_query_result import PagedResultOfLeaderboardsQueryResult
|
|
28
|
+
from rapidata.api_client.models.paged_result_of_runs_by_leaderboard_result import PagedResultOfRunsByLeaderboardResult
|
|
31
29
|
from rapidata.api_client.models.query_model import QueryModel
|
|
30
|
+
from rapidata.api_client.models.standings_by_leaderboard_result import StandingsByLeaderboardResult
|
|
31
|
+
from rapidata.api_client.models.submit_participant_result import SubmitParticipantResult
|
|
32
|
+
from rapidata.api_client.models.update_leaderboard_model import UpdateLeaderboardModel
|
|
32
33
|
|
|
33
34
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
34
35
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -49,9 +50,10 @@ class LeaderboardApi:
|
|
|
49
50
|
|
|
50
51
|
|
|
51
52
|
@validate_call
|
|
52
|
-
def
|
|
53
|
+
def benchmark_standing_leaderboard_id_participant_id_get(
|
|
53
54
|
self,
|
|
54
55
|
leaderboard_id: StrictStr,
|
|
56
|
+
participant_id: StrictStr,
|
|
55
57
|
_request_timeout: Union[
|
|
56
58
|
None,
|
|
57
59
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -64,12 +66,14 @@ class LeaderboardApi:
|
|
|
64
66
|
_content_type: Optional[StrictStr] = None,
|
|
65
67
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
66
68
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
67
|
-
) ->
|
|
68
|
-
"""Gets a
|
|
69
|
+
) -> GetStandingByIdResult:
|
|
70
|
+
"""Gets a standing by leaderboardId and participantId.
|
|
69
71
|
|
|
70
72
|
|
|
71
73
|
:param leaderboard_id: (required)
|
|
72
74
|
:type leaderboard_id: str
|
|
75
|
+
:param participant_id: (required)
|
|
76
|
+
:type participant_id: str
|
|
73
77
|
:param _request_timeout: timeout setting for this request. If one
|
|
74
78
|
number provided, it will be total request
|
|
75
79
|
timeout. It can also be a pair (tuple) of
|
|
@@ -92,8 +96,9 @@ class LeaderboardApi:
|
|
|
92
96
|
:return: Returns the result object.
|
|
93
97
|
""" # noqa: E501
|
|
94
98
|
|
|
95
|
-
_param = self.
|
|
99
|
+
_param = self._benchmark_standing_leaderboard_id_participant_id_get_serialize(
|
|
96
100
|
leaderboard_id=leaderboard_id,
|
|
101
|
+
participant_id=participant_id,
|
|
97
102
|
_request_auth=_request_auth,
|
|
98
103
|
_content_type=_content_type,
|
|
99
104
|
_headers=_headers,
|
|
@@ -101,7 +106,7 @@ class LeaderboardApi:
|
|
|
101
106
|
)
|
|
102
107
|
|
|
103
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
104
|
-
'200': "
|
|
109
|
+
'200': "GetStandingByIdResult",
|
|
105
110
|
}
|
|
106
111
|
response_data = self.api_client.call_api(
|
|
107
112
|
*_param,
|
|
@@ -115,9 +120,10 @@ class LeaderboardApi:
|
|
|
115
120
|
|
|
116
121
|
|
|
117
122
|
@validate_call
|
|
118
|
-
def
|
|
123
|
+
def benchmark_standing_leaderboard_id_participant_id_get_with_http_info(
|
|
119
124
|
self,
|
|
120
125
|
leaderboard_id: StrictStr,
|
|
126
|
+
participant_id: StrictStr,
|
|
121
127
|
_request_timeout: Union[
|
|
122
128
|
None,
|
|
123
129
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -130,12 +136,14 @@ class LeaderboardApi:
|
|
|
130
136
|
_content_type: Optional[StrictStr] = None,
|
|
131
137
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
132
138
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
133
|
-
) -> ApiResponse[
|
|
134
|
-
"""Gets a
|
|
139
|
+
) -> ApiResponse[GetStandingByIdResult]:
|
|
140
|
+
"""Gets a standing by leaderboardId and participantId.
|
|
135
141
|
|
|
136
142
|
|
|
137
143
|
:param leaderboard_id: (required)
|
|
138
144
|
:type leaderboard_id: str
|
|
145
|
+
:param participant_id: (required)
|
|
146
|
+
:type participant_id: str
|
|
139
147
|
:param _request_timeout: timeout setting for this request. If one
|
|
140
148
|
number provided, it will be total request
|
|
141
149
|
timeout. It can also be a pair (tuple) of
|
|
@@ -158,8 +166,9 @@ class LeaderboardApi:
|
|
|
158
166
|
:return: Returns the result object.
|
|
159
167
|
""" # noqa: E501
|
|
160
168
|
|
|
161
|
-
_param = self.
|
|
169
|
+
_param = self._benchmark_standing_leaderboard_id_participant_id_get_serialize(
|
|
162
170
|
leaderboard_id=leaderboard_id,
|
|
171
|
+
participant_id=participant_id,
|
|
163
172
|
_request_auth=_request_auth,
|
|
164
173
|
_content_type=_content_type,
|
|
165
174
|
_headers=_headers,
|
|
@@ -167,7 +176,7 @@ class LeaderboardApi:
|
|
|
167
176
|
)
|
|
168
177
|
|
|
169
178
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
170
|
-
'200': "
|
|
179
|
+
'200': "GetStandingByIdResult",
|
|
171
180
|
}
|
|
172
181
|
response_data = self.api_client.call_api(
|
|
173
182
|
*_param,
|
|
@@ -181,9 +190,10 @@ class LeaderboardApi:
|
|
|
181
190
|
|
|
182
191
|
|
|
183
192
|
@validate_call
|
|
184
|
-
def
|
|
193
|
+
def benchmark_standing_leaderboard_id_participant_id_get_without_preload_content(
|
|
185
194
|
self,
|
|
186
195
|
leaderboard_id: StrictStr,
|
|
196
|
+
participant_id: StrictStr,
|
|
187
197
|
_request_timeout: Union[
|
|
188
198
|
None,
|
|
189
199
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -197,11 +207,13 @@ class LeaderboardApi:
|
|
|
197
207
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
198
208
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
199
209
|
) -> RESTResponseType:
|
|
200
|
-
"""Gets a
|
|
210
|
+
"""Gets a standing by leaderboardId and participantId.
|
|
201
211
|
|
|
202
212
|
|
|
203
213
|
:param leaderboard_id: (required)
|
|
204
214
|
:type leaderboard_id: str
|
|
215
|
+
:param participant_id: (required)
|
|
216
|
+
:type participant_id: str
|
|
205
217
|
:param _request_timeout: timeout setting for this request. If one
|
|
206
218
|
number provided, it will be total request
|
|
207
219
|
timeout. It can also be a pair (tuple) of
|
|
@@ -224,8 +236,9 @@ class LeaderboardApi:
|
|
|
224
236
|
:return: Returns the result object.
|
|
225
237
|
""" # noqa: E501
|
|
226
238
|
|
|
227
|
-
_param = self.
|
|
239
|
+
_param = self._benchmark_standing_leaderboard_id_participant_id_get_serialize(
|
|
228
240
|
leaderboard_id=leaderboard_id,
|
|
241
|
+
participant_id=participant_id,
|
|
229
242
|
_request_auth=_request_auth,
|
|
230
243
|
_content_type=_content_type,
|
|
231
244
|
_headers=_headers,
|
|
@@ -233,7 +246,7 @@ class LeaderboardApi:
|
|
|
233
246
|
)
|
|
234
247
|
|
|
235
248
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
236
|
-
'200': "
|
|
249
|
+
'200': "GetStandingByIdResult",
|
|
237
250
|
}
|
|
238
251
|
response_data = self.api_client.call_api(
|
|
239
252
|
*_param,
|
|
@@ -242,9 +255,10 @@ class LeaderboardApi:
|
|
|
242
255
|
return response_data.response
|
|
243
256
|
|
|
244
257
|
|
|
245
|
-
def
|
|
258
|
+
def _benchmark_standing_leaderboard_id_participant_id_get_serialize(
|
|
246
259
|
self,
|
|
247
260
|
leaderboard_id,
|
|
261
|
+
participant_id,
|
|
248
262
|
_request_auth,
|
|
249
263
|
_content_type,
|
|
250
264
|
_headers,
|
|
@@ -268,6 +282,8 @@ class LeaderboardApi:
|
|
|
268
282
|
# process the path parameters
|
|
269
283
|
if leaderboard_id is not None:
|
|
270
284
|
_path_params['leaderboardId'] = leaderboard_id
|
|
285
|
+
if participant_id is not None:
|
|
286
|
+
_path_params['participantId'] = participant_id
|
|
271
287
|
# process the query parameters
|
|
272
288
|
# process the header parameters
|
|
273
289
|
# process the form parameters
|
|
@@ -287,13 +303,14 @@ class LeaderboardApi:
|
|
|
287
303
|
|
|
288
304
|
# authentication setting
|
|
289
305
|
_auth_settings: List[str] = [
|
|
290
|
-
'
|
|
291
|
-
'
|
|
306
|
+
'OAuth2',
|
|
307
|
+
'OpenIdConnect',
|
|
308
|
+
'Bearer'
|
|
292
309
|
]
|
|
293
310
|
|
|
294
311
|
return self.api_client.param_serialize(
|
|
295
312
|
method='GET',
|
|
296
|
-
resource_path='/
|
|
313
|
+
resource_path='/benchmark/standing/{leaderboardId}/{participantId}',
|
|
297
314
|
path_params=_path_params,
|
|
298
315
|
query_params=_query_params,
|
|
299
316
|
header_params=_header_params,
|
|
@@ -310,10 +327,10 @@ class LeaderboardApi:
|
|
|
310
327
|
|
|
311
328
|
|
|
312
329
|
@validate_call
|
|
313
|
-
def
|
|
330
|
+
def leaderboard_leaderboard_id_boost_post(
|
|
314
331
|
self,
|
|
315
|
-
leaderboard_id: StrictStr,
|
|
316
|
-
|
|
332
|
+
leaderboard_id: Annotated[StrictStr, Field(description="the leaderboard that should be boosted")],
|
|
333
|
+
boost_leaderboard_model: BoostLeaderboardModel,
|
|
317
334
|
_request_timeout: Union[
|
|
318
335
|
None,
|
|
319
336
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -326,14 +343,14 @@ class LeaderboardApi:
|
|
|
326
343
|
_content_type: Optional[StrictStr] = None,
|
|
327
344
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
328
345
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
329
|
-
) ->
|
|
330
|
-
"""
|
|
346
|
+
) -> SubmitParticipantResult:
|
|
347
|
+
"""Boosts a subset of participants within a leaderboard.
|
|
331
348
|
|
|
332
349
|
|
|
333
|
-
:param leaderboard_id:
|
|
350
|
+
:param leaderboard_id: the leaderboard that should be boosted (required)
|
|
334
351
|
:type leaderboard_id: str
|
|
335
|
-
:param
|
|
336
|
-
:type
|
|
352
|
+
:param boost_leaderboard_model: (required)
|
|
353
|
+
:type boost_leaderboard_model: BoostLeaderboardModel
|
|
337
354
|
:param _request_timeout: timeout setting for this request. If one
|
|
338
355
|
number provided, it will be total request
|
|
339
356
|
timeout. It can also be a pair (tuple) of
|
|
@@ -356,9 +373,9 @@ class LeaderboardApi:
|
|
|
356
373
|
:return: Returns the result object.
|
|
357
374
|
""" # noqa: E501
|
|
358
375
|
|
|
359
|
-
_param = self.
|
|
376
|
+
_param = self._leaderboard_leaderboard_id_boost_post_serialize(
|
|
360
377
|
leaderboard_id=leaderboard_id,
|
|
361
|
-
|
|
378
|
+
boost_leaderboard_model=boost_leaderboard_model,
|
|
362
379
|
_request_auth=_request_auth,
|
|
363
380
|
_content_type=_content_type,
|
|
364
381
|
_headers=_headers,
|
|
@@ -366,7 +383,7 @@ class LeaderboardApi:
|
|
|
366
383
|
)
|
|
367
384
|
|
|
368
385
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
369
|
-
'200': "
|
|
386
|
+
'200': "SubmitParticipantResult",
|
|
370
387
|
}
|
|
371
388
|
response_data = self.api_client.call_api(
|
|
372
389
|
*_param,
|
|
@@ -380,10 +397,10 @@ class LeaderboardApi:
|
|
|
380
397
|
|
|
381
398
|
|
|
382
399
|
@validate_call
|
|
383
|
-
def
|
|
400
|
+
def leaderboard_leaderboard_id_boost_post_with_http_info(
|
|
384
401
|
self,
|
|
385
|
-
leaderboard_id: StrictStr,
|
|
386
|
-
|
|
402
|
+
leaderboard_id: Annotated[StrictStr, Field(description="the leaderboard that should be boosted")],
|
|
403
|
+
boost_leaderboard_model: BoostLeaderboardModel,
|
|
387
404
|
_request_timeout: Union[
|
|
388
405
|
None,
|
|
389
406
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -396,14 +413,14 @@ class LeaderboardApi:
|
|
|
396
413
|
_content_type: Optional[StrictStr] = None,
|
|
397
414
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
398
415
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
399
|
-
) -> ApiResponse[
|
|
400
|
-
"""
|
|
416
|
+
) -> ApiResponse[SubmitParticipantResult]:
|
|
417
|
+
"""Boosts a subset of participants within a leaderboard.
|
|
401
418
|
|
|
402
419
|
|
|
403
|
-
:param leaderboard_id:
|
|
420
|
+
:param leaderboard_id: the leaderboard that should be boosted (required)
|
|
404
421
|
:type leaderboard_id: str
|
|
405
|
-
:param
|
|
406
|
-
:type
|
|
422
|
+
:param boost_leaderboard_model: (required)
|
|
423
|
+
:type boost_leaderboard_model: BoostLeaderboardModel
|
|
407
424
|
:param _request_timeout: timeout setting for this request. If one
|
|
408
425
|
number provided, it will be total request
|
|
409
426
|
timeout. It can also be a pair (tuple) of
|
|
@@ -426,9 +443,9 @@ class LeaderboardApi:
|
|
|
426
443
|
:return: Returns the result object.
|
|
427
444
|
""" # noqa: E501
|
|
428
445
|
|
|
429
|
-
_param = self.
|
|
446
|
+
_param = self._leaderboard_leaderboard_id_boost_post_serialize(
|
|
430
447
|
leaderboard_id=leaderboard_id,
|
|
431
|
-
|
|
448
|
+
boost_leaderboard_model=boost_leaderboard_model,
|
|
432
449
|
_request_auth=_request_auth,
|
|
433
450
|
_content_type=_content_type,
|
|
434
451
|
_headers=_headers,
|
|
@@ -436,7 +453,7 @@ class LeaderboardApi:
|
|
|
436
453
|
)
|
|
437
454
|
|
|
438
455
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
439
|
-
'200': "
|
|
456
|
+
'200': "SubmitParticipantResult",
|
|
440
457
|
}
|
|
441
458
|
response_data = self.api_client.call_api(
|
|
442
459
|
*_param,
|
|
@@ -450,10 +467,10 @@ class LeaderboardApi:
|
|
|
450
467
|
|
|
451
468
|
|
|
452
469
|
@validate_call
|
|
453
|
-
def
|
|
470
|
+
def leaderboard_leaderboard_id_boost_post_without_preload_content(
|
|
454
471
|
self,
|
|
455
|
-
leaderboard_id: StrictStr,
|
|
456
|
-
|
|
472
|
+
leaderboard_id: Annotated[StrictStr, Field(description="the leaderboard that should be boosted")],
|
|
473
|
+
boost_leaderboard_model: BoostLeaderboardModel,
|
|
457
474
|
_request_timeout: Union[
|
|
458
475
|
None,
|
|
459
476
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -467,13 +484,13 @@ class LeaderboardApi:
|
|
|
467
484
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
468
485
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
469
486
|
) -> RESTResponseType:
|
|
470
|
-
"""
|
|
487
|
+
"""Boosts a subset of participants within a leaderboard.
|
|
471
488
|
|
|
472
489
|
|
|
473
|
-
:param leaderboard_id:
|
|
490
|
+
:param leaderboard_id: the leaderboard that should be boosted (required)
|
|
474
491
|
:type leaderboard_id: str
|
|
475
|
-
:param
|
|
476
|
-
:type
|
|
492
|
+
:param boost_leaderboard_model: (required)
|
|
493
|
+
:type boost_leaderboard_model: BoostLeaderboardModel
|
|
477
494
|
:param _request_timeout: timeout setting for this request. If one
|
|
478
495
|
number provided, it will be total request
|
|
479
496
|
timeout. It can also be a pair (tuple) of
|
|
@@ -496,9 +513,9 @@ class LeaderboardApi:
|
|
|
496
513
|
:return: Returns the result object.
|
|
497
514
|
""" # noqa: E501
|
|
498
515
|
|
|
499
|
-
_param = self.
|
|
516
|
+
_param = self._leaderboard_leaderboard_id_boost_post_serialize(
|
|
500
517
|
leaderboard_id=leaderboard_id,
|
|
501
|
-
|
|
518
|
+
boost_leaderboard_model=boost_leaderboard_model,
|
|
502
519
|
_request_auth=_request_auth,
|
|
503
520
|
_content_type=_content_type,
|
|
504
521
|
_headers=_headers,
|
|
@@ -506,7 +523,7 @@ class LeaderboardApi:
|
|
|
506
523
|
)
|
|
507
524
|
|
|
508
525
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
509
|
-
'200': "
|
|
526
|
+
'200': "SubmitParticipantResult",
|
|
510
527
|
}
|
|
511
528
|
response_data = self.api_client.call_api(
|
|
512
529
|
*_param,
|
|
@@ -515,10 +532,10 @@ class LeaderboardApi:
|
|
|
515
532
|
return response_data.response
|
|
516
533
|
|
|
517
534
|
|
|
518
|
-
def
|
|
535
|
+
def _leaderboard_leaderboard_id_boost_post_serialize(
|
|
519
536
|
self,
|
|
520
537
|
leaderboard_id,
|
|
521
|
-
|
|
538
|
+
boost_leaderboard_model,
|
|
522
539
|
_request_auth,
|
|
523
540
|
_content_type,
|
|
524
541
|
_headers,
|
|
@@ -543,13 +560,11 @@ class LeaderboardApi:
|
|
|
543
560
|
if leaderboard_id is not None:
|
|
544
561
|
_path_params['leaderboardId'] = leaderboard_id
|
|
545
562
|
# process the query parameters
|
|
546
|
-
if request is not None:
|
|
547
|
-
|
|
548
|
-
_query_params.append(('request', request))
|
|
549
|
-
|
|
550
563
|
# process the header parameters
|
|
551
564
|
# process the form parameters
|
|
552
565
|
# process the body parameter
|
|
566
|
+
if boost_leaderboard_model is not None:
|
|
567
|
+
_body_params = boost_leaderboard_model
|
|
553
568
|
|
|
554
569
|
|
|
555
570
|
# set the HTTP header `Accept`
|
|
@@ -562,16 +577,32 @@ class LeaderboardApi:
|
|
|
562
577
|
]
|
|
563
578
|
)
|
|
564
579
|
|
|
580
|
+
# set the HTTP header `Content-Type`
|
|
581
|
+
if _content_type:
|
|
582
|
+
_header_params['Content-Type'] = _content_type
|
|
583
|
+
else:
|
|
584
|
+
_default_content_type = (
|
|
585
|
+
self.api_client.select_header_content_type(
|
|
586
|
+
[
|
|
587
|
+
'application/json',
|
|
588
|
+
'text/json',
|
|
589
|
+
'application/*+json'
|
|
590
|
+
]
|
|
591
|
+
)
|
|
592
|
+
)
|
|
593
|
+
if _default_content_type is not None:
|
|
594
|
+
_header_params['Content-Type'] = _default_content_type
|
|
565
595
|
|
|
566
596
|
# authentication setting
|
|
567
597
|
_auth_settings: List[str] = [
|
|
568
|
-
'
|
|
569
|
-
'
|
|
598
|
+
'OAuth2',
|
|
599
|
+
'OpenIdConnect',
|
|
600
|
+
'Bearer'
|
|
570
601
|
]
|
|
571
602
|
|
|
572
603
|
return self.api_client.param_serialize(
|
|
573
|
-
method='
|
|
574
|
-
resource_path='/leaderboard/{leaderboardId}/
|
|
604
|
+
method='POST',
|
|
605
|
+
resource_path='/leaderboard/{leaderboardId}/boost',
|
|
575
606
|
path_params=_path_params,
|
|
576
607
|
query_params=_query_params,
|
|
577
608
|
header_params=_header_params,
|
|
@@ -588,10 +619,9 @@ class LeaderboardApi:
|
|
|
588
619
|
|
|
589
620
|
|
|
590
621
|
@validate_call
|
|
591
|
-
def
|
|
622
|
+
def leaderboard_leaderboard_id_delete(
|
|
592
623
|
self,
|
|
593
|
-
leaderboard_id: StrictStr,
|
|
594
|
-
participant_id: StrictStr,
|
|
624
|
+
leaderboard_id: Annotated[StrictStr, Field(description="The id of the leaderboard that gets deleted")],
|
|
595
625
|
_request_timeout: Union[
|
|
596
626
|
None,
|
|
597
627
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -605,13 +635,11 @@ class LeaderboardApi:
|
|
|
605
635
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
606
636
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
607
637
|
) -> None:
|
|
608
|
-
"""
|
|
638
|
+
"""Deletes a leaderboard by its ID.
|
|
609
639
|
|
|
610
640
|
|
|
611
|
-
:param leaderboard_id:
|
|
641
|
+
:param leaderboard_id: The id of the leaderboard that gets deleted (required)
|
|
612
642
|
:type leaderboard_id: str
|
|
613
|
-
:param participant_id: (required)
|
|
614
|
-
:type participant_id: str
|
|
615
643
|
:param _request_timeout: timeout setting for this request. If one
|
|
616
644
|
number provided, it will be total request
|
|
617
645
|
timeout. It can also be a pair (tuple) of
|
|
@@ -634,9 +662,8 @@ class LeaderboardApi:
|
|
|
634
662
|
:return: Returns the result object.
|
|
635
663
|
""" # noqa: E501
|
|
636
664
|
|
|
637
|
-
_param = self.
|
|
665
|
+
_param = self._leaderboard_leaderboard_id_delete_serialize(
|
|
638
666
|
leaderboard_id=leaderboard_id,
|
|
639
|
-
participant_id=participant_id,
|
|
640
667
|
_request_auth=_request_auth,
|
|
641
668
|
_content_type=_content_type,
|
|
642
669
|
_headers=_headers,
|
|
@@ -658,10 +685,9 @@ class LeaderboardApi:
|
|
|
658
685
|
|
|
659
686
|
|
|
660
687
|
@validate_call
|
|
661
|
-
def
|
|
688
|
+
def leaderboard_leaderboard_id_delete_with_http_info(
|
|
662
689
|
self,
|
|
663
|
-
leaderboard_id: StrictStr,
|
|
664
|
-
participant_id: StrictStr,
|
|
690
|
+
leaderboard_id: Annotated[StrictStr, Field(description="The id of the leaderboard that gets deleted")],
|
|
665
691
|
_request_timeout: Union[
|
|
666
692
|
None,
|
|
667
693
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -675,13 +701,11 @@ class LeaderboardApi:
|
|
|
675
701
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
676
702
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
677
703
|
) -> ApiResponse[None]:
|
|
678
|
-
"""
|
|
704
|
+
"""Deletes a leaderboard by its ID.
|
|
679
705
|
|
|
680
706
|
|
|
681
|
-
:param leaderboard_id:
|
|
707
|
+
:param leaderboard_id: The id of the leaderboard that gets deleted (required)
|
|
682
708
|
:type leaderboard_id: str
|
|
683
|
-
:param participant_id: (required)
|
|
684
|
-
:type participant_id: str
|
|
685
709
|
:param _request_timeout: timeout setting for this request. If one
|
|
686
710
|
number provided, it will be total request
|
|
687
711
|
timeout. It can also be a pair (tuple) of
|
|
@@ -704,9 +728,8 @@ class LeaderboardApi:
|
|
|
704
728
|
:return: Returns the result object.
|
|
705
729
|
""" # noqa: E501
|
|
706
730
|
|
|
707
|
-
_param = self.
|
|
731
|
+
_param = self._leaderboard_leaderboard_id_delete_serialize(
|
|
708
732
|
leaderboard_id=leaderboard_id,
|
|
709
|
-
participant_id=participant_id,
|
|
710
733
|
_request_auth=_request_auth,
|
|
711
734
|
_content_type=_content_type,
|
|
712
735
|
_headers=_headers,
|
|
@@ -728,10 +751,9 @@ class LeaderboardApi:
|
|
|
728
751
|
|
|
729
752
|
|
|
730
753
|
@validate_call
|
|
731
|
-
def
|
|
754
|
+
def leaderboard_leaderboard_id_delete_without_preload_content(
|
|
732
755
|
self,
|
|
733
|
-
leaderboard_id: StrictStr,
|
|
734
|
-
participant_id: StrictStr,
|
|
756
|
+
leaderboard_id: Annotated[StrictStr, Field(description="The id of the leaderboard that gets deleted")],
|
|
735
757
|
_request_timeout: Union[
|
|
736
758
|
None,
|
|
737
759
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -745,13 +767,11 @@ class LeaderboardApi:
|
|
|
745
767
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
746
768
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
747
769
|
) -> RESTResponseType:
|
|
748
|
-
"""
|
|
770
|
+
"""Deletes a leaderboard by its ID.
|
|
749
771
|
|
|
750
772
|
|
|
751
|
-
:param leaderboard_id:
|
|
773
|
+
:param leaderboard_id: The id of the leaderboard that gets deleted (required)
|
|
752
774
|
:type leaderboard_id: str
|
|
753
|
-
:param participant_id: (required)
|
|
754
|
-
:type participant_id: str
|
|
755
775
|
:param _request_timeout: timeout setting for this request. If one
|
|
756
776
|
number provided, it will be total request
|
|
757
777
|
timeout. It can also be a pair (tuple) of
|
|
@@ -774,9 +794,8 @@ class LeaderboardApi:
|
|
|
774
794
|
:return: Returns the result object.
|
|
775
795
|
""" # noqa: E501
|
|
776
796
|
|
|
777
|
-
_param = self.
|
|
797
|
+
_param = self._leaderboard_leaderboard_id_delete_serialize(
|
|
778
798
|
leaderboard_id=leaderboard_id,
|
|
779
|
-
participant_id=participant_id,
|
|
780
799
|
_request_auth=_request_auth,
|
|
781
800
|
_content_type=_content_type,
|
|
782
801
|
_headers=_headers,
|
|
@@ -793,10 +812,9 @@ class LeaderboardApi:
|
|
|
793
812
|
return response_data.response
|
|
794
813
|
|
|
795
814
|
|
|
796
|
-
def
|
|
815
|
+
def _leaderboard_leaderboard_id_delete_serialize(
|
|
797
816
|
self,
|
|
798
817
|
leaderboard_id,
|
|
799
|
-
participant_id,
|
|
800
818
|
_request_auth,
|
|
801
819
|
_content_type,
|
|
802
820
|
_headers,
|
|
@@ -820,8 +838,6 @@ class LeaderboardApi:
|
|
|
820
838
|
# process the path parameters
|
|
821
839
|
if leaderboard_id is not None:
|
|
822
840
|
_path_params['leaderboardId'] = leaderboard_id
|
|
823
|
-
if participant_id is not None:
|
|
824
|
-
_path_params['participantId'] = participant_id
|
|
825
841
|
# process the query parameters
|
|
826
842
|
# process the header parameters
|
|
827
843
|
# process the form parameters
|
|
@@ -832,13 +848,14 @@ class LeaderboardApi:
|
|
|
832
848
|
|
|
833
849
|
# authentication setting
|
|
834
850
|
_auth_settings: List[str] = [
|
|
835
|
-
'
|
|
836
|
-
'
|
|
851
|
+
'OAuth2',
|
|
852
|
+
'OpenIdConnect',
|
|
853
|
+
'Bearer'
|
|
837
854
|
]
|
|
838
855
|
|
|
839
856
|
return self.api_client.param_serialize(
|
|
840
|
-
method='
|
|
841
|
-
resource_path='/leaderboard/{leaderboardId}
|
|
857
|
+
method='DELETE',
|
|
858
|
+
resource_path='/leaderboard/{leaderboardId}',
|
|
842
859
|
path_params=_path_params,
|
|
843
860
|
query_params=_query_params,
|
|
844
861
|
header_params=_header_params,
|
|
@@ -855,10 +872,9 @@ class LeaderboardApi:
|
|
|
855
872
|
|
|
856
873
|
|
|
857
874
|
@validate_call
|
|
858
|
-
def
|
|
875
|
+
def leaderboard_leaderboard_id_get(
|
|
859
876
|
self,
|
|
860
877
|
leaderboard_id: StrictStr,
|
|
861
|
-
create_leaderboard_participant_model: Optional[CreateLeaderboardParticipantModel] = None,
|
|
862
878
|
_request_timeout: Union[
|
|
863
879
|
None,
|
|
864
880
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -871,14 +887,12 @@ class LeaderboardApi:
|
|
|
871
887
|
_content_type: Optional[StrictStr] = None,
|
|
872
888
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
873
889
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
874
|
-
) ->
|
|
875
|
-
"""
|
|
890
|
+
) -> GetLeaderboardByIdResult:
|
|
891
|
+
"""Gets a leaderboard by its ID.
|
|
876
892
|
|
|
877
893
|
|
|
878
894
|
:param leaderboard_id: (required)
|
|
879
895
|
:type leaderboard_id: str
|
|
880
|
-
:param create_leaderboard_participant_model:
|
|
881
|
-
:type create_leaderboard_participant_model: CreateLeaderboardParticipantModel
|
|
882
896
|
:param _request_timeout: timeout setting for this request. If one
|
|
883
897
|
number provided, it will be total request
|
|
884
898
|
timeout. It can also be a pair (tuple) of
|
|
@@ -901,9 +915,8 @@ class LeaderboardApi:
|
|
|
901
915
|
:return: Returns the result object.
|
|
902
916
|
""" # noqa: E501
|
|
903
917
|
|
|
904
|
-
_param = self.
|
|
918
|
+
_param = self._leaderboard_leaderboard_id_get_serialize(
|
|
905
919
|
leaderboard_id=leaderboard_id,
|
|
906
|
-
create_leaderboard_participant_model=create_leaderboard_participant_model,
|
|
907
920
|
_request_auth=_request_auth,
|
|
908
921
|
_content_type=_content_type,
|
|
909
922
|
_headers=_headers,
|
|
@@ -911,7 +924,7 @@ class LeaderboardApi:
|
|
|
911
924
|
)
|
|
912
925
|
|
|
913
926
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
914
|
-
'200': "
|
|
927
|
+
'200': "GetLeaderboardByIdResult",
|
|
915
928
|
}
|
|
916
929
|
response_data = self.api_client.call_api(
|
|
917
930
|
*_param,
|
|
@@ -925,10 +938,9 @@ class LeaderboardApi:
|
|
|
925
938
|
|
|
926
939
|
|
|
927
940
|
@validate_call
|
|
928
|
-
def
|
|
941
|
+
def leaderboard_leaderboard_id_get_with_http_info(
|
|
929
942
|
self,
|
|
930
943
|
leaderboard_id: StrictStr,
|
|
931
|
-
create_leaderboard_participant_model: Optional[CreateLeaderboardParticipantModel] = None,
|
|
932
944
|
_request_timeout: Union[
|
|
933
945
|
None,
|
|
934
946
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -941,14 +953,12 @@ class LeaderboardApi:
|
|
|
941
953
|
_content_type: Optional[StrictStr] = None,
|
|
942
954
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
943
955
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
944
|
-
) -> ApiResponse[
|
|
945
|
-
"""
|
|
956
|
+
) -> ApiResponse[GetLeaderboardByIdResult]:
|
|
957
|
+
"""Gets a leaderboard by its ID.
|
|
946
958
|
|
|
947
959
|
|
|
948
960
|
:param leaderboard_id: (required)
|
|
949
961
|
:type leaderboard_id: str
|
|
950
|
-
:param create_leaderboard_participant_model:
|
|
951
|
-
:type create_leaderboard_participant_model: CreateLeaderboardParticipantModel
|
|
952
962
|
:param _request_timeout: timeout setting for this request. If one
|
|
953
963
|
number provided, it will be total request
|
|
954
964
|
timeout. It can also be a pair (tuple) of
|
|
@@ -971,9 +981,8 @@ class LeaderboardApi:
|
|
|
971
981
|
:return: Returns the result object.
|
|
972
982
|
""" # noqa: E501
|
|
973
983
|
|
|
974
|
-
_param = self.
|
|
984
|
+
_param = self._leaderboard_leaderboard_id_get_serialize(
|
|
975
985
|
leaderboard_id=leaderboard_id,
|
|
976
|
-
create_leaderboard_participant_model=create_leaderboard_participant_model,
|
|
977
986
|
_request_auth=_request_auth,
|
|
978
987
|
_content_type=_content_type,
|
|
979
988
|
_headers=_headers,
|
|
@@ -981,7 +990,7 @@ class LeaderboardApi:
|
|
|
981
990
|
)
|
|
982
991
|
|
|
983
992
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
984
|
-
'200': "
|
|
993
|
+
'200': "GetLeaderboardByIdResult",
|
|
985
994
|
}
|
|
986
995
|
response_data = self.api_client.call_api(
|
|
987
996
|
*_param,
|
|
@@ -995,10 +1004,9 @@ class LeaderboardApi:
|
|
|
995
1004
|
|
|
996
1005
|
|
|
997
1006
|
@validate_call
|
|
998
|
-
def
|
|
1007
|
+
def leaderboard_leaderboard_id_get_without_preload_content(
|
|
999
1008
|
self,
|
|
1000
1009
|
leaderboard_id: StrictStr,
|
|
1001
|
-
create_leaderboard_participant_model: Optional[CreateLeaderboardParticipantModel] = None,
|
|
1002
1010
|
_request_timeout: Union[
|
|
1003
1011
|
None,
|
|
1004
1012
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1012,13 +1020,11 @@ class LeaderboardApi:
|
|
|
1012
1020
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1013
1021
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1014
1022
|
) -> RESTResponseType:
|
|
1015
|
-
"""
|
|
1023
|
+
"""Gets a leaderboard by its ID.
|
|
1016
1024
|
|
|
1017
1025
|
|
|
1018
1026
|
:param leaderboard_id: (required)
|
|
1019
1027
|
:type leaderboard_id: str
|
|
1020
|
-
:param create_leaderboard_participant_model:
|
|
1021
|
-
:type create_leaderboard_participant_model: CreateLeaderboardParticipantModel
|
|
1022
1028
|
:param _request_timeout: timeout setting for this request. If one
|
|
1023
1029
|
number provided, it will be total request
|
|
1024
1030
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1041,9 +1047,8 @@ class LeaderboardApi:
|
|
|
1041
1047
|
:return: Returns the result object.
|
|
1042
1048
|
""" # noqa: E501
|
|
1043
1049
|
|
|
1044
|
-
_param = self.
|
|
1050
|
+
_param = self._leaderboard_leaderboard_id_get_serialize(
|
|
1045
1051
|
leaderboard_id=leaderboard_id,
|
|
1046
|
-
create_leaderboard_participant_model=create_leaderboard_participant_model,
|
|
1047
1052
|
_request_auth=_request_auth,
|
|
1048
1053
|
_content_type=_content_type,
|
|
1049
1054
|
_headers=_headers,
|
|
@@ -1051,7 +1056,7 @@ class LeaderboardApi:
|
|
|
1051
1056
|
)
|
|
1052
1057
|
|
|
1053
1058
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1054
|
-
'200': "
|
|
1059
|
+
'200': "GetLeaderboardByIdResult",
|
|
1055
1060
|
}
|
|
1056
1061
|
response_data = self.api_client.call_api(
|
|
1057
1062
|
*_param,
|
|
@@ -1060,10 +1065,9 @@ class LeaderboardApi:
|
|
|
1060
1065
|
return response_data.response
|
|
1061
1066
|
|
|
1062
1067
|
|
|
1063
|
-
def
|
|
1068
|
+
def _leaderboard_leaderboard_id_get_serialize(
|
|
1064
1069
|
self,
|
|
1065
1070
|
leaderboard_id,
|
|
1066
|
-
create_leaderboard_participant_model,
|
|
1067
1071
|
_request_auth,
|
|
1068
1072
|
_content_type,
|
|
1069
1073
|
_headers,
|
|
@@ -1091,8 +1095,6 @@ class LeaderboardApi:
|
|
|
1091
1095
|
# process the header parameters
|
|
1092
1096
|
# process the form parameters
|
|
1093
1097
|
# process the body parameter
|
|
1094
|
-
if create_leaderboard_participant_model is not None:
|
|
1095
|
-
_body_params = create_leaderboard_participant_model
|
|
1096
1098
|
|
|
1097
1099
|
|
|
1098
1100
|
# set the HTTP header `Accept`
|
|
@@ -1105,31 +1107,17 @@ class LeaderboardApi:
|
|
|
1105
1107
|
]
|
|
1106
1108
|
)
|
|
1107
1109
|
|
|
1108
|
-
# set the HTTP header `Content-Type`
|
|
1109
|
-
if _content_type:
|
|
1110
|
-
_header_params['Content-Type'] = _content_type
|
|
1111
|
-
else:
|
|
1112
|
-
_default_content_type = (
|
|
1113
|
-
self.api_client.select_header_content_type(
|
|
1114
|
-
[
|
|
1115
|
-
'application/json',
|
|
1116
|
-
'text/json',
|
|
1117
|
-
'application/*+json'
|
|
1118
|
-
]
|
|
1119
|
-
)
|
|
1120
|
-
)
|
|
1121
|
-
if _default_content_type is not None:
|
|
1122
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1123
1110
|
|
|
1124
1111
|
# authentication setting
|
|
1125
1112
|
_auth_settings: List[str] = [
|
|
1126
|
-
'
|
|
1127
|
-
'
|
|
1113
|
+
'OAuth2',
|
|
1114
|
+
'OpenIdConnect',
|
|
1115
|
+
'Bearer'
|
|
1128
1116
|
]
|
|
1129
1117
|
|
|
1130
1118
|
return self.api_client.param_serialize(
|
|
1131
|
-
method='
|
|
1132
|
-
resource_path='/leaderboard/{leaderboardId}
|
|
1119
|
+
method='GET',
|
|
1120
|
+
resource_path='/leaderboard/{leaderboardId}',
|
|
1133
1121
|
path_params=_path_params,
|
|
1134
1122
|
query_params=_query_params,
|
|
1135
1123
|
header_params=_header_params,
|
|
@@ -1146,10 +1134,10 @@ class LeaderboardApi:
|
|
|
1146
1134
|
|
|
1147
1135
|
|
|
1148
1136
|
@validate_call
|
|
1149
|
-
def
|
|
1137
|
+
def leaderboard_leaderboard_id_patch(
|
|
1150
1138
|
self,
|
|
1151
1139
|
leaderboard_id: StrictStr,
|
|
1152
|
-
|
|
1140
|
+
update_leaderboard_model: UpdateLeaderboardModel,
|
|
1153
1141
|
_request_timeout: Union[
|
|
1154
1142
|
None,
|
|
1155
1143
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1162,14 +1150,14 @@ class LeaderboardApi:
|
|
|
1162
1150
|
_content_type: Optional[StrictStr] = None,
|
|
1163
1151
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1164
1152
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1165
|
-
) ->
|
|
1166
|
-
"""
|
|
1153
|
+
) -> None:
|
|
1154
|
+
"""Updates the response config of a leaderboard.
|
|
1167
1155
|
|
|
1168
1156
|
|
|
1169
1157
|
:param leaderboard_id: (required)
|
|
1170
1158
|
:type leaderboard_id: str
|
|
1171
|
-
:param
|
|
1172
|
-
:type
|
|
1159
|
+
:param update_leaderboard_model: (required)
|
|
1160
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
1173
1161
|
:param _request_timeout: timeout setting for this request. If one
|
|
1174
1162
|
number provided, it will be total request
|
|
1175
1163
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1192,9 +1180,9 @@ class LeaderboardApi:
|
|
|
1192
1180
|
:return: Returns the result object.
|
|
1193
1181
|
""" # noqa: E501
|
|
1194
1182
|
|
|
1195
|
-
_param = self.
|
|
1183
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
1196
1184
|
leaderboard_id=leaderboard_id,
|
|
1197
|
-
|
|
1185
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
1198
1186
|
_request_auth=_request_auth,
|
|
1199
1187
|
_content_type=_content_type,
|
|
1200
1188
|
_headers=_headers,
|
|
@@ -1202,7 +1190,7 @@ class LeaderboardApi:
|
|
|
1202
1190
|
)
|
|
1203
1191
|
|
|
1204
1192
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1205
|
-
'
|
|
1193
|
+
'204': None,
|
|
1206
1194
|
}
|
|
1207
1195
|
response_data = self.api_client.call_api(
|
|
1208
1196
|
*_param,
|
|
@@ -1216,10 +1204,10 @@ class LeaderboardApi:
|
|
|
1216
1204
|
|
|
1217
1205
|
|
|
1218
1206
|
@validate_call
|
|
1219
|
-
def
|
|
1207
|
+
def leaderboard_leaderboard_id_patch_with_http_info(
|
|
1220
1208
|
self,
|
|
1221
1209
|
leaderboard_id: StrictStr,
|
|
1222
|
-
|
|
1210
|
+
update_leaderboard_model: UpdateLeaderboardModel,
|
|
1223
1211
|
_request_timeout: Union[
|
|
1224
1212
|
None,
|
|
1225
1213
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1232,14 +1220,14 @@ class LeaderboardApi:
|
|
|
1232
1220
|
_content_type: Optional[StrictStr] = None,
|
|
1233
1221
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1234
1222
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1235
|
-
) -> ApiResponse[
|
|
1236
|
-
"""
|
|
1223
|
+
) -> ApiResponse[None]:
|
|
1224
|
+
"""Updates the response config of a leaderboard.
|
|
1237
1225
|
|
|
1238
1226
|
|
|
1239
1227
|
:param leaderboard_id: (required)
|
|
1240
1228
|
:type leaderboard_id: str
|
|
1241
|
-
:param
|
|
1242
|
-
:type
|
|
1229
|
+
:param update_leaderboard_model: (required)
|
|
1230
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
1243
1231
|
:param _request_timeout: timeout setting for this request. If one
|
|
1244
1232
|
number provided, it will be total request
|
|
1245
1233
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1262,9 +1250,9 @@ class LeaderboardApi:
|
|
|
1262
1250
|
:return: Returns the result object.
|
|
1263
1251
|
""" # noqa: E501
|
|
1264
1252
|
|
|
1265
|
-
_param = self.
|
|
1253
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
1266
1254
|
leaderboard_id=leaderboard_id,
|
|
1267
|
-
|
|
1255
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
1268
1256
|
_request_auth=_request_auth,
|
|
1269
1257
|
_content_type=_content_type,
|
|
1270
1258
|
_headers=_headers,
|
|
@@ -1272,7 +1260,7 @@ class LeaderboardApi:
|
|
|
1272
1260
|
)
|
|
1273
1261
|
|
|
1274
1262
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1275
|
-
'
|
|
1263
|
+
'204': None,
|
|
1276
1264
|
}
|
|
1277
1265
|
response_data = self.api_client.call_api(
|
|
1278
1266
|
*_param,
|
|
@@ -1286,10 +1274,10 @@ class LeaderboardApi:
|
|
|
1286
1274
|
|
|
1287
1275
|
|
|
1288
1276
|
@validate_call
|
|
1289
|
-
def
|
|
1277
|
+
def leaderboard_leaderboard_id_patch_without_preload_content(
|
|
1290
1278
|
self,
|
|
1291
1279
|
leaderboard_id: StrictStr,
|
|
1292
|
-
|
|
1280
|
+
update_leaderboard_model: UpdateLeaderboardModel,
|
|
1293
1281
|
_request_timeout: Union[
|
|
1294
1282
|
None,
|
|
1295
1283
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1303,13 +1291,13 @@ class LeaderboardApi:
|
|
|
1303
1291
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1304
1292
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1305
1293
|
) -> RESTResponseType:
|
|
1306
|
-
"""
|
|
1294
|
+
"""Updates the response config of a leaderboard.
|
|
1307
1295
|
|
|
1308
1296
|
|
|
1309
1297
|
:param leaderboard_id: (required)
|
|
1310
1298
|
:type leaderboard_id: str
|
|
1311
|
-
:param
|
|
1312
|
-
:type
|
|
1299
|
+
:param update_leaderboard_model: (required)
|
|
1300
|
+
:type update_leaderboard_model: UpdateLeaderboardModel
|
|
1313
1301
|
:param _request_timeout: timeout setting for this request. If one
|
|
1314
1302
|
number provided, it will be total request
|
|
1315
1303
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1332,9 +1320,9 @@ class LeaderboardApi:
|
|
|
1332
1320
|
:return: Returns the result object.
|
|
1333
1321
|
""" # noqa: E501
|
|
1334
1322
|
|
|
1335
|
-
_param = self.
|
|
1323
|
+
_param = self._leaderboard_leaderboard_id_patch_serialize(
|
|
1336
1324
|
leaderboard_id=leaderboard_id,
|
|
1337
|
-
|
|
1325
|
+
update_leaderboard_model=update_leaderboard_model,
|
|
1338
1326
|
_request_auth=_request_auth,
|
|
1339
1327
|
_content_type=_content_type,
|
|
1340
1328
|
_headers=_headers,
|
|
@@ -1342,7 +1330,7 @@ class LeaderboardApi:
|
|
|
1342
1330
|
)
|
|
1343
1331
|
|
|
1344
1332
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1345
|
-
'
|
|
1333
|
+
'204': None,
|
|
1346
1334
|
}
|
|
1347
1335
|
response_data = self.api_client.call_api(
|
|
1348
1336
|
*_param,
|
|
@@ -1351,10 +1339,10 @@ class LeaderboardApi:
|
|
|
1351
1339
|
return response_data.response
|
|
1352
1340
|
|
|
1353
1341
|
|
|
1354
|
-
def
|
|
1342
|
+
def _leaderboard_leaderboard_id_patch_serialize(
|
|
1355
1343
|
self,
|
|
1356
1344
|
leaderboard_id,
|
|
1357
|
-
|
|
1345
|
+
update_leaderboard_model,
|
|
1358
1346
|
_request_auth,
|
|
1359
1347
|
_content_type,
|
|
1360
1348
|
_headers,
|
|
@@ -1379,35 +1367,40 @@ class LeaderboardApi:
|
|
|
1379
1367
|
if leaderboard_id is not None:
|
|
1380
1368
|
_path_params['leaderboardId'] = leaderboard_id
|
|
1381
1369
|
# process the query parameters
|
|
1382
|
-
if request is not None:
|
|
1383
|
-
|
|
1384
|
-
_query_params.append(('request', request))
|
|
1385
|
-
|
|
1386
1370
|
# process the header parameters
|
|
1387
1371
|
# process the form parameters
|
|
1388
1372
|
# process the body parameter
|
|
1373
|
+
if update_leaderboard_model is not None:
|
|
1374
|
+
_body_params = update_leaderboard_model
|
|
1389
1375
|
|
|
1390
1376
|
|
|
1391
|
-
# set the HTTP header `Accept`
|
|
1392
|
-
if 'Accept' not in _header_params:
|
|
1393
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1394
|
-
[
|
|
1395
|
-
'text/plain',
|
|
1396
|
-
'application/json',
|
|
1397
|
-
'text/json'
|
|
1398
|
-
]
|
|
1399
|
-
)
|
|
1400
1377
|
|
|
1378
|
+
# set the HTTP header `Content-Type`
|
|
1379
|
+
if _content_type:
|
|
1380
|
+
_header_params['Content-Type'] = _content_type
|
|
1381
|
+
else:
|
|
1382
|
+
_default_content_type = (
|
|
1383
|
+
self.api_client.select_header_content_type(
|
|
1384
|
+
[
|
|
1385
|
+
'application/json',
|
|
1386
|
+
'text/json',
|
|
1387
|
+
'application/*+json'
|
|
1388
|
+
]
|
|
1389
|
+
)
|
|
1390
|
+
)
|
|
1391
|
+
if _default_content_type is not None:
|
|
1392
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1401
1393
|
|
|
1402
1394
|
# authentication setting
|
|
1403
1395
|
_auth_settings: List[str] = [
|
|
1404
|
-
'
|
|
1405
|
-
'
|
|
1396
|
+
'OAuth2',
|
|
1397
|
+
'OpenIdConnect',
|
|
1398
|
+
'Bearer'
|
|
1406
1399
|
]
|
|
1407
1400
|
|
|
1408
1401
|
return self.api_client.param_serialize(
|
|
1409
|
-
method='
|
|
1410
|
-
resource_path='/leaderboard/{leaderboardId}
|
|
1402
|
+
method='PATCH',
|
|
1403
|
+
resource_path='/leaderboard/{leaderboardId}',
|
|
1411
1404
|
path_params=_path_params,
|
|
1412
1405
|
query_params=_query_params,
|
|
1413
1406
|
header_params=_header_params,
|
|
@@ -1424,10 +1417,10 @@ class LeaderboardApi:
|
|
|
1424
1417
|
|
|
1425
1418
|
|
|
1426
1419
|
@validate_call
|
|
1427
|
-
def
|
|
1420
|
+
def leaderboard_leaderboard_id_runs_get(
|
|
1428
1421
|
self,
|
|
1429
|
-
leaderboard_id:
|
|
1430
|
-
|
|
1422
|
+
leaderboard_id: StrictStr,
|
|
1423
|
+
request: Optional[QueryModel] = None,
|
|
1431
1424
|
_request_timeout: Union[
|
|
1432
1425
|
None,
|
|
1433
1426
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1440,14 +1433,14 @@ class LeaderboardApi:
|
|
|
1440
1433
|
_content_type: Optional[StrictStr] = None,
|
|
1441
1434
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1442
1435
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1443
|
-
) ->
|
|
1444
|
-
"""
|
|
1436
|
+
) -> PagedResultOfRunsByLeaderboardResult:
|
|
1437
|
+
"""Gets the runs related to a leaderboard
|
|
1445
1438
|
|
|
1446
1439
|
|
|
1447
|
-
:param leaderboard_id:
|
|
1440
|
+
:param leaderboard_id: (required)
|
|
1448
1441
|
:type leaderboard_id: str
|
|
1449
|
-
:param
|
|
1450
|
-
:type
|
|
1442
|
+
:param request:
|
|
1443
|
+
:type request: QueryModel
|
|
1451
1444
|
:param _request_timeout: timeout setting for this request. If one
|
|
1452
1445
|
number provided, it will be total request
|
|
1453
1446
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1470,9 +1463,9 @@ class LeaderboardApi:
|
|
|
1470
1463
|
:return: Returns the result object.
|
|
1471
1464
|
""" # noqa: E501
|
|
1472
1465
|
|
|
1473
|
-
_param = self.
|
|
1466
|
+
_param = self._leaderboard_leaderboard_id_runs_get_serialize(
|
|
1474
1467
|
leaderboard_id=leaderboard_id,
|
|
1475
|
-
|
|
1468
|
+
request=request,
|
|
1476
1469
|
_request_auth=_request_auth,
|
|
1477
1470
|
_content_type=_content_type,
|
|
1478
1471
|
_headers=_headers,
|
|
@@ -1480,7 +1473,7 @@ class LeaderboardApi:
|
|
|
1480
1473
|
)
|
|
1481
1474
|
|
|
1482
1475
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1483
|
-
'
|
|
1476
|
+
'200': "PagedResultOfRunsByLeaderboardResult",
|
|
1484
1477
|
}
|
|
1485
1478
|
response_data = self.api_client.call_api(
|
|
1486
1479
|
*_param,
|
|
@@ -1494,10 +1487,10 @@ class LeaderboardApi:
|
|
|
1494
1487
|
|
|
1495
1488
|
|
|
1496
1489
|
@validate_call
|
|
1497
|
-
def
|
|
1490
|
+
def leaderboard_leaderboard_id_runs_get_with_http_info(
|
|
1498
1491
|
self,
|
|
1499
|
-
leaderboard_id:
|
|
1500
|
-
|
|
1492
|
+
leaderboard_id: StrictStr,
|
|
1493
|
+
request: Optional[QueryModel] = None,
|
|
1501
1494
|
_request_timeout: Union[
|
|
1502
1495
|
None,
|
|
1503
1496
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1510,14 +1503,14 @@ class LeaderboardApi:
|
|
|
1510
1503
|
_content_type: Optional[StrictStr] = None,
|
|
1511
1504
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1512
1505
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1513
|
-
) -> ApiResponse[
|
|
1514
|
-
"""
|
|
1506
|
+
) -> ApiResponse[PagedResultOfRunsByLeaderboardResult]:
|
|
1507
|
+
"""Gets the runs related to a leaderboard
|
|
1515
1508
|
|
|
1516
1509
|
|
|
1517
|
-
:param leaderboard_id:
|
|
1510
|
+
:param leaderboard_id: (required)
|
|
1518
1511
|
:type leaderboard_id: str
|
|
1519
|
-
:param
|
|
1520
|
-
:type
|
|
1512
|
+
:param request:
|
|
1513
|
+
:type request: QueryModel
|
|
1521
1514
|
:param _request_timeout: timeout setting for this request. If one
|
|
1522
1515
|
number provided, it will be total request
|
|
1523
1516
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1540,9 +1533,9 @@ class LeaderboardApi:
|
|
|
1540
1533
|
:return: Returns the result object.
|
|
1541
1534
|
""" # noqa: E501
|
|
1542
1535
|
|
|
1543
|
-
_param = self.
|
|
1536
|
+
_param = self._leaderboard_leaderboard_id_runs_get_serialize(
|
|
1544
1537
|
leaderboard_id=leaderboard_id,
|
|
1545
|
-
|
|
1538
|
+
request=request,
|
|
1546
1539
|
_request_auth=_request_auth,
|
|
1547
1540
|
_content_type=_content_type,
|
|
1548
1541
|
_headers=_headers,
|
|
@@ -1550,7 +1543,7 @@ class LeaderboardApi:
|
|
|
1550
1543
|
)
|
|
1551
1544
|
|
|
1552
1545
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1553
|
-
'
|
|
1546
|
+
'200': "PagedResultOfRunsByLeaderboardResult",
|
|
1554
1547
|
}
|
|
1555
1548
|
response_data = self.api_client.call_api(
|
|
1556
1549
|
*_param,
|
|
@@ -1564,10 +1557,10 @@ class LeaderboardApi:
|
|
|
1564
1557
|
|
|
1565
1558
|
|
|
1566
1559
|
@validate_call
|
|
1567
|
-
def
|
|
1560
|
+
def leaderboard_leaderboard_id_runs_get_without_preload_content(
|
|
1568
1561
|
self,
|
|
1569
|
-
leaderboard_id:
|
|
1570
|
-
|
|
1562
|
+
leaderboard_id: StrictStr,
|
|
1563
|
+
request: Optional[QueryModel] = None,
|
|
1571
1564
|
_request_timeout: Union[
|
|
1572
1565
|
None,
|
|
1573
1566
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1581,13 +1574,13 @@ class LeaderboardApi:
|
|
|
1581
1574
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1582
1575
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1583
1576
|
) -> RESTResponseType:
|
|
1584
|
-
"""
|
|
1577
|
+
"""Gets the runs related to a leaderboard
|
|
1585
1578
|
|
|
1586
1579
|
|
|
1587
|
-
:param leaderboard_id:
|
|
1580
|
+
:param leaderboard_id: (required)
|
|
1588
1581
|
:type leaderboard_id: str
|
|
1589
|
-
:param
|
|
1590
|
-
:type
|
|
1582
|
+
:param request:
|
|
1583
|
+
:type request: QueryModel
|
|
1591
1584
|
:param _request_timeout: timeout setting for this request. If one
|
|
1592
1585
|
number provided, it will be total request
|
|
1593
1586
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1610,9 +1603,9 @@ class LeaderboardApi:
|
|
|
1610
1603
|
:return: Returns the result object.
|
|
1611
1604
|
""" # noqa: E501
|
|
1612
1605
|
|
|
1613
|
-
_param = self.
|
|
1606
|
+
_param = self._leaderboard_leaderboard_id_runs_get_serialize(
|
|
1614
1607
|
leaderboard_id=leaderboard_id,
|
|
1615
|
-
|
|
1608
|
+
request=request,
|
|
1616
1609
|
_request_auth=_request_auth,
|
|
1617
1610
|
_content_type=_content_type,
|
|
1618
1611
|
_headers=_headers,
|
|
@@ -1620,7 +1613,7 @@ class LeaderboardApi:
|
|
|
1620
1613
|
)
|
|
1621
1614
|
|
|
1622
1615
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1623
|
-
'
|
|
1616
|
+
'200': "PagedResultOfRunsByLeaderboardResult",
|
|
1624
1617
|
}
|
|
1625
1618
|
response_data = self.api_client.call_api(
|
|
1626
1619
|
*_param,
|
|
@@ -1629,10 +1622,10 @@ class LeaderboardApi:
|
|
|
1629
1622
|
return response_data.response
|
|
1630
1623
|
|
|
1631
1624
|
|
|
1632
|
-
def
|
|
1625
|
+
def _leaderboard_leaderboard_id_runs_get_serialize(
|
|
1633
1626
|
self,
|
|
1634
1627
|
leaderboard_id,
|
|
1635
|
-
|
|
1628
|
+
request,
|
|
1636
1629
|
_request_auth,
|
|
1637
1630
|
_content_type,
|
|
1638
1631
|
_headers,
|
|
@@ -1657,40 +1650,36 @@ class LeaderboardApi:
|
|
|
1657
1650
|
if leaderboard_id is not None:
|
|
1658
1651
|
_path_params['leaderboardId'] = leaderboard_id
|
|
1659
1652
|
# process the query parameters
|
|
1653
|
+
if request is not None:
|
|
1654
|
+
|
|
1655
|
+
_query_params.append(('request', request))
|
|
1656
|
+
|
|
1660
1657
|
# process the header parameters
|
|
1661
1658
|
# process the form parameters
|
|
1662
1659
|
# process the body parameter
|
|
1663
|
-
if body is not None:
|
|
1664
|
-
_body_params = body
|
|
1665
1660
|
|
|
1666
1661
|
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
'application/json',
|
|
1676
|
-
'text/json',
|
|
1677
|
-
'application/*+json',
|
|
1678
|
-
'text/plain'
|
|
1679
|
-
]
|
|
1680
|
-
)
|
|
1662
|
+
# set the HTTP header `Accept`
|
|
1663
|
+
if 'Accept' not in _header_params:
|
|
1664
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1665
|
+
[
|
|
1666
|
+
'text/plain',
|
|
1667
|
+
'application/json',
|
|
1668
|
+
'text/json'
|
|
1669
|
+
]
|
|
1681
1670
|
)
|
|
1682
|
-
|
|
1683
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1671
|
+
|
|
1684
1672
|
|
|
1685
1673
|
# authentication setting
|
|
1686
1674
|
_auth_settings: List[str] = [
|
|
1687
|
-
'
|
|
1688
|
-
'
|
|
1675
|
+
'OAuth2',
|
|
1676
|
+
'OpenIdConnect',
|
|
1677
|
+
'Bearer'
|
|
1689
1678
|
]
|
|
1690
1679
|
|
|
1691
1680
|
return self.api_client.param_serialize(
|
|
1692
|
-
method='
|
|
1693
|
-
resource_path='/leaderboard/{leaderboardId}/
|
|
1681
|
+
method='GET',
|
|
1682
|
+
resource_path='/leaderboard/{leaderboardId}/runs',
|
|
1694
1683
|
path_params=_path_params,
|
|
1695
1684
|
query_params=_query_params,
|
|
1696
1685
|
header_params=_header_params,
|
|
@@ -1707,9 +1696,12 @@ class LeaderboardApi:
|
|
|
1707
1696
|
|
|
1708
1697
|
|
|
1709
1698
|
@validate_call
|
|
1710
|
-
def
|
|
1699
|
+
def leaderboard_leaderboard_id_standings_get(
|
|
1711
1700
|
self,
|
|
1712
|
-
|
|
1701
|
+
leaderboard_id: StrictStr,
|
|
1702
|
+
tags: Optional[List[StrictStr]] = None,
|
|
1703
|
+
use_weighted_scoring: Optional[StrictBool] = None,
|
|
1704
|
+
include_confidence_intervals: Optional[StrictBool] = None,
|
|
1713
1705
|
_request_timeout: Union[
|
|
1714
1706
|
None,
|
|
1715
1707
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1722,12 +1714,18 @@ class LeaderboardApi:
|
|
|
1722
1714
|
_content_type: Optional[StrictStr] = None,
|
|
1723
1715
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1724
1716
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1725
|
-
) ->
|
|
1726
|
-
"""
|
|
1717
|
+
) -> StandingsByLeaderboardResult:
|
|
1718
|
+
"""leaderboard_leaderboard_id_standings_get
|
|
1727
1719
|
|
|
1728
1720
|
|
|
1729
|
-
:param
|
|
1730
|
-
:type
|
|
1721
|
+
:param leaderboard_id: (required)
|
|
1722
|
+
:type leaderboard_id: str
|
|
1723
|
+
:param tags:
|
|
1724
|
+
:type tags: List[str]
|
|
1725
|
+
:param use_weighted_scoring:
|
|
1726
|
+
:type use_weighted_scoring: bool
|
|
1727
|
+
:param include_confidence_intervals:
|
|
1728
|
+
:type include_confidence_intervals: bool
|
|
1731
1729
|
:param _request_timeout: timeout setting for this request. If one
|
|
1732
1730
|
number provided, it will be total request
|
|
1733
1731
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1750,8 +1748,11 @@ class LeaderboardApi:
|
|
|
1750
1748
|
:return: Returns the result object.
|
|
1751
1749
|
""" # noqa: E501
|
|
1752
1750
|
|
|
1753
|
-
_param = self.
|
|
1754
|
-
|
|
1751
|
+
_param = self._leaderboard_leaderboard_id_standings_get_serialize(
|
|
1752
|
+
leaderboard_id=leaderboard_id,
|
|
1753
|
+
tags=tags,
|
|
1754
|
+
use_weighted_scoring=use_weighted_scoring,
|
|
1755
|
+
include_confidence_intervals=include_confidence_intervals,
|
|
1755
1756
|
_request_auth=_request_auth,
|
|
1756
1757
|
_content_type=_content_type,
|
|
1757
1758
|
_headers=_headers,
|
|
@@ -1759,7 +1760,7 @@ class LeaderboardApi:
|
|
|
1759
1760
|
)
|
|
1760
1761
|
|
|
1761
1762
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1762
|
-
'200': "
|
|
1763
|
+
'200': "StandingsByLeaderboardResult",
|
|
1763
1764
|
}
|
|
1764
1765
|
response_data = self.api_client.call_api(
|
|
1765
1766
|
*_param,
|
|
@@ -1773,9 +1774,12 @@ class LeaderboardApi:
|
|
|
1773
1774
|
|
|
1774
1775
|
|
|
1775
1776
|
@validate_call
|
|
1776
|
-
def
|
|
1777
|
+
def leaderboard_leaderboard_id_standings_get_with_http_info(
|
|
1777
1778
|
self,
|
|
1778
|
-
|
|
1779
|
+
leaderboard_id: StrictStr,
|
|
1780
|
+
tags: Optional[List[StrictStr]] = None,
|
|
1781
|
+
use_weighted_scoring: Optional[StrictBool] = None,
|
|
1782
|
+
include_confidence_intervals: Optional[StrictBool] = None,
|
|
1779
1783
|
_request_timeout: Union[
|
|
1780
1784
|
None,
|
|
1781
1785
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1788,12 +1792,18 @@ class LeaderboardApi:
|
|
|
1788
1792
|
_content_type: Optional[StrictStr] = None,
|
|
1789
1793
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1790
1794
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1791
|
-
) -> ApiResponse[
|
|
1792
|
-
"""
|
|
1795
|
+
) -> ApiResponse[StandingsByLeaderboardResult]:
|
|
1796
|
+
"""leaderboard_leaderboard_id_standings_get
|
|
1793
1797
|
|
|
1794
1798
|
|
|
1795
|
-
:param
|
|
1796
|
-
:type
|
|
1799
|
+
:param leaderboard_id: (required)
|
|
1800
|
+
:type leaderboard_id: str
|
|
1801
|
+
:param tags:
|
|
1802
|
+
:type tags: List[str]
|
|
1803
|
+
:param use_weighted_scoring:
|
|
1804
|
+
:type use_weighted_scoring: bool
|
|
1805
|
+
:param include_confidence_intervals:
|
|
1806
|
+
:type include_confidence_intervals: bool
|
|
1797
1807
|
:param _request_timeout: timeout setting for this request. If one
|
|
1798
1808
|
number provided, it will be total request
|
|
1799
1809
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1816,8 +1826,11 @@ class LeaderboardApi:
|
|
|
1816
1826
|
:return: Returns the result object.
|
|
1817
1827
|
""" # noqa: E501
|
|
1818
1828
|
|
|
1819
|
-
_param = self.
|
|
1820
|
-
|
|
1829
|
+
_param = self._leaderboard_leaderboard_id_standings_get_serialize(
|
|
1830
|
+
leaderboard_id=leaderboard_id,
|
|
1831
|
+
tags=tags,
|
|
1832
|
+
use_weighted_scoring=use_weighted_scoring,
|
|
1833
|
+
include_confidence_intervals=include_confidence_intervals,
|
|
1821
1834
|
_request_auth=_request_auth,
|
|
1822
1835
|
_content_type=_content_type,
|
|
1823
1836
|
_headers=_headers,
|
|
@@ -1825,7 +1838,7 @@ class LeaderboardApi:
|
|
|
1825
1838
|
)
|
|
1826
1839
|
|
|
1827
1840
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1828
|
-
'200': "
|
|
1841
|
+
'200': "StandingsByLeaderboardResult",
|
|
1829
1842
|
}
|
|
1830
1843
|
response_data = self.api_client.call_api(
|
|
1831
1844
|
*_param,
|
|
@@ -1839,9 +1852,12 @@ class LeaderboardApi:
|
|
|
1839
1852
|
|
|
1840
1853
|
|
|
1841
1854
|
@validate_call
|
|
1842
|
-
def
|
|
1855
|
+
def leaderboard_leaderboard_id_standings_get_without_preload_content(
|
|
1843
1856
|
self,
|
|
1844
|
-
|
|
1857
|
+
leaderboard_id: StrictStr,
|
|
1858
|
+
tags: Optional[List[StrictStr]] = None,
|
|
1859
|
+
use_weighted_scoring: Optional[StrictBool] = None,
|
|
1860
|
+
include_confidence_intervals: Optional[StrictBool] = None,
|
|
1845
1861
|
_request_timeout: Union[
|
|
1846
1862
|
None,
|
|
1847
1863
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1855,11 +1871,17 @@ class LeaderboardApi:
|
|
|
1855
1871
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1856
1872
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1857
1873
|
) -> RESTResponseType:
|
|
1858
|
-
"""
|
|
1874
|
+
"""leaderboard_leaderboard_id_standings_get
|
|
1859
1875
|
|
|
1860
1876
|
|
|
1861
|
-
:param
|
|
1862
|
-
:type
|
|
1877
|
+
:param leaderboard_id: (required)
|
|
1878
|
+
:type leaderboard_id: str
|
|
1879
|
+
:param tags:
|
|
1880
|
+
:type tags: List[str]
|
|
1881
|
+
:param use_weighted_scoring:
|
|
1882
|
+
:type use_weighted_scoring: bool
|
|
1883
|
+
:param include_confidence_intervals:
|
|
1884
|
+
:type include_confidence_intervals: bool
|
|
1863
1885
|
:param _request_timeout: timeout setting for this request. If one
|
|
1864
1886
|
number provided, it will be total request
|
|
1865
1887
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1882,8 +1904,11 @@ class LeaderboardApi:
|
|
|
1882
1904
|
:return: Returns the result object.
|
|
1883
1905
|
""" # noqa: E501
|
|
1884
1906
|
|
|
1885
|
-
_param = self.
|
|
1886
|
-
|
|
1907
|
+
_param = self._leaderboard_leaderboard_id_standings_get_serialize(
|
|
1908
|
+
leaderboard_id=leaderboard_id,
|
|
1909
|
+
tags=tags,
|
|
1910
|
+
use_weighted_scoring=use_weighted_scoring,
|
|
1911
|
+
include_confidence_intervals=include_confidence_intervals,
|
|
1887
1912
|
_request_auth=_request_auth,
|
|
1888
1913
|
_content_type=_content_type,
|
|
1889
1914
|
_headers=_headers,
|
|
@@ -1891,7 +1916,7 @@ class LeaderboardApi:
|
|
|
1891
1916
|
)
|
|
1892
1917
|
|
|
1893
1918
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1894
|
-
'200': "
|
|
1919
|
+
'200': "StandingsByLeaderboardResult",
|
|
1895
1920
|
}
|
|
1896
1921
|
response_data = self.api_client.call_api(
|
|
1897
1922
|
*_param,
|
|
@@ -1900,9 +1925,12 @@ class LeaderboardApi:
|
|
|
1900
1925
|
return response_data.response
|
|
1901
1926
|
|
|
1902
1927
|
|
|
1903
|
-
def
|
|
1928
|
+
def _leaderboard_leaderboard_id_standings_get_serialize(
|
|
1904
1929
|
self,
|
|
1905
|
-
|
|
1930
|
+
leaderboard_id,
|
|
1931
|
+
tags,
|
|
1932
|
+
use_weighted_scoring,
|
|
1933
|
+
include_confidence_intervals,
|
|
1906
1934
|
_request_auth,
|
|
1907
1935
|
_content_type,
|
|
1908
1936
|
_headers,
|
|
@@ -1912,6 +1940,7 @@ class LeaderboardApi:
|
|
|
1912
1940
|
_host = None
|
|
1913
1941
|
|
|
1914
1942
|
_collection_formats: Dict[str, str] = {
|
|
1943
|
+
'tags': 'multi',
|
|
1915
1944
|
}
|
|
1916
1945
|
|
|
1917
1946
|
_path_params: Dict[str, str] = {}
|
|
@@ -1924,9 +1953,21 @@ class LeaderboardApi:
|
|
|
1924
1953
|
_body_params: Optional[bytes] = None
|
|
1925
1954
|
|
|
1926
1955
|
# process the path parameters
|
|
1927
|
-
if
|
|
1928
|
-
_path_params['
|
|
1956
|
+
if leaderboard_id is not None:
|
|
1957
|
+
_path_params['leaderboardId'] = leaderboard_id
|
|
1929
1958
|
# process the query parameters
|
|
1959
|
+
if tags is not None:
|
|
1960
|
+
|
|
1961
|
+
_query_params.append(('tags', tags))
|
|
1962
|
+
|
|
1963
|
+
if use_weighted_scoring is not None:
|
|
1964
|
+
|
|
1965
|
+
_query_params.append(('useWeightedScoring', use_weighted_scoring))
|
|
1966
|
+
|
|
1967
|
+
if include_confidence_intervals is not None:
|
|
1968
|
+
|
|
1969
|
+
_query_params.append(('includeConfidenceIntervals', include_confidence_intervals))
|
|
1970
|
+
|
|
1930
1971
|
# process the header parameters
|
|
1931
1972
|
# process the form parameters
|
|
1932
1973
|
# process the body parameter
|
|
@@ -1945,13 +1986,14 @@ class LeaderboardApi:
|
|
|
1945
1986
|
|
|
1946
1987
|
# authentication setting
|
|
1947
1988
|
_auth_settings: List[str] = [
|
|
1948
|
-
'
|
|
1949
|
-
'
|
|
1989
|
+
'OAuth2',
|
|
1990
|
+
'OpenIdConnect',
|
|
1991
|
+
'Bearer'
|
|
1950
1992
|
]
|
|
1951
1993
|
|
|
1952
1994
|
return self.api_client.param_serialize(
|
|
1953
1995
|
method='GET',
|
|
1954
|
-
resource_path='/leaderboard/
|
|
1996
|
+
resource_path='/leaderboard/{leaderboardId}/standings',
|
|
1955
1997
|
path_params=_path_params,
|
|
1956
1998
|
query_params=_query_params,
|
|
1957
1999
|
header_params=_header_params,
|
|
@@ -1970,7 +2012,7 @@ class LeaderboardApi:
|
|
|
1970
2012
|
@validate_call
|
|
1971
2013
|
def leaderboard_post(
|
|
1972
2014
|
self,
|
|
1973
|
-
create_leaderboard_model:
|
|
2015
|
+
create_leaderboard_model: CreateLeaderboardModel,
|
|
1974
2016
|
_request_timeout: Union[
|
|
1975
2017
|
None,
|
|
1976
2018
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1987,7 +2029,7 @@ class LeaderboardApi:
|
|
|
1987
2029
|
"""Creates a new leaderboard with the specified name and criteria.
|
|
1988
2030
|
|
|
1989
2031
|
|
|
1990
|
-
:param create_leaderboard_model:
|
|
2032
|
+
:param create_leaderboard_model: (required)
|
|
1991
2033
|
:type create_leaderboard_model: CreateLeaderboardModel
|
|
1992
2034
|
:param _request_timeout: timeout setting for this request. If one
|
|
1993
2035
|
number provided, it will be total request
|
|
@@ -2036,7 +2078,7 @@ class LeaderboardApi:
|
|
|
2036
2078
|
@validate_call
|
|
2037
2079
|
def leaderboard_post_with_http_info(
|
|
2038
2080
|
self,
|
|
2039
|
-
create_leaderboard_model:
|
|
2081
|
+
create_leaderboard_model: CreateLeaderboardModel,
|
|
2040
2082
|
_request_timeout: Union[
|
|
2041
2083
|
None,
|
|
2042
2084
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2053,7 +2095,7 @@ class LeaderboardApi:
|
|
|
2053
2095
|
"""Creates a new leaderboard with the specified name and criteria.
|
|
2054
2096
|
|
|
2055
2097
|
|
|
2056
|
-
:param create_leaderboard_model:
|
|
2098
|
+
:param create_leaderboard_model: (required)
|
|
2057
2099
|
:type create_leaderboard_model: CreateLeaderboardModel
|
|
2058
2100
|
:param _request_timeout: timeout setting for this request. If one
|
|
2059
2101
|
number provided, it will be total request
|
|
@@ -2102,7 +2144,7 @@ class LeaderboardApi:
|
|
|
2102
2144
|
@validate_call
|
|
2103
2145
|
def leaderboard_post_without_preload_content(
|
|
2104
2146
|
self,
|
|
2105
|
-
create_leaderboard_model:
|
|
2147
|
+
create_leaderboard_model: CreateLeaderboardModel,
|
|
2106
2148
|
_request_timeout: Union[
|
|
2107
2149
|
None,
|
|
2108
2150
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2119,7 +2161,7 @@ class LeaderboardApi:
|
|
|
2119
2161
|
"""Creates a new leaderboard with the specified name and criteria.
|
|
2120
2162
|
|
|
2121
2163
|
|
|
2122
|
-
:param create_leaderboard_model:
|
|
2164
|
+
:param create_leaderboard_model: (required)
|
|
2123
2165
|
:type create_leaderboard_model: CreateLeaderboardModel
|
|
2124
2166
|
:param _request_timeout: timeout setting for this request. If one
|
|
2125
2167
|
number provided, it will be total request
|
|
@@ -2221,8 +2263,9 @@ class LeaderboardApi:
|
|
|
2221
2263
|
|
|
2222
2264
|
# authentication setting
|
|
2223
2265
|
_auth_settings: List[str] = [
|
|
2224
|
-
'
|
|
2225
|
-
'
|
|
2266
|
+
'OAuth2',
|
|
2267
|
+
'OpenIdConnect',
|
|
2268
|
+
'Bearer'
|
|
2226
2269
|
]
|
|
2227
2270
|
|
|
2228
2271
|
return self.api_client.param_serialize(
|
|
@@ -2246,7 +2289,7 @@ class LeaderboardApi:
|
|
|
2246
2289
|
@validate_call
|
|
2247
2290
|
def leaderboards_get(
|
|
2248
2291
|
self,
|
|
2249
|
-
request: Optional[QueryModel] = None,
|
|
2292
|
+
request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
|
|
2250
2293
|
_request_timeout: Union[
|
|
2251
2294
|
None,
|
|
2252
2295
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2259,11 +2302,11 @@ class LeaderboardApi:
|
|
|
2259
2302
|
_content_type: Optional[StrictStr] = None,
|
|
2260
2303
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2261
2304
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2262
|
-
) ->
|
|
2263
|
-
"""Queries all leaderboards
|
|
2305
|
+
) -> PagedResultOfLeaderboardsQueryResult:
|
|
2306
|
+
"""Queries all leaderboards for a specific benchmark.
|
|
2264
2307
|
|
|
2265
2308
|
|
|
2266
|
-
:param request:
|
|
2309
|
+
:param request: Query parameters
|
|
2267
2310
|
:type request: QueryModel
|
|
2268
2311
|
:param _request_timeout: timeout setting for this request. If one
|
|
2269
2312
|
number provided, it will be total request
|
|
@@ -2296,7 +2339,7 @@ class LeaderboardApi:
|
|
|
2296
2339
|
)
|
|
2297
2340
|
|
|
2298
2341
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2299
|
-
'200': "
|
|
2342
|
+
'200': "PagedResultOfLeaderboardsQueryResult",
|
|
2300
2343
|
}
|
|
2301
2344
|
response_data = self.api_client.call_api(
|
|
2302
2345
|
*_param,
|
|
@@ -2312,7 +2355,7 @@ class LeaderboardApi:
|
|
|
2312
2355
|
@validate_call
|
|
2313
2356
|
def leaderboards_get_with_http_info(
|
|
2314
2357
|
self,
|
|
2315
|
-
request: Optional[QueryModel] = None,
|
|
2358
|
+
request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
|
|
2316
2359
|
_request_timeout: Union[
|
|
2317
2360
|
None,
|
|
2318
2361
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2325,11 +2368,11 @@ class LeaderboardApi:
|
|
|
2325
2368
|
_content_type: Optional[StrictStr] = None,
|
|
2326
2369
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2327
2370
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2328
|
-
) -> ApiResponse[
|
|
2329
|
-
"""Queries all leaderboards
|
|
2371
|
+
) -> ApiResponse[PagedResultOfLeaderboardsQueryResult]:
|
|
2372
|
+
"""Queries all leaderboards for a specific benchmark.
|
|
2330
2373
|
|
|
2331
2374
|
|
|
2332
|
-
:param request:
|
|
2375
|
+
:param request: Query parameters
|
|
2333
2376
|
:type request: QueryModel
|
|
2334
2377
|
:param _request_timeout: timeout setting for this request. If one
|
|
2335
2378
|
number provided, it will be total request
|
|
@@ -2362,7 +2405,7 @@ class LeaderboardApi:
|
|
|
2362
2405
|
)
|
|
2363
2406
|
|
|
2364
2407
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2365
|
-
'200': "
|
|
2408
|
+
'200': "PagedResultOfLeaderboardsQueryResult",
|
|
2366
2409
|
}
|
|
2367
2410
|
response_data = self.api_client.call_api(
|
|
2368
2411
|
*_param,
|
|
@@ -2378,7 +2421,7 @@ class LeaderboardApi:
|
|
|
2378
2421
|
@validate_call
|
|
2379
2422
|
def leaderboards_get_without_preload_content(
|
|
2380
2423
|
self,
|
|
2381
|
-
request: Optional[QueryModel] = None,
|
|
2424
|
+
request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
|
|
2382
2425
|
_request_timeout: Union[
|
|
2383
2426
|
None,
|
|
2384
2427
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2392,10 +2435,10 @@ class LeaderboardApi:
|
|
|
2392
2435
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2393
2436
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2394
2437
|
) -> RESTResponseType:
|
|
2395
|
-
"""Queries all leaderboards
|
|
2438
|
+
"""Queries all leaderboards for a specific benchmark.
|
|
2396
2439
|
|
|
2397
2440
|
|
|
2398
|
-
:param request:
|
|
2441
|
+
:param request: Query parameters
|
|
2399
2442
|
:type request: QueryModel
|
|
2400
2443
|
:param _request_timeout: timeout setting for this request. If one
|
|
2401
2444
|
number provided, it will be total request
|
|
@@ -2428,7 +2471,7 @@ class LeaderboardApi:
|
|
|
2428
2471
|
)
|
|
2429
2472
|
|
|
2430
2473
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2431
|
-
'200': "
|
|
2474
|
+
'200': "PagedResultOfLeaderboardsQueryResult",
|
|
2432
2475
|
}
|
|
2433
2476
|
response_data = self.api_client.call_api(
|
|
2434
2477
|
*_param,
|
|
@@ -2484,8 +2527,9 @@ class LeaderboardApi:
|
|
|
2484
2527
|
|
|
2485
2528
|
# authentication setting
|
|
2486
2529
|
_auth_settings: List[str] = [
|
|
2487
|
-
'
|
|
2488
|
-
'
|
|
2530
|
+
'OAuth2',
|
|
2531
|
+
'OpenIdConnect',
|
|
2532
|
+
'Bearer'
|
|
2489
2533
|
]
|
|
2490
2534
|
|
|
2491
2535
|
return self.api_client.param_serialize(
|