rapidata 2.24.0__py3-none-any.whl → 3.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +31 -14
- rapidata/api_client/__init__.py +84 -321
- rapidata/api_client/api/__init__.py +12 -3
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +3044 -0
- rapidata/api_client/api/benchmark_api.py +4307 -0
- rapidata/api_client/api/campaign_api.py +232 -207
- rapidata/api_client/api/client_api.py +166 -145
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +2216 -0
- rapidata/api_client/api/datapoint_api.py +8 -797
- rapidata/api_client/api/dataset_api.py +276 -2858
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/job_api.py +4200 -0
- rapidata/api_client/api/job_definition_api.py +319 -0
- rapidata/api_client/api/job_revision_api.py +335 -0
- rapidata/api_client/api/leaderboard_api.py +2855 -0
- rapidata/api_client/api/newsletter_api.py +30 -317
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +11 -10
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +512 -3232
- rapidata/api_client/api/workflow_api.py +32 -825
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -300
- rapidata/api_client/models/ab_test_selection_a_inner.py +27 -13
- rapidata/api_client/models/add_campaign_model.py +8 -3
- rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +49 -28
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_truth.py +32 -12
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +4 -6
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +4 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +11 -9
- rapidata/api_client/models/asset_metadata_model.py +2 -8
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_job_state.py +38 -0
- rapidata/api_client/models/audience_status.py +39 -0
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +91 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +57 -15
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +122 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_model.py +124 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +6 -18
- rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
- rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
- rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_endpoint_input.py +100 -0
- rapidata/api_client/models/create_job_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
- rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
- rapidata/api_client/models/create_leaderboard_model.py +147 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_definition_model.py +119 -0
- rapidata/api_client/models/create_order_definition_result.py +87 -0
- rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
- rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
- rapidata/api_client/models/create_order_model.py +30 -103
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +5 -5
- rapidata/api_client/models/datapoint.py +3 -3
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/existing_asset_input.py +109 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +3 -5
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model.py +1 -3
- rapidata/api_client/models/file_asset_model_metadata_value.py +43 -73
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +118 -0
- rapidata/api_client/models/get_audience_user_state_metrics_result.py +87 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +98 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
- rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
- rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +6 -12
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +5 -5
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +33 -33
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_audience_filter.py +184 -0
- rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
- rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
- rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter.py +296 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +296 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
- rapidata/api_client/models/i_validation_truth_model.py +294 -0
- rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
- rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
- rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/job_definition_revision_state.py +38 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +11 -13
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +12 -1
- rapidata/api_client/models/logic_operator.py +2 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/multi_asset.py +6 -6
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +4 -4
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +3 -5
- rapidata/api_client/models/null_asset_model.py +1 -3
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/option_of_aggregator_type.py +49 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +92 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +6 -8
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +118 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_job_definitions_result.py +97 -0
- rapidata/api_client/models/query_job_revisions_result.py +95 -0
- rapidata/api_client/models/query_jobs_result.py +103 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/rapid_issue.py +2 -2
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +3 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +12 -1
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +3 -2
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +92 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +3 -5
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +1 -3
- rapidata/api_client/models/text_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +113 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
- rapidata/api_client/models/update_job_endpoint_input.py +92 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +5 -5
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +28 -12
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_problem_details.py +117 -0
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/vote_matrix_result.py +91 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +2 -2
- rapidata/api_client_README.md +468 -317
- rapidata/rapidata_client/__init__.py +23 -22
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/audience/__init__.py +2 -0
- rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
- rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
- rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
- rapidata/rapidata_client/benchmark/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +34 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +257 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +146 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +592 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +216 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +8 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +194 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/_single_flight_cache.py +82 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/__init__.py +1 -2
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/dataset/__init__.py +1 -0
- rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +27 -0
- rapidata/rapidata_client/filter/__init__.py +3 -0
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +58 -2
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +55 -0
- rapidata/rapidata_client/filter/campaign_filter.py +21 -10
- rapidata/rapidata_client/filter/country_filter.py +46 -12
- rapidata/rapidata_client/filter/custom_filter.py +25 -12
- rapidata/rapidata_client/filter/device_filter.py +38 -0
- rapidata/rapidata_client/filter/gender_filter.py +25 -10
- rapidata/rapidata_client/filter/language_filter.py +51 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/device_type.py +20 -0
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +14 -4
- rapidata/rapidata_client/filter/not_filter.py +35 -11
- rapidata/rapidata_client/filter/or_filter.py +36 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +30 -25
- rapidata/rapidata_client/filter/response_count_filter.py +51 -20
- rapidata/rapidata_client/filter/user_score_filter.py +62 -24
- rapidata/rapidata_client/job/__init__.py +3 -0
- rapidata/rapidata_client/job/job_definition.py +110 -0
- rapidata/rapidata_client/job/job_manager.py +758 -0
- rapidata/rapidata_client/job/rapidata_job.py +326 -0
- rapidata/rapidata_client/order/__init__.py +2 -0
- rapidata/rapidata_client/order/_rapidata_order_builder.py +286 -193
- rapidata/rapidata_client/order/rapidata_order.py +329 -153
- rapidata/rapidata_client/order/rapidata_order_manager.py +712 -430
- rapidata/rapidata_client/rapidata_client.py +130 -26
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +14 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
- rapidata/rapidata_client/referee/_naive_referee.py +24 -3
- rapidata/rapidata_client/results/__init__.py +3 -0
- rapidata/rapidata_client/{order → results}/rapidata_results.py +98 -67
- rapidata/rapidata_client/selection/__init__.py +2 -1
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +36 -12
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +10 -7
- rapidata/rapidata_client/selection/rapidata_selections.py +31 -21
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +20 -9
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +4 -1
- rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +28 -16
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/utils/__init__.py +3 -0
- rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
- rapidata/rapidata_client/validation/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -104
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +371 -214
- rapidata/rapidata_client/validation/validation_set_manager.py +529 -227
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +18 -18
- rapidata/service/openapi_service.py +128 -28
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.1.dist-info/METADATA +32 -0
- rapidata-3.0.1.dist-info/RECORD +1089 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -66
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -47
- rapidata/rapidata_client/logging/output_manager.py +0 -16
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +0 -15
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -443
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -51
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.24.0.dist-info/METADATA +0 -34
- rapidata-2.24.0.dist-info/RECORD +0 -530
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -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)
|
|
@@ -17,10 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field, StrictStr
|
|
20
|
-
from typing import Optional
|
|
21
20
|
from typing_extensions import Annotated
|
|
22
21
|
from rapidata.api_client.models.get_datapoint_by_id_result import GetDatapointByIdResult
|
|
23
|
-
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
24
22
|
|
|
25
23
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
26
24
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -270,8 +268,9 @@ class DatapointApi:
|
|
|
270
268
|
|
|
271
269
|
# authentication setting
|
|
272
270
|
_auth_settings: List[str] = [
|
|
273
|
-
'
|
|
274
|
-
'
|
|
271
|
+
'OAuth2',
|
|
272
|
+
'OpenIdConnect',
|
|
273
|
+
'Bearer'
|
|
275
274
|
]
|
|
276
275
|
|
|
277
276
|
return self.api_client.param_serialize(
|
|
@@ -531,8 +530,9 @@ class DatapointApi:
|
|
|
531
530
|
|
|
532
531
|
# authentication setting
|
|
533
532
|
_auth_settings: List[str] = [
|
|
534
|
-
'
|
|
535
|
-
'
|
|
533
|
+
'OAuth2',
|
|
534
|
+
'OpenIdConnect',
|
|
535
|
+
'Bearer'
|
|
536
536
|
]
|
|
537
537
|
|
|
538
538
|
return self.api_client.param_serialize(
|
|
@@ -551,792 +551,3 @@ class DatapointApi:
|
|
|
551
551
|
)
|
|
552
552
|
|
|
553
553
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
@validate_call
|
|
557
|
-
def datapoint_delete_delete(
|
|
558
|
-
self,
|
|
559
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to delete.")] = None,
|
|
560
|
-
_request_timeout: Union[
|
|
561
|
-
None,
|
|
562
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
563
|
-
Tuple[
|
|
564
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
565
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
566
|
-
]
|
|
567
|
-
] = None,
|
|
568
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
569
|
-
_content_type: Optional[StrictStr] = None,
|
|
570
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
571
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
572
|
-
) -> None:
|
|
573
|
-
"""(Deprecated) Delete a datapoint.
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
:param id: The id of the datapoint to delete.
|
|
577
|
-
:type id: str
|
|
578
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
579
|
-
number provided, it will be total request
|
|
580
|
-
timeout. It can also be a pair (tuple) of
|
|
581
|
-
(connection, read) timeouts.
|
|
582
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
583
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
584
|
-
request; this effectively ignores the
|
|
585
|
-
authentication in the spec for a single request.
|
|
586
|
-
:type _request_auth: dict, optional
|
|
587
|
-
:param _content_type: force content-type for the request.
|
|
588
|
-
:type _content_type: str, Optional
|
|
589
|
-
:param _headers: set to override the headers for a single
|
|
590
|
-
request; this effectively ignores the headers
|
|
591
|
-
in the spec for a single request.
|
|
592
|
-
:type _headers: dict, optional
|
|
593
|
-
:param _host_index: set to override the host_index for a single
|
|
594
|
-
request; this effectively ignores the host_index
|
|
595
|
-
in the spec for a single request.
|
|
596
|
-
:type _host_index: int, optional
|
|
597
|
-
:return: Returns the result object.
|
|
598
|
-
""" # noqa: E501
|
|
599
|
-
warnings.warn("DELETE /datapoint/delete is deprecated.", DeprecationWarning)
|
|
600
|
-
|
|
601
|
-
_param = self._datapoint_delete_delete_serialize(
|
|
602
|
-
id=id,
|
|
603
|
-
_request_auth=_request_auth,
|
|
604
|
-
_content_type=_content_type,
|
|
605
|
-
_headers=_headers,
|
|
606
|
-
_host_index=_host_index
|
|
607
|
-
)
|
|
608
|
-
|
|
609
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
610
|
-
'200': None,
|
|
611
|
-
}
|
|
612
|
-
response_data = self.api_client.call_api(
|
|
613
|
-
*_param,
|
|
614
|
-
_request_timeout=_request_timeout
|
|
615
|
-
)
|
|
616
|
-
response_data.read()
|
|
617
|
-
return self.api_client.response_deserialize(
|
|
618
|
-
response_data=response_data,
|
|
619
|
-
response_types_map=_response_types_map,
|
|
620
|
-
).data
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
@validate_call
|
|
624
|
-
def datapoint_delete_delete_with_http_info(
|
|
625
|
-
self,
|
|
626
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to delete.")] = None,
|
|
627
|
-
_request_timeout: Union[
|
|
628
|
-
None,
|
|
629
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
630
|
-
Tuple[
|
|
631
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
632
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
633
|
-
]
|
|
634
|
-
] = None,
|
|
635
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
636
|
-
_content_type: Optional[StrictStr] = None,
|
|
637
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
638
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
639
|
-
) -> ApiResponse[None]:
|
|
640
|
-
"""(Deprecated) Delete a datapoint.
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
:param id: The id of the datapoint to delete.
|
|
644
|
-
:type id: str
|
|
645
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
646
|
-
number provided, it will be total request
|
|
647
|
-
timeout. It can also be a pair (tuple) of
|
|
648
|
-
(connection, read) timeouts.
|
|
649
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
650
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
651
|
-
request; this effectively ignores the
|
|
652
|
-
authentication in the spec for a single request.
|
|
653
|
-
:type _request_auth: dict, optional
|
|
654
|
-
:param _content_type: force content-type for the request.
|
|
655
|
-
:type _content_type: str, Optional
|
|
656
|
-
:param _headers: set to override the headers for a single
|
|
657
|
-
request; this effectively ignores the headers
|
|
658
|
-
in the spec for a single request.
|
|
659
|
-
:type _headers: dict, optional
|
|
660
|
-
:param _host_index: set to override the host_index for a single
|
|
661
|
-
request; this effectively ignores the host_index
|
|
662
|
-
in the spec for a single request.
|
|
663
|
-
:type _host_index: int, optional
|
|
664
|
-
:return: Returns the result object.
|
|
665
|
-
""" # noqa: E501
|
|
666
|
-
warnings.warn("DELETE /datapoint/delete is deprecated.", DeprecationWarning)
|
|
667
|
-
|
|
668
|
-
_param = self._datapoint_delete_delete_serialize(
|
|
669
|
-
id=id,
|
|
670
|
-
_request_auth=_request_auth,
|
|
671
|
-
_content_type=_content_type,
|
|
672
|
-
_headers=_headers,
|
|
673
|
-
_host_index=_host_index
|
|
674
|
-
)
|
|
675
|
-
|
|
676
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
677
|
-
'200': None,
|
|
678
|
-
}
|
|
679
|
-
response_data = self.api_client.call_api(
|
|
680
|
-
*_param,
|
|
681
|
-
_request_timeout=_request_timeout
|
|
682
|
-
)
|
|
683
|
-
response_data.read()
|
|
684
|
-
return self.api_client.response_deserialize(
|
|
685
|
-
response_data=response_data,
|
|
686
|
-
response_types_map=_response_types_map,
|
|
687
|
-
)
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
@validate_call
|
|
691
|
-
def datapoint_delete_delete_without_preload_content(
|
|
692
|
-
self,
|
|
693
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to delete.")] = None,
|
|
694
|
-
_request_timeout: Union[
|
|
695
|
-
None,
|
|
696
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
697
|
-
Tuple[
|
|
698
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
699
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
700
|
-
]
|
|
701
|
-
] = None,
|
|
702
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
703
|
-
_content_type: Optional[StrictStr] = None,
|
|
704
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
705
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
706
|
-
) -> RESTResponseType:
|
|
707
|
-
"""(Deprecated) Delete a datapoint.
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
:param id: The id of the datapoint to delete.
|
|
711
|
-
:type id: str
|
|
712
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
713
|
-
number provided, it will be total request
|
|
714
|
-
timeout. It can also be a pair (tuple) of
|
|
715
|
-
(connection, read) timeouts.
|
|
716
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
717
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
718
|
-
request; this effectively ignores the
|
|
719
|
-
authentication in the spec for a single request.
|
|
720
|
-
:type _request_auth: dict, optional
|
|
721
|
-
:param _content_type: force content-type for the request.
|
|
722
|
-
:type _content_type: str, Optional
|
|
723
|
-
:param _headers: set to override the headers for a single
|
|
724
|
-
request; this effectively ignores the headers
|
|
725
|
-
in the spec for a single request.
|
|
726
|
-
:type _headers: dict, optional
|
|
727
|
-
:param _host_index: set to override the host_index for a single
|
|
728
|
-
request; this effectively ignores the host_index
|
|
729
|
-
in the spec for a single request.
|
|
730
|
-
:type _host_index: int, optional
|
|
731
|
-
:return: Returns the result object.
|
|
732
|
-
""" # noqa: E501
|
|
733
|
-
warnings.warn("DELETE /datapoint/delete is deprecated.", DeprecationWarning)
|
|
734
|
-
|
|
735
|
-
_param = self._datapoint_delete_delete_serialize(
|
|
736
|
-
id=id,
|
|
737
|
-
_request_auth=_request_auth,
|
|
738
|
-
_content_type=_content_type,
|
|
739
|
-
_headers=_headers,
|
|
740
|
-
_host_index=_host_index
|
|
741
|
-
)
|
|
742
|
-
|
|
743
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
744
|
-
'200': None,
|
|
745
|
-
}
|
|
746
|
-
response_data = self.api_client.call_api(
|
|
747
|
-
*_param,
|
|
748
|
-
_request_timeout=_request_timeout
|
|
749
|
-
)
|
|
750
|
-
return response_data.response
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
def _datapoint_delete_delete_serialize(
|
|
754
|
-
self,
|
|
755
|
-
id,
|
|
756
|
-
_request_auth,
|
|
757
|
-
_content_type,
|
|
758
|
-
_headers,
|
|
759
|
-
_host_index,
|
|
760
|
-
) -> RequestSerialized:
|
|
761
|
-
|
|
762
|
-
_host = None
|
|
763
|
-
|
|
764
|
-
_collection_formats: Dict[str, str] = {
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
_path_params: Dict[str, str] = {}
|
|
768
|
-
_query_params: List[Tuple[str, str]] = []
|
|
769
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
770
|
-
_form_params: List[Tuple[str, str]] = []
|
|
771
|
-
_files: Dict[
|
|
772
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
773
|
-
] = {}
|
|
774
|
-
_body_params: Optional[bytes] = None
|
|
775
|
-
|
|
776
|
-
# process the path parameters
|
|
777
|
-
# process the query parameters
|
|
778
|
-
if id is not None:
|
|
779
|
-
|
|
780
|
-
_query_params.append(('id', id))
|
|
781
|
-
|
|
782
|
-
# process the header parameters
|
|
783
|
-
# process the form parameters
|
|
784
|
-
# process the body parameter
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
# authentication setting
|
|
790
|
-
_auth_settings: List[str] = [
|
|
791
|
-
'bearer',
|
|
792
|
-
'oauth2'
|
|
793
|
-
]
|
|
794
|
-
|
|
795
|
-
return self.api_client.param_serialize(
|
|
796
|
-
method='DELETE',
|
|
797
|
-
resource_path='/datapoint/delete',
|
|
798
|
-
path_params=_path_params,
|
|
799
|
-
query_params=_query_params,
|
|
800
|
-
header_params=_header_params,
|
|
801
|
-
body=_body_params,
|
|
802
|
-
post_params=_form_params,
|
|
803
|
-
files=_files,
|
|
804
|
-
auth_settings=_auth_settings,
|
|
805
|
-
collection_formats=_collection_formats,
|
|
806
|
-
_host=_host,
|
|
807
|
-
_request_auth=_request_auth
|
|
808
|
-
)
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
@validate_call
|
|
814
|
-
def datapoint_getalldatapointsbydatasetid_get(
|
|
815
|
-
self,
|
|
816
|
-
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to get the datapoints of.")] = None,
|
|
817
|
-
_request_timeout: Union[
|
|
818
|
-
None,
|
|
819
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
820
|
-
Tuple[
|
|
821
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
822
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
823
|
-
]
|
|
824
|
-
] = None,
|
|
825
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
826
|
-
_content_type: Optional[StrictStr] = None,
|
|
827
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
828
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
829
|
-
) -> GetDatapointsByDatasetIdResult:
|
|
830
|
-
"""(Deprecated) Get all datapoints of a dataset.
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
:param dataset_id: The id of the dataset to get the datapoints of.
|
|
834
|
-
:type dataset_id: str
|
|
835
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
836
|
-
number provided, it will be total request
|
|
837
|
-
timeout. It can also be a pair (tuple) of
|
|
838
|
-
(connection, read) timeouts.
|
|
839
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
840
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
841
|
-
request; this effectively ignores the
|
|
842
|
-
authentication in the spec for a single request.
|
|
843
|
-
:type _request_auth: dict, optional
|
|
844
|
-
:param _content_type: force content-type for the request.
|
|
845
|
-
:type _content_type: str, Optional
|
|
846
|
-
:param _headers: set to override the headers for a single
|
|
847
|
-
request; this effectively ignores the headers
|
|
848
|
-
in the spec for a single request.
|
|
849
|
-
:type _headers: dict, optional
|
|
850
|
-
:param _host_index: set to override the host_index for a single
|
|
851
|
-
request; this effectively ignores the host_index
|
|
852
|
-
in the spec for a single request.
|
|
853
|
-
:type _host_index: int, optional
|
|
854
|
-
:return: Returns the result object.
|
|
855
|
-
""" # noqa: E501
|
|
856
|
-
warnings.warn("GET /datapoint/getalldatapointsbydatasetid is deprecated.", DeprecationWarning)
|
|
857
|
-
|
|
858
|
-
_param = self._datapoint_getalldatapointsbydatasetid_get_serialize(
|
|
859
|
-
dataset_id=dataset_id,
|
|
860
|
-
_request_auth=_request_auth,
|
|
861
|
-
_content_type=_content_type,
|
|
862
|
-
_headers=_headers,
|
|
863
|
-
_host_index=_host_index
|
|
864
|
-
)
|
|
865
|
-
|
|
866
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
867
|
-
'200': "GetDatapointsByDatasetIdResult",
|
|
868
|
-
}
|
|
869
|
-
response_data = self.api_client.call_api(
|
|
870
|
-
*_param,
|
|
871
|
-
_request_timeout=_request_timeout
|
|
872
|
-
)
|
|
873
|
-
response_data.read()
|
|
874
|
-
return self.api_client.response_deserialize(
|
|
875
|
-
response_data=response_data,
|
|
876
|
-
response_types_map=_response_types_map,
|
|
877
|
-
).data
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
@validate_call
|
|
881
|
-
def datapoint_getalldatapointsbydatasetid_get_with_http_info(
|
|
882
|
-
self,
|
|
883
|
-
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to get the datapoints of.")] = None,
|
|
884
|
-
_request_timeout: Union[
|
|
885
|
-
None,
|
|
886
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
887
|
-
Tuple[
|
|
888
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
889
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
890
|
-
]
|
|
891
|
-
] = None,
|
|
892
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
893
|
-
_content_type: Optional[StrictStr] = None,
|
|
894
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
895
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
896
|
-
) -> ApiResponse[GetDatapointsByDatasetIdResult]:
|
|
897
|
-
"""(Deprecated) Get all datapoints of a dataset.
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
:param dataset_id: The id of the dataset to get the datapoints of.
|
|
901
|
-
:type dataset_id: str
|
|
902
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
903
|
-
number provided, it will be total request
|
|
904
|
-
timeout. It can also be a pair (tuple) of
|
|
905
|
-
(connection, read) timeouts.
|
|
906
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
907
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
908
|
-
request; this effectively ignores the
|
|
909
|
-
authentication in the spec for a single request.
|
|
910
|
-
:type _request_auth: dict, optional
|
|
911
|
-
:param _content_type: force content-type for the request.
|
|
912
|
-
:type _content_type: str, Optional
|
|
913
|
-
:param _headers: set to override the headers for a single
|
|
914
|
-
request; this effectively ignores the headers
|
|
915
|
-
in the spec for a single request.
|
|
916
|
-
:type _headers: dict, optional
|
|
917
|
-
:param _host_index: set to override the host_index for a single
|
|
918
|
-
request; this effectively ignores the host_index
|
|
919
|
-
in the spec for a single request.
|
|
920
|
-
:type _host_index: int, optional
|
|
921
|
-
:return: Returns the result object.
|
|
922
|
-
""" # noqa: E501
|
|
923
|
-
warnings.warn("GET /datapoint/getalldatapointsbydatasetid is deprecated.", DeprecationWarning)
|
|
924
|
-
|
|
925
|
-
_param = self._datapoint_getalldatapointsbydatasetid_get_serialize(
|
|
926
|
-
dataset_id=dataset_id,
|
|
927
|
-
_request_auth=_request_auth,
|
|
928
|
-
_content_type=_content_type,
|
|
929
|
-
_headers=_headers,
|
|
930
|
-
_host_index=_host_index
|
|
931
|
-
)
|
|
932
|
-
|
|
933
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
934
|
-
'200': "GetDatapointsByDatasetIdResult",
|
|
935
|
-
}
|
|
936
|
-
response_data = self.api_client.call_api(
|
|
937
|
-
*_param,
|
|
938
|
-
_request_timeout=_request_timeout
|
|
939
|
-
)
|
|
940
|
-
response_data.read()
|
|
941
|
-
return self.api_client.response_deserialize(
|
|
942
|
-
response_data=response_data,
|
|
943
|
-
response_types_map=_response_types_map,
|
|
944
|
-
)
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
@validate_call
|
|
948
|
-
def datapoint_getalldatapointsbydatasetid_get_without_preload_content(
|
|
949
|
-
self,
|
|
950
|
-
dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to get the datapoints of.")] = None,
|
|
951
|
-
_request_timeout: Union[
|
|
952
|
-
None,
|
|
953
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
954
|
-
Tuple[
|
|
955
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
956
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
957
|
-
]
|
|
958
|
-
] = None,
|
|
959
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
960
|
-
_content_type: Optional[StrictStr] = None,
|
|
961
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
962
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
963
|
-
) -> RESTResponseType:
|
|
964
|
-
"""(Deprecated) Get all datapoints of a dataset.
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
:param dataset_id: The id of the dataset to get the datapoints of.
|
|
968
|
-
:type dataset_id: str
|
|
969
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
970
|
-
number provided, it will be total request
|
|
971
|
-
timeout. It can also be a pair (tuple) of
|
|
972
|
-
(connection, read) timeouts.
|
|
973
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
974
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
975
|
-
request; this effectively ignores the
|
|
976
|
-
authentication in the spec for a single request.
|
|
977
|
-
:type _request_auth: dict, optional
|
|
978
|
-
:param _content_type: force content-type for the request.
|
|
979
|
-
:type _content_type: str, Optional
|
|
980
|
-
:param _headers: set to override the headers for a single
|
|
981
|
-
request; this effectively ignores the headers
|
|
982
|
-
in the spec for a single request.
|
|
983
|
-
:type _headers: dict, optional
|
|
984
|
-
:param _host_index: set to override the host_index for a single
|
|
985
|
-
request; this effectively ignores the host_index
|
|
986
|
-
in the spec for a single request.
|
|
987
|
-
:type _host_index: int, optional
|
|
988
|
-
:return: Returns the result object.
|
|
989
|
-
""" # noqa: E501
|
|
990
|
-
warnings.warn("GET /datapoint/getalldatapointsbydatasetid is deprecated.", DeprecationWarning)
|
|
991
|
-
|
|
992
|
-
_param = self._datapoint_getalldatapointsbydatasetid_get_serialize(
|
|
993
|
-
dataset_id=dataset_id,
|
|
994
|
-
_request_auth=_request_auth,
|
|
995
|
-
_content_type=_content_type,
|
|
996
|
-
_headers=_headers,
|
|
997
|
-
_host_index=_host_index
|
|
998
|
-
)
|
|
999
|
-
|
|
1000
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1001
|
-
'200': "GetDatapointsByDatasetIdResult",
|
|
1002
|
-
}
|
|
1003
|
-
response_data = self.api_client.call_api(
|
|
1004
|
-
*_param,
|
|
1005
|
-
_request_timeout=_request_timeout
|
|
1006
|
-
)
|
|
1007
|
-
return response_data.response
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
def _datapoint_getalldatapointsbydatasetid_get_serialize(
|
|
1011
|
-
self,
|
|
1012
|
-
dataset_id,
|
|
1013
|
-
_request_auth,
|
|
1014
|
-
_content_type,
|
|
1015
|
-
_headers,
|
|
1016
|
-
_host_index,
|
|
1017
|
-
) -> RequestSerialized:
|
|
1018
|
-
|
|
1019
|
-
_host = None
|
|
1020
|
-
|
|
1021
|
-
_collection_formats: Dict[str, str] = {
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
_path_params: Dict[str, str] = {}
|
|
1025
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1026
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1027
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1028
|
-
_files: Dict[
|
|
1029
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1030
|
-
] = {}
|
|
1031
|
-
_body_params: Optional[bytes] = None
|
|
1032
|
-
|
|
1033
|
-
# process the path parameters
|
|
1034
|
-
# process the query parameters
|
|
1035
|
-
if dataset_id is not None:
|
|
1036
|
-
|
|
1037
|
-
_query_params.append(('datasetId', dataset_id))
|
|
1038
|
-
|
|
1039
|
-
# process the header parameters
|
|
1040
|
-
# process the form parameters
|
|
1041
|
-
# process the body parameter
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
# set the HTTP header `Accept`
|
|
1045
|
-
if 'Accept' not in _header_params:
|
|
1046
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1047
|
-
[
|
|
1048
|
-
'text/plain',
|
|
1049
|
-
'application/json',
|
|
1050
|
-
'text/json'
|
|
1051
|
-
]
|
|
1052
|
-
)
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
# authentication setting
|
|
1056
|
-
_auth_settings: List[str] = [
|
|
1057
|
-
'bearer',
|
|
1058
|
-
'oauth2'
|
|
1059
|
-
]
|
|
1060
|
-
|
|
1061
|
-
return self.api_client.param_serialize(
|
|
1062
|
-
method='GET',
|
|
1063
|
-
resource_path='/datapoint/getalldatapointsbydatasetid',
|
|
1064
|
-
path_params=_path_params,
|
|
1065
|
-
query_params=_query_params,
|
|
1066
|
-
header_params=_header_params,
|
|
1067
|
-
body=_body_params,
|
|
1068
|
-
post_params=_form_params,
|
|
1069
|
-
files=_files,
|
|
1070
|
-
auth_settings=_auth_settings,
|
|
1071
|
-
collection_formats=_collection_formats,
|
|
1072
|
-
_host=_host,
|
|
1073
|
-
_request_auth=_request_auth
|
|
1074
|
-
)
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
@validate_call
|
|
1080
|
-
def datapoint_getbyid_get(
|
|
1081
|
-
self,
|
|
1082
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to get.")] = None,
|
|
1083
|
-
_request_timeout: Union[
|
|
1084
|
-
None,
|
|
1085
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1086
|
-
Tuple[
|
|
1087
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1088
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1089
|
-
]
|
|
1090
|
-
] = None,
|
|
1091
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1092
|
-
_content_type: Optional[StrictStr] = None,
|
|
1093
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1094
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1095
|
-
) -> GetDatapointByIdResult:
|
|
1096
|
-
"""(Deprecated) Get a datapoint by its id.
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
:param id: The id of the datapoint to get.
|
|
1100
|
-
:type id: str
|
|
1101
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1102
|
-
number provided, it will be total request
|
|
1103
|
-
timeout. It can also be a pair (tuple) of
|
|
1104
|
-
(connection, read) timeouts.
|
|
1105
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1106
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1107
|
-
request; this effectively ignores the
|
|
1108
|
-
authentication in the spec for a single request.
|
|
1109
|
-
:type _request_auth: dict, optional
|
|
1110
|
-
:param _content_type: force content-type for the request.
|
|
1111
|
-
:type _content_type: str, Optional
|
|
1112
|
-
:param _headers: set to override the headers for a single
|
|
1113
|
-
request; this effectively ignores the headers
|
|
1114
|
-
in the spec for a single request.
|
|
1115
|
-
:type _headers: dict, optional
|
|
1116
|
-
:param _host_index: set to override the host_index for a single
|
|
1117
|
-
request; this effectively ignores the host_index
|
|
1118
|
-
in the spec for a single request.
|
|
1119
|
-
:type _host_index: int, optional
|
|
1120
|
-
:return: Returns the result object.
|
|
1121
|
-
""" # noqa: E501
|
|
1122
|
-
warnings.warn("GET /datapoint/getbyid is deprecated.", DeprecationWarning)
|
|
1123
|
-
|
|
1124
|
-
_param = self._datapoint_getbyid_get_serialize(
|
|
1125
|
-
id=id,
|
|
1126
|
-
_request_auth=_request_auth,
|
|
1127
|
-
_content_type=_content_type,
|
|
1128
|
-
_headers=_headers,
|
|
1129
|
-
_host_index=_host_index
|
|
1130
|
-
)
|
|
1131
|
-
|
|
1132
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1133
|
-
'200': "GetDatapointByIdResult",
|
|
1134
|
-
}
|
|
1135
|
-
response_data = self.api_client.call_api(
|
|
1136
|
-
*_param,
|
|
1137
|
-
_request_timeout=_request_timeout
|
|
1138
|
-
)
|
|
1139
|
-
response_data.read()
|
|
1140
|
-
return self.api_client.response_deserialize(
|
|
1141
|
-
response_data=response_data,
|
|
1142
|
-
response_types_map=_response_types_map,
|
|
1143
|
-
).data
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
@validate_call
|
|
1147
|
-
def datapoint_getbyid_get_with_http_info(
|
|
1148
|
-
self,
|
|
1149
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to get.")] = None,
|
|
1150
|
-
_request_timeout: Union[
|
|
1151
|
-
None,
|
|
1152
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1153
|
-
Tuple[
|
|
1154
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1155
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1156
|
-
]
|
|
1157
|
-
] = None,
|
|
1158
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1159
|
-
_content_type: Optional[StrictStr] = None,
|
|
1160
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1161
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1162
|
-
) -> ApiResponse[GetDatapointByIdResult]:
|
|
1163
|
-
"""(Deprecated) Get a datapoint by its id.
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
:param id: The id of the datapoint to get.
|
|
1167
|
-
:type id: str
|
|
1168
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1169
|
-
number provided, it will be total request
|
|
1170
|
-
timeout. It can also be a pair (tuple) of
|
|
1171
|
-
(connection, read) timeouts.
|
|
1172
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1173
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1174
|
-
request; this effectively ignores the
|
|
1175
|
-
authentication in the spec for a single request.
|
|
1176
|
-
:type _request_auth: dict, optional
|
|
1177
|
-
:param _content_type: force content-type for the request.
|
|
1178
|
-
:type _content_type: str, Optional
|
|
1179
|
-
:param _headers: set to override the headers for a single
|
|
1180
|
-
request; this effectively ignores the headers
|
|
1181
|
-
in the spec for a single request.
|
|
1182
|
-
:type _headers: dict, optional
|
|
1183
|
-
:param _host_index: set to override the host_index for a single
|
|
1184
|
-
request; this effectively ignores the host_index
|
|
1185
|
-
in the spec for a single request.
|
|
1186
|
-
:type _host_index: int, optional
|
|
1187
|
-
:return: Returns the result object.
|
|
1188
|
-
""" # noqa: E501
|
|
1189
|
-
warnings.warn("GET /datapoint/getbyid is deprecated.", DeprecationWarning)
|
|
1190
|
-
|
|
1191
|
-
_param = self._datapoint_getbyid_get_serialize(
|
|
1192
|
-
id=id,
|
|
1193
|
-
_request_auth=_request_auth,
|
|
1194
|
-
_content_type=_content_type,
|
|
1195
|
-
_headers=_headers,
|
|
1196
|
-
_host_index=_host_index
|
|
1197
|
-
)
|
|
1198
|
-
|
|
1199
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1200
|
-
'200': "GetDatapointByIdResult",
|
|
1201
|
-
}
|
|
1202
|
-
response_data = self.api_client.call_api(
|
|
1203
|
-
*_param,
|
|
1204
|
-
_request_timeout=_request_timeout
|
|
1205
|
-
)
|
|
1206
|
-
response_data.read()
|
|
1207
|
-
return self.api_client.response_deserialize(
|
|
1208
|
-
response_data=response_data,
|
|
1209
|
-
response_types_map=_response_types_map,
|
|
1210
|
-
)
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
@validate_call
|
|
1214
|
-
def datapoint_getbyid_get_without_preload_content(
|
|
1215
|
-
self,
|
|
1216
|
-
id: Annotated[Optional[StrictStr], Field(description="The id of the datapoint to get.")] = None,
|
|
1217
|
-
_request_timeout: Union[
|
|
1218
|
-
None,
|
|
1219
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1220
|
-
Tuple[
|
|
1221
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1222
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1223
|
-
]
|
|
1224
|
-
] = None,
|
|
1225
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1226
|
-
_content_type: Optional[StrictStr] = None,
|
|
1227
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1228
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1229
|
-
) -> RESTResponseType:
|
|
1230
|
-
"""(Deprecated) Get a datapoint by its id.
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
:param id: The id of the datapoint to get.
|
|
1234
|
-
:type id: str
|
|
1235
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1236
|
-
number provided, it will be total request
|
|
1237
|
-
timeout. It can also be a pair (tuple) of
|
|
1238
|
-
(connection, read) timeouts.
|
|
1239
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1240
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1241
|
-
request; this effectively ignores the
|
|
1242
|
-
authentication in the spec for a single request.
|
|
1243
|
-
:type _request_auth: dict, optional
|
|
1244
|
-
:param _content_type: force content-type for the request.
|
|
1245
|
-
:type _content_type: str, Optional
|
|
1246
|
-
:param _headers: set to override the headers for a single
|
|
1247
|
-
request; this effectively ignores the headers
|
|
1248
|
-
in the spec for a single request.
|
|
1249
|
-
:type _headers: dict, optional
|
|
1250
|
-
:param _host_index: set to override the host_index for a single
|
|
1251
|
-
request; this effectively ignores the host_index
|
|
1252
|
-
in the spec for a single request.
|
|
1253
|
-
:type _host_index: int, optional
|
|
1254
|
-
:return: Returns the result object.
|
|
1255
|
-
""" # noqa: E501
|
|
1256
|
-
warnings.warn("GET /datapoint/getbyid is deprecated.", DeprecationWarning)
|
|
1257
|
-
|
|
1258
|
-
_param = self._datapoint_getbyid_get_serialize(
|
|
1259
|
-
id=id,
|
|
1260
|
-
_request_auth=_request_auth,
|
|
1261
|
-
_content_type=_content_type,
|
|
1262
|
-
_headers=_headers,
|
|
1263
|
-
_host_index=_host_index
|
|
1264
|
-
)
|
|
1265
|
-
|
|
1266
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1267
|
-
'200': "GetDatapointByIdResult",
|
|
1268
|
-
}
|
|
1269
|
-
response_data = self.api_client.call_api(
|
|
1270
|
-
*_param,
|
|
1271
|
-
_request_timeout=_request_timeout
|
|
1272
|
-
)
|
|
1273
|
-
return response_data.response
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
def _datapoint_getbyid_get_serialize(
|
|
1277
|
-
self,
|
|
1278
|
-
id,
|
|
1279
|
-
_request_auth,
|
|
1280
|
-
_content_type,
|
|
1281
|
-
_headers,
|
|
1282
|
-
_host_index,
|
|
1283
|
-
) -> RequestSerialized:
|
|
1284
|
-
|
|
1285
|
-
_host = None
|
|
1286
|
-
|
|
1287
|
-
_collection_formats: Dict[str, str] = {
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
_path_params: Dict[str, str] = {}
|
|
1291
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1292
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1293
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1294
|
-
_files: Dict[
|
|
1295
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1296
|
-
] = {}
|
|
1297
|
-
_body_params: Optional[bytes] = None
|
|
1298
|
-
|
|
1299
|
-
# process the path parameters
|
|
1300
|
-
# process the query parameters
|
|
1301
|
-
if id is not None:
|
|
1302
|
-
|
|
1303
|
-
_query_params.append(('id', id))
|
|
1304
|
-
|
|
1305
|
-
# process the header parameters
|
|
1306
|
-
# process the form parameters
|
|
1307
|
-
# process the body parameter
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
# set the HTTP header `Accept`
|
|
1311
|
-
if 'Accept' not in _header_params:
|
|
1312
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1313
|
-
[
|
|
1314
|
-
'text/plain',
|
|
1315
|
-
'application/json',
|
|
1316
|
-
'text/json'
|
|
1317
|
-
]
|
|
1318
|
-
)
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
# authentication setting
|
|
1322
|
-
_auth_settings: List[str] = [
|
|
1323
|
-
'bearer',
|
|
1324
|
-
'oauth2'
|
|
1325
|
-
]
|
|
1326
|
-
|
|
1327
|
-
return self.api_client.param_serialize(
|
|
1328
|
-
method='GET',
|
|
1329
|
-
resource_path='/datapoint/getbyid',
|
|
1330
|
-
path_params=_path_params,
|
|
1331
|
-
query_params=_query_params,
|
|
1332
|
-
header_params=_header_params,
|
|
1333
|
-
body=_body_params,
|
|
1334
|
-
post_params=_form_params,
|
|
1335
|
-
files=_files,
|
|
1336
|
-
auth_settings=_auth_settings,
|
|
1337
|
-
collection_formats=_collection_formats,
|
|
1338
|
-
_host=_host,
|
|
1339
|
-
_request_auth=_request_auth
|
|
1340
|
-
)
|
|
1341
|
-
|
|
1342
|
-
|