rapidata 2.35.1__py3-none-any.whl → 3.0.0a8__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.

Files changed (790) hide show
  1. rapidata/__init__.py +25 -16
  2. rapidata/api_client/__init__.py +84 -408
  3. rapidata/api_client/api/__init__.py +6 -2
  4. rapidata/api_client/api/asset_api.py +853 -0
  5. rapidata/api_client/api/audience_api.py +2505 -0
  6. rapidata/api_client/api/benchmark_api.py +904 -245
  7. rapidata/api_client/api/campaign_api.py +582 -24
  8. rapidata/api_client/api/client_api.py +38 -33
  9. rapidata/api_client/api/compare_workflow_api.py +11 -10
  10. rapidata/api_client/api/customer_rapid_api.py +364 -123
  11. rapidata/api_client/api/datapoint_api.py +8 -6
  12. rapidata/api_client/api/dataset_api.py +240 -1516
  13. rapidata/api_client/api/evaluation_workflow_api.py +29 -82
  14. rapidata/api_client/api/feedback_api.py +11 -11
  15. rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
  16. rapidata/api_client/api/identity_api.py +26 -300
  17. rapidata/api_client/api/job_api.py +3902 -0
  18. rapidata/api_client/api/job_definition_api.py +319 -0
  19. rapidata/api_client/api/job_revision_api.py +335 -0
  20. rapidata/api_client/api/leaderboard_api.py +140 -2067
  21. rapidata/api_client/api/newsletter_api.py +20 -19
  22. rapidata/api_client/api/order_api.py +375 -91
  23. rapidata/api_client/api/participant_api.py +80 -118
  24. rapidata/api_client/api/pipeline_api.py +24 -1480
  25. rapidata/api_client/api/prompt_api.py +11 -11
  26. rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
  27. rapidata/api_client/api/sample_api.py +300 -0
  28. rapidata/api_client/api/simple_workflow_api.py +11 -10
  29. rapidata/api_client/api/survey_api.py +304 -0
  30. rapidata/api_client/api/user_rapid_api.py +35 -31
  31. rapidata/api_client/api/validation_set_api.py +377 -1835
  32. rapidata/api_client/api/workflow_api.py +32 -26
  33. rapidata/api_client/api_client.py +2 -2
  34. rapidata/api_client/configuration.py +16 -29
  35. rapidata/api_client/exceptions.py +2 -2
  36. rapidata/api_client/models/__init__.py +65 -382
  37. rapidata/api_client/models/ab_test_selection_a_inner.py +1 -1
  38. rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
  39. rapidata/api_client/models/add_user_response_result.py +10 -5
  40. rapidata/api_client/models/add_validation_rapid_model.py +49 -26
  41. rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
  42. rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
  43. rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
  44. rapidata/api_client/models/add_validation_rapid_model_truth.py +7 -1
  45. rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
  46. rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
  47. rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
  48. rapidata/api_client/models/age_user_filter_model.py +2 -2
  49. rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
  50. rapidata/api_client/models/aggregated_orders_model.py +98 -0
  51. rapidata/api_client/models/aggregator_type.py +4 -2
  52. rapidata/api_client/models/and_filter.py +121 -0
  53. rapidata/api_client/models/and_filter_filters_inner.py +282 -0
  54. rapidata/api_client/models/are_rapids_active_result.py +2 -2
  55. rapidata/api_client/models/asset_metadata.py +11 -9
  56. rapidata/api_client/models/asset_type.py +40 -0
  57. rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
  58. rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
  59. rapidata/api_client/models/audience_job_state.py +38 -0
  60. rapidata/api_client/models/audience_status.py +39 -0
  61. rapidata/api_client/models/benchmark_query_result.py +5 -3
  62. rapidata/api_client/models/boost_leaderboard_model.py +5 -5
  63. rapidata/api_client/models/boost_mode.py +37 -0
  64. rapidata/api_client/models/boost_query_result.py +7 -10
  65. rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
  66. rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
  67. rapidata/api_client/models/boosting_profile.py +91 -0
  68. rapidata/api_client/models/box_shape.py +4 -33
  69. rapidata/api_client/models/campaign_filter.py +98 -0
  70. rapidata/api_client/models/campaign_query_result.py +15 -13
  71. rapidata/api_client/models/campaign_status.py +2 -2
  72. rapidata/api_client/models/change_boost_model.py +89 -0
  73. rapidata/api_client/models/classification_metadata.py +12 -1
  74. rapidata/api_client/models/classify_payload.py +14 -15
  75. rapidata/api_client/models/classify_payload_category.py +89 -0
  76. rapidata/api_client/models/client_model.py +25 -35
  77. rapidata/api_client/models/clients_query_result.py +5 -5
  78. rapidata/api_client/models/clone_order_model.py +4 -4
  79. rapidata/api_client/models/clone_order_result.py +9 -4
  80. rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
  81. rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
  82. rapidata/api_client/models/compare_workflow_config.py +34 -23
  83. rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
  84. rapidata/api_client/models/compare_workflow_config_model.py +15 -5
  85. rapidata/api_client/models/compare_workflow_model.py +34 -6
  86. rapidata/api_client/models/compare_workflow_model1.py +20 -9
  87. rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
  88. rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
  89. rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
  90. rapidata/api_client/models/comparison_operator.py +2 -2
  91. rapidata/api_client/models/conditional_validation_selection.py +6 -11
  92. rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
  93. rapidata/api_client/models/confidence_interval.py +89 -0
  94. rapidata/api_client/models/count_metadata.py +12 -1
  95. rapidata/api_client/models/country_filter.py +98 -0
  96. rapidata/api_client/models/create_audience_request.py +122 -0
  97. rapidata/api_client/models/create_audience_result.py +87 -0
  98. rapidata/api_client/models/create_benchmark_model.py +5 -5
  99. rapidata/api_client/models/create_benchmark_participant_model.py +5 -5
  100. rapidata/api_client/models/create_benchmark_participant_result.py +4 -4
  101. rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
  102. rapidata/api_client/models/create_benchmark_result.py +2 -2
  103. rapidata/api_client/models/create_bridge_token_result.py +2 -2
  104. rapidata/api_client/models/create_client_model.py +6 -13
  105. rapidata/api_client/models/create_complex_order_model.py +9 -9
  106. rapidata/api_client/models/create_complex_order_result.py +2 -2
  107. rapidata/api_client/models/create_customer_client_result.py +2 -2
  108. rapidata/api_client/models/create_datapoint_from_files_model.py +3 -3
  109. rapidata/api_client/models/create_datapoint_from_text_sources_model.py +3 -3
  110. rapidata/api_client/models/create_datapoint_from_urls_model.py +3 -3
  111. rapidata/api_client/models/create_datapoint_model.py +124 -0
  112. rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
  113. rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
  114. rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
  115. rapidata/api_client/models/create_datapoint_result.py +2 -2
  116. rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
  117. rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
  118. rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
  119. rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
  120. rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
  121. rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
  122. rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
  123. rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
  124. rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
  125. rapidata/api_client/models/create_job_endpoint_input.py +100 -0
  126. rapidata/api_client/models/create_job_endpoint_output.py +89 -0
  127. rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
  128. rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
  129. rapidata/api_client/models/create_leaderboard_model.py +42 -15
  130. rapidata/api_client/models/create_leaderboard_result.py +2 -2
  131. rapidata/api_client/models/create_order_definition_model.py +119 -0
  132. rapidata/api_client/models/create_order_definition_result.py +87 -0
  133. rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
  134. rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
  135. rapidata/api_client/models/create_order_model.py +30 -101
  136. rapidata/api_client/models/create_order_model_referee.py +12 -12
  137. rapidata/api_client/models/create_order_model_workflow.py +35 -21
  138. rapidata/api_client/models/create_order_result.py +2 -2
  139. rapidata/api_client/models/create_rapid_result.py +2 -2
  140. rapidata/api_client/models/create_sample_model.py +13 -7
  141. rapidata/api_client/models/create_sample_model_asset.py +154 -0
  142. rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
  143. rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
  144. rapidata/api_client/models/create_unsupported_order_model.py +6 -6
  145. rapidata/api_client/models/create_validation_set_model.py +5 -5
  146. rapidata/api_client/models/datapoint_model.py +3 -3
  147. rapidata/api_client/models/datapoint_state.py +2 -2
  148. rapidata/api_client/models/definition_type.py +49 -0
  149. rapidata/api_client/models/demographic_filter.py +100 -0
  150. rapidata/api_client/models/dynamic_client_registration_request.py +21 -36
  151. rapidata/api_client/models/early_stopping_referee_model.py +3 -3
  152. rapidata/api_client/models/effort_capped_selection.py +2 -11
  153. rapidata/api_client/models/elo_config.py +2 -2
  154. rapidata/api_client/models/elo_config_model.py +6 -6
  155. rapidata/api_client/models/entity_tag_header_value.py +93 -0
  156. rapidata/api_client/models/evaluation_workflow_config.py +13 -3
  157. rapidata/api_client/models/evaluation_workflow_model.py +16 -6
  158. rapidata/api_client/models/existing_asset_input.py +109 -0
  159. rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
  160. rapidata/api_client/models/feature_flag.py +2 -2
  161. rapidata/api_client/models/feature_flag_model.py +6 -6
  162. rapidata/api_client/models/feedback_model.py +7 -7
  163. rapidata/api_client/models/file_asset.py +3 -5
  164. rapidata/api_client/models/file_asset_input_file.py +8 -22
  165. rapidata/api_client/models/file_asset_metadata_value.py +252 -0
  166. rapidata/api_client/models/file_asset_model_metadata_value.py +18 -88
  167. rapidata/api_client/models/file_stream_result.py +122 -0
  168. rapidata/api_client/models/file_type.py +2 -2
  169. rapidata/api_client/models/file_type_metadata.py +11 -6
  170. rapidata/api_client/models/file_type_metadata_model.py +2 -8
  171. rapidata/api_client/models/filter.py +7 -25
  172. rapidata/api_client/models/filter_operator.py +2 -2
  173. rapidata/api_client/models/fork_benchmark_result.py +87 -0
  174. rapidata/api_client/models/form_file_wrapper.py +17 -2
  175. rapidata/api_client/models/free_text_payload.py +10 -3
  176. rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
  177. rapidata/api_client/models/gender_user_filter_model.py +2 -2
  178. rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
  179. rapidata/api_client/models/get_asset_metadata_result.py +100 -0
  180. rapidata/api_client/models/get_audience_by_id_result.py +118 -0
  181. rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
  182. rapidata/api_client/models/get_benchmark_by_id_result.py +8 -4
  183. rapidata/api_client/models/get_boost_result.py +97 -0
  184. rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
  185. rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
  186. rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
  187. rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
  188. rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
  189. rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
  190. rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
  191. rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
  192. rapidata/api_client/models/get_dataset_progress_result.py +2 -2
  193. rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
  194. rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
  195. rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
  196. rapidata/api_client/models/get_file_metadata_result.py +100 -0
  197. rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
  198. rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
  199. rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
  200. rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
  201. rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
  202. rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
  203. rapidata/api_client/models/get_leaderboard_by_id_result.py +31 -4
  204. rapidata/api_client/models/get_order_by_id_result.py +12 -5
  205. rapidata/api_client/models/get_participant_by_id_result.py +4 -6
  206. rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
  207. rapidata/api_client/models/get_public_orders_result.py +2 -2
  208. rapidata/api_client/models/get_public_responses_result.py +95 -0
  209. rapidata/api_client/models/get_public_responses_result_response.py +112 -0
  210. rapidata/api_client/models/get_rapid_responses_result.py +6 -12
  211. rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
  212. rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
  213. rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
  214. rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
  215. rapidata/api_client/models/get_responses_result.py +5 -5
  216. rapidata/api_client/models/get_responses_result_response.py +103 -0
  217. rapidata/api_client/models/get_sample_by_id_result.py +125 -0
  218. rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
  219. rapidata/api_client/models/get_standing_by_id_result.py +6 -14
  220. rapidata/api_client/models/get_validation_rapids_result.py +32 -41
  221. rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
  222. rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
  223. rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
  224. rapidata/api_client/models/get_workflow_progress_result.py +5 -11
  225. rapidata/api_client/models/get_workflow_results_result.py +34 -23
  226. rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
  227. rapidata/api_client/models/google_one_tap_login_model.py +4 -4
  228. rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
  229. rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
  230. rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
  231. rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
  232. rapidata/api_client/models/i_artifact_model.py +182 -0
  233. rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
  234. rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
  235. rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
  236. rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
  237. rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
  238. rapidata/api_client/models/i_asset.py +170 -0
  239. rapidata/api_client/models/i_asset_file_asset.py +111 -0
  240. rapidata/api_client/models/i_asset_input.py +156 -0
  241. rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
  242. rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
  243. rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
  244. rapidata/api_client/models/i_asset_model.py +170 -0
  245. rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
  246. rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
  247. rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
  248. rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
  249. rapidata/api_client/models/i_asset_multi_asset.py +121 -0
  250. rapidata/api_client/models/i_asset_null_asset.py +109 -0
  251. rapidata/api_client/models/i_asset_text_asset.py +111 -0
  252. rapidata/api_client/models/i_audience_filter.py +184 -0
  253. rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
  254. rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
  255. rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
  256. rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
  257. rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
  258. rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
  259. rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
  260. rapidata/api_client/models/i_campaign_filter.py +296 -0
  261. rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
  262. rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
  263. rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
  264. rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
  265. rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
  266. rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
  267. rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
  268. rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
  269. rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
  270. rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
  271. rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
  272. rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
  273. rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
  274. rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
  275. rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
  276. rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
  277. rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
  278. rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
  279. rapidata/api_client/models/i_dataset_model.py +126 -0
  280. rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
  281. rapidata/api_client/models/i_metadata.py +252 -0
  282. rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
  283. rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
  284. rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
  285. rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
  286. rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
  287. rapidata/api_client/models/i_metadata_input.py +126 -0
  288. rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
  289. rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
  290. rapidata/api_client/models/i_metadata_model.py +252 -0
  291. rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
  292. rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
  293. rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
  294. rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
  295. rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
  296. rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
  297. rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
  298. rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
  299. rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
  300. rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
  301. rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
  302. rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
  303. rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
  304. rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
  305. rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
  306. rapidata/api_client/models/i_order_workflow_model.py +168 -0
  307. rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
  308. rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
  309. rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
  310. rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
  311. rapidata/api_client/models/i_pair_maker_config.py +126 -0
  312. rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
  313. rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
  314. rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
  315. rapidata/api_client/models/i_pair_maker_information.py +126 -0
  316. rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
  317. rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
  318. rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
  319. rapidata/api_client/models/i_pipeline_model.py +126 -0
  320. rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
  321. rapidata/api_client/models/i_pipeline_step_model.py +168 -0
  322. rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
  323. rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
  324. rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
  325. rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
  326. rapidata/api_client/models/i_rapid_blueprint.py +252 -0
  327. rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
  328. rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
  329. rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
  330. rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
  331. rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
  332. rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
  333. rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
  334. rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
  335. rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
  336. rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
  337. rapidata/api_client/models/i_rapid_payload.py +252 -0
  338. rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
  339. rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
  340. rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
  341. rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
  342. rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
  343. rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
  344. rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
  345. rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
  346. rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
  347. rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
  348. rapidata/api_client/models/i_rapid_result.py +266 -0
  349. rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
  350. rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
  351. rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
  352. rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
  353. rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
  354. rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
  355. rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
  356. rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
  357. rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
  358. rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
  359. rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
  360. rapidata/api_client/models/i_referee_config.py +154 -0
  361. rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
  362. rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
  363. rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
  364. rapidata/api_client/models/i_referee_info.py +154 -0
  365. rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
  366. rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
  367. rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
  368. rapidata/api_client/models/i_referee_model.py +140 -0
  369. rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
  370. rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
  371. rapidata/api_client/models/i_selection.py +240 -0
  372. rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
  373. rapidata/api_client/models/i_selection_capped_selection.py +108 -0
  374. rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
  375. rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
  376. rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
  377. rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
  378. rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
  379. rapidata/api_client/models/i_selection_static_selection.py +96 -0
  380. rapidata/api_client/models/i_selection_validation_selection.py +98 -0
  381. rapidata/api_client/models/i_user_filter_model.py +296 -0
  382. rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
  383. rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
  384. rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
  385. rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
  386. rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
  387. rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
  388. rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
  389. rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
  390. rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
  391. rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
  392. rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
  393. rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
  394. rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
  395. rapidata/api_client/models/i_validation_metadata_input.py +140 -0
  396. rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
  397. rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
  398. rapidata/api_client/models/i_validation_truth.py +280 -0
  399. rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
  400. rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
  401. rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
  402. rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
  403. rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
  404. rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
  405. rapidata/api_client/models/i_validation_truth_model.py +294 -0
  406. rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
  407. rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
  408. rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
  409. rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
  410. rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
  411. rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
  412. rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
  413. rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
  414. rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
  415. rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
  416. rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
  417. rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
  418. rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
  419. rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
  420. rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
  421. rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
  422. rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
  423. rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
  424. rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
  425. rapidata/api_client/models/i_workflow_config.py +168 -0
  426. rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
  427. rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
  428. rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
  429. rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
  430. rapidata/api_client/models/i_workflow_model.py +168 -0
  431. rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
  432. rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
  433. rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
  434. rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
  435. rapidata/api_client/models/image_dimension_metadata.py +12 -1
  436. rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
  437. rapidata/api_client/models/inspect_report_result.py +2 -2
  438. rapidata/api_client/models/job_definition_revision_state.py +38 -0
  439. rapidata/api_client/models/json_web_key.py +2 -36
  440. rapidata/api_client/models/json_web_key_set.py +2 -22
  441. rapidata/api_client/models/labeling_selection.py +11 -13
  442. rapidata/api_client/models/language_filter.py +98 -0
  443. rapidata/api_client/models/leaderboard_query_result.py +29 -2
  444. rapidata/api_client/models/leaderboards_query_result.py +135 -0
  445. rapidata/api_client/models/line_result.py +3 -3
  446. rapidata/api_client/models/line_result_line.py +97 -0
  447. rapidata/api_client/models/line_result_line_point.py +89 -0
  448. rapidata/api_client/models/locate_coordinate.py +4 -13
  449. rapidata/api_client/models/location_metadata.py +12 -1
  450. rapidata/api_client/models/logic_operator.py +2 -2
  451. rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
  452. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
  453. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
  454. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
  455. rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
  456. rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
  457. rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
  458. rapidata/api_client/models/multi_asset.py +6 -6
  459. rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
  460. rapidata/api_client/models/multi_asset_input.py +21 -1
  461. rapidata/api_client/models/multi_asset_input1_assets_inner.py +40 -12
  462. rapidata/api_client/models/multi_asset_input3_assets_inner.py +40 -12
  463. rapidata/api_client/models/multi_asset_input_assets_inner.py +16 -30
  464. rapidata/api_client/models/multi_asset_model.py +3 -3
  465. rapidata/api_client/models/naive_referee_model.py +2 -2
  466. rapidata/api_client/models/named_classification.py +4 -13
  467. rapidata/api_client/models/new_user_filter.py +96 -0
  468. rapidata/api_client/models/newsletter_model.py +6 -6
  469. rapidata/api_client/models/not_available_yet_result.py +4 -13
  470. rapidata/api_client/models/not_filter.py +117 -0
  471. rapidata/api_client/models/null_asset.py +3 -5
  472. rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
  473. rapidata/api_client/models/option_of_aggregator_type.py +49 -0
  474. rapidata/api_client/models/or_filter.py +121 -0
  475. rapidata/api_client/models/order_model.py +15 -14
  476. rapidata/api_client/models/order_state.py +2 -2
  477. rapidata/api_client/models/original_filename_metadata.py +12 -1
  478. rapidata/api_client/models/page_info.py +2 -7
  479. rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
  480. rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
  481. rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
  482. rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
  483. rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
  484. rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
  485. rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
  486. rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
  487. rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
  488. rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
  489. rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
  490. rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
  491. rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
  492. rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
  493. rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
  494. rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
  495. rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
  496. rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
  497. rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
  498. rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
  499. rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
  500. rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
  501. rapidata/api_client/models/paged_result_of_order_model.py +103 -0
  502. rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
  503. rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
  504. rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
  505. rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
  506. rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
  507. rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
  508. rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
  509. rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
  510. rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
  511. rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
  512. rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
  513. rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
  514. rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
  515. rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
  516. rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
  517. rapidata/api_client/models/paged_result_order_model.py +105 -0
  518. rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
  519. rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
  520. rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
  521. rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
  522. rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
  523. rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
  524. rapidata/api_client/models/paged_result_rapid_model.py +105 -0
  525. rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
  526. rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
  527. rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
  528. rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
  529. rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
  530. rapidata/api_client/models/participant_by_benchmark.py +6 -14
  531. rapidata/api_client/models/participant_status.py +2 -2
  532. rapidata/api_client/models/polygon_result.py +3 -3
  533. rapidata/api_client/models/polygon_result_coordinate.py +89 -0
  534. rapidata/api_client/models/polygon_result_shape.py +95 -0
  535. rapidata/api_client/models/preliminary_download_model.py +5 -5
  536. rapidata/api_client/models/preview_order_model.py +5 -5
  537. rapidata/api_client/models/problem_details.py +2 -20
  538. rapidata/api_client/models/prompt_asset_metadata_input.py +4 -6
  539. rapidata/api_client/models/prompt_asset_metadata_input_asset.py +25 -41
  540. rapidata/api_client/models/prompt_by_benchmark_result.py +5 -5
  541. rapidata/api_client/models/prompt_metadata.py +12 -1
  542. rapidata/api_client/models/prompt_metadata_input.py +5 -7
  543. rapidata/api_client/models/prompt_type.py +38 -0
  544. rapidata/api_client/models/proxy_file_wrapper.py +17 -2
  545. rapidata/api_client/models/public_order_model.py +2 -2
  546. rapidata/api_client/models/public_rapid_response.py +112 -0
  547. rapidata/api_client/models/query_audiences_result.py +118 -0
  548. rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
  549. rapidata/api_client/models/query_job_definitions_result.py +97 -0
  550. rapidata/api_client/models/query_job_revisions_result.py +95 -0
  551. rapidata/api_client/models/query_jobs_result.py +103 -0
  552. rapidata/api_client/models/query_model.py +10 -5
  553. rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
  554. rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
  555. rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
  556. rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
  557. rapidata/api_client/models/rapid_issue.py +2 -2
  558. rapidata/api_client/models/rapid_modality.py +46 -0
  559. rapidata/api_client/models/rapid_model.py +33 -49
  560. rapidata/api_client/models/rapid_result_model.py +7 -7
  561. rapidata/api_client/models/rapid_skipped_model.py +5 -5
  562. rapidata/api_client/models/rapid_state.py +2 -2
  563. rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
  564. rapidata/api_client/models/reference_asset_input.py +100 -0
  565. rapidata/api_client/models/report_model.py +9 -15
  566. rapidata/api_client/models/response_count_filter.py +103 -0
  567. rapidata/api_client/models/response_count_user_filter_model.py +2 -8
  568. rapidata/api_client/models/retrieval_mode.py +2 -2
  569. rapidata/api_client/models/root_filter.py +5 -14
  570. rapidata/api_client/models/run_status.py +2 -2
  571. rapidata/api_client/models/runs_by_leaderboard_result.py +6 -12
  572. rapidata/api_client/models/sample_by_identifier.py +125 -0
  573. rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
  574. rapidata/api_client/models/sample_by_participant.py +7 -8
  575. rapidata/api_client/models/scrub_range.py +2 -2
  576. rapidata/api_client/models/send_survey_model.py +87 -0
  577. rapidata/api_client/models/simple_workflow_config.py +15 -5
  578. rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
  579. rapidata/api_client/models/simple_workflow_config_model.py +11 -3
  580. rapidata/api_client/models/simple_workflow_model.py +14 -4
  581. rapidata/api_client/models/simple_workflow_model1.py +4 -11
  582. rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
  583. rapidata/api_client/models/sort_criterion.py +5 -11
  584. rapidata/api_client/models/sort_direction.py +2 -2
  585. rapidata/api_client/models/source_url_metadata.py +12 -1
  586. rapidata/api_client/models/standing_by_benchmark.py +113 -0
  587. rapidata/api_client/models/standing_by_leaderboard.py +19 -21
  588. rapidata/api_client/models/standing_status.py +2 -2
  589. rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
  590. rapidata/api_client/models/standings_by_leaderboard_result.py +2 -2
  591. rapidata/api_client/models/start_preliminary_download_result.py +87 -0
  592. rapidata/api_client/models/sticky_state.py +3 -2
  593. rapidata/api_client/models/stream_file_wrapper.py +25 -3
  594. rapidata/api_client/models/streams_metadata.py +12 -1
  595. rapidata/api_client/models/string_segment.py +105 -0
  596. rapidata/api_client/models/submit_order_model.py +5 -5
  597. rapidata/api_client/models/submit_participant_result.py +2 -2
  598. rapidata/api_client/models/submit_prompt_model.py +9 -14
  599. rapidata/api_client/models/submit_prompt_model_prompt_asset.py +40 -12
  600. rapidata/api_client/models/tags_by_benchmark_result.py +2 -2
  601. rapidata/api_client/models/text_asset.py +3 -5
  602. rapidata/api_client/models/text_asset_input.py +21 -1
  603. rapidata/api_client/models/text_metadata.py +18 -2
  604. rapidata/api_client/models/text_metadata_input.py +111 -0
  605. rapidata/api_client/models/text_metadata_model.py +7 -2
  606. rapidata/api_client/models/transcription_metadata.py +9 -1
  607. rapidata/api_client/models/transcription_metadata_input.py +5 -7
  608. rapidata/api_client/models/transcription_word.py +2 -2
  609. rapidata/api_client/models/translated_string.py +2 -2
  610. rapidata/api_client/models/unlock_order_result.py +2 -2
  611. rapidata/api_client/models/update_audience_request.py +113 -0
  612. rapidata/api_client/models/update_benchmark_model.py +99 -0
  613. rapidata/api_client/models/update_benchmark_name_model.py +5 -5
  614. rapidata/api_client/models/update_campaign_model.py +11 -11
  615. rapidata/api_client/models/update_dataset_name_model.py +5 -5
  616. rapidata/api_client/models/update_dimensions_model.py +3 -3
  617. rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
  618. rapidata/api_client/models/update_leaderboard_model.py +106 -0
  619. rapidata/api_client/models/update_leaderboard_name_model.py +5 -5
  620. rapidata/api_client/models/update_leaderboard_response_config_model.py +5 -5
  621. rapidata/api_client/models/update_order_name_model.py +5 -5
  622. rapidata/api_client/models/update_participant_model.py +92 -0
  623. rapidata/api_client/models/update_participant_name_model.py +5 -5
  624. rapidata/api_client/models/update_priority_model.py +87 -0
  625. rapidata/api_client/models/update_prompt_tags_model.py +5 -5
  626. rapidata/api_client/models/update_should_alert_model.py +4 -4
  627. rapidata/api_client/models/update_validation_rapid_model.py +35 -14
  628. rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
  629. rapidata/api_client/models/update_validation_set_model.py +120 -0
  630. rapidata/api_client/models/upload_asset_result.py +102 -0
  631. rapidata/api_client/models/upload_file_from_url_result.py +87 -0
  632. rapidata/api_client/models/upload_file_result.py +87 -0
  633. rapidata/api_client/models/user_action_restriction.py +37 -0
  634. rapidata/api_client/models/user_action_restriction_filter.py +101 -0
  635. rapidata/api_client/models/user_score_filter.py +102 -0
  636. rapidata/api_client/models/user_state.py +38 -0
  637. rapidata/api_client/models/user_state_filter.py +101 -0
  638. rapidata/api_client/models/validation_chance.py +20 -3
  639. rapidata/api_client/models/validation_problem_details.py +117 -0
  640. rapidata/api_client/models/validation_set_model.py +39 -5
  641. rapidata/api_client/models/validation_set_overview_model.py +2 -2
  642. rapidata/api_client/models/video_duration_metadata.py +12 -1
  643. rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
  644. rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
  645. rapidata/api_client/models/workflow_state.py +2 -2
  646. rapidata/api_client/models/zip_entry_file_wrapper.py +33 -2
  647. rapidata/api_client/rest.py +2 -2
  648. rapidata/api_client_README.md +384 -318
  649. rapidata/rapidata_client/__init__.py +17 -22
  650. rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
  651. rapidata/rapidata_client/audience/__init__.py +2 -0
  652. rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
  653. rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
  654. rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
  655. rapidata/rapidata_client/benchmark/_detail_mapper.py +11 -9
  656. rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +98 -54
  657. rapidata/rapidata_client/benchmark/participant/_participant.py +90 -46
  658. rapidata/rapidata_client/benchmark/rapidata_benchmark.py +388 -225
  659. rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +172 -65
  660. rapidata/rapidata_client/config/__init__.py +4 -0
  661. rapidata/rapidata_client/config/logger.py +135 -0
  662. rapidata/rapidata_client/config/logging_config.py +55 -0
  663. rapidata/rapidata_client/config/managed_print.py +6 -0
  664. rapidata/rapidata_client/config/order_config.py +14 -0
  665. rapidata/rapidata_client/config/rapidata_config.py +36 -0
  666. rapidata/rapidata_client/config/tracer.py +184 -0
  667. rapidata/rapidata_client/config/upload_config.py +64 -0
  668. rapidata/rapidata_client/datapoints/__init__.py +8 -3
  669. rapidata/rapidata_client/datapoints/_asset_uploader.py +184 -0
  670. rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
  671. rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
  672. rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
  673. rapidata/rapidata_client/datapoints/assets/__init__.py +0 -10
  674. rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
  675. rapidata/rapidata_client/datapoints/metadata/__init__.py +0 -2
  676. rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +5 -6
  677. rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +4 -5
  678. rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +5 -6
  679. rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +3 -4
  680. rapidata/rapidata_client/dataset/__init__.py +1 -0
  681. rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
  682. rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
  683. rapidata/rapidata_client/exceptions/failed_upload_exception.py +15 -41
  684. rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
  685. rapidata/rapidata_client/filter/_base_filter.py +13 -8
  686. rapidata/rapidata_client/filter/age_filter.py +26 -10
  687. rapidata/rapidata_client/filter/and_filter.py +36 -11
  688. rapidata/rapidata_client/filter/campaign_filter.py +21 -10
  689. rapidata/rapidata_client/filter/country_filter.py +46 -12
  690. rapidata/rapidata_client/filter/custom_filter.py +25 -12
  691. rapidata/rapidata_client/filter/gender_filter.py +25 -10
  692. rapidata/rapidata_client/filter/language_filter.py +51 -21
  693. rapidata/rapidata_client/filter/models/age_group.py +14 -12
  694. rapidata/rapidata_client/filter/models/gender.py +12 -8
  695. rapidata/rapidata_client/filter/new_user_filter.py +14 -4
  696. rapidata/rapidata_client/filter/not_filter.py +35 -11
  697. rapidata/rapidata_client/filter/or_filter.py +36 -11
  698. rapidata/rapidata_client/filter/rapidata_filters.py +17 -23
  699. rapidata/rapidata_client/filter/response_count_filter.py +51 -20
  700. rapidata/rapidata_client/filter/user_score_filter.py +62 -24
  701. rapidata/rapidata_client/job/__init__.py +3 -0
  702. rapidata/rapidata_client/job/job_definition.py +110 -0
  703. rapidata/rapidata_client/job/job_manager.py +758 -0
  704. rapidata/rapidata_client/job/rapidata_job.py +326 -0
  705. rapidata/rapidata_client/order/__init__.py +2 -0
  706. rapidata/rapidata_client/order/_rapidata_order_builder.py +273 -122
  707. rapidata/rapidata_client/order/rapidata_order.py +316 -160
  708. rapidata/rapidata_client/order/rapidata_order_manager.py +680 -421
  709. rapidata/rapidata_client/rapidata_client.py +115 -37
  710. rapidata/rapidata_client/referee/__init__.py +1 -1
  711. rapidata/rapidata_client/referee/_base_referee.py +14 -3
  712. rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
  713. rapidata/rapidata_client/referee/_naive_referee.py +24 -3
  714. rapidata/rapidata_client/results/__init__.py +3 -0
  715. rapidata/rapidata_client/{order → results}/rapidata_results.py +86 -63
  716. rapidata/rapidata_client/selection/__init__.py +1 -1
  717. rapidata/rapidata_client/selection/_base_selection.py +9 -2
  718. rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
  719. rapidata/rapidata_client/selection/capped_selection.py +23 -16
  720. rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
  721. rapidata/rapidata_client/selection/demographic_selection.py +21 -6
  722. rapidata/rapidata_client/selection/effort_selection.py +31 -8
  723. rapidata/rapidata_client/selection/labeling_selection.py +34 -11
  724. rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +7 -4
  725. rapidata/rapidata_client/selection/rapidata_selections.py +23 -14
  726. rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
  727. rapidata/rapidata_client/selection/static_selection.py +19 -8
  728. rapidata/rapidata_client/selection/validation_selection.py +20 -4
  729. rapidata/rapidata_client/settings/__init__.py +2 -0
  730. rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
  731. rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
  732. rapidata/rapidata_client/settings/allow_neither_both.py +3 -0
  733. rapidata/rapidata_client/settings/custom_setting.py +3 -2
  734. rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
  735. rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
  736. rapidata/rapidata_client/settings/mute_video.py +15 -0
  737. rapidata/rapidata_client/settings/no_shuffle.py +4 -2
  738. rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
  739. rapidata/rapidata_client/settings/rapidata_settings.py +22 -9
  740. rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
  741. rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
  742. rapidata/rapidata_client/utils/__init__.py +3 -0
  743. rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
  744. rapidata/rapidata_client/validation/__init__.py +2 -0
  745. rapidata/rapidata_client/validation/rapidata_validation_set.py +96 -18
  746. rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
  747. rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
  748. rapidata/rapidata_client/validation/rapids/box.py +37 -12
  749. rapidata/rapidata_client/validation/rapids/rapids.py +29 -83
  750. rapidata/rapidata_client/validation/rapids/rapids_manager.py +369 -211
  751. rapidata/rapidata_client/validation/validation_set_manager.py +505 -276
  752. rapidata/rapidata_client/workflow/__init__.py +2 -2
  753. rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
  754. rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
  755. rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
  756. rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
  757. rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
  758. rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
  759. rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
  760. rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
  761. rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
  762. rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
  763. rapidata/service/__init__.py +0 -1
  764. rapidata/service/credential_manager.py +14 -14
  765. rapidata/service/openapi_service.py +119 -34
  766. rapidata/types/__init__.py +149 -0
  767. rapidata-3.0.0a8.dist-info/METADATA +32 -0
  768. rapidata-3.0.0a8.dist-info/RECORD +1083 -0
  769. {rapidata-2.35.1.dist-info → rapidata-3.0.0a8.dist-info}/WHEEL +1 -1
  770. rapidata/rapidata_client/api/rapidata_exception.py +0 -107
  771. rapidata/rapidata_client/country_codes/__init__.py +0 -1
  772. rapidata/rapidata_client/country_codes/country_codes.py +0 -19
  773. rapidata/rapidata_client/datapoints/assets/_base_asset.py +0 -11
  774. rapidata/rapidata_client/datapoints/assets/_media_asset.py +0 -306
  775. rapidata/rapidata_client/datapoints/assets/_multi_asset.py +0 -61
  776. rapidata/rapidata_client/datapoints/assets/_sessions.py +0 -35
  777. rapidata/rapidata_client/datapoints/assets/_text_asset.py +0 -34
  778. rapidata/rapidata_client/datapoints/assets/data_type_enum.py +0 -8
  779. rapidata/rapidata_client/datapoints/datapoint.py +0 -108
  780. rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +0 -22
  781. rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +0 -18
  782. rapidata/rapidata_client/logging/__init__.py +0 -2
  783. rapidata/rapidata_client/logging/logger.py +0 -122
  784. rapidata/rapidata_client/logging/output_manager.py +0 -20
  785. rapidata/rapidata_client/order/_rapidata_dataset.py +0 -396
  786. rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -47
  787. rapidata/service/local_file_service.py +0 -25
  788. rapidata-2.35.1.dist-info/METADATA +0 -35
  789. rapidata-2.35.1.dist-info/RECORD +0 -657
  790. {rapidata-2.35.1.dist-info → rapidata-3.0.0a8.dist-info/licenses}/LICENSE +0 -0
@@ -1,9 +1,9 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Rapidata.Dataset
4
+ Rapidata Asset API
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ The API for the Rapidata Asset service
7
7
 
8
8
  The version of the OpenAPI document: v1
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -16,23 +16,19 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictBytes, StrictStr
19
+ from pydantic import Field, StrictBool, StrictBytes, StrictStr, field_validator
20
20
  from typing import List, Optional, Tuple, Union
21
21
  from typing_extensions import Annotated
22
22
  from rapidata.api_client.models.add_validation_rapid_model import AddValidationRapidModel
23
- from rapidata.api_client.models.add_validation_rapid_result import AddValidationRapidResult
24
- from rapidata.api_client.models.add_validation_text_rapid_model import AddValidationTextRapidModel
25
23
  from rapidata.api_client.models.create_empty_validation_set_result import CreateEmptyValidationSetResult
26
24
  from rapidata.api_client.models.create_validation_set_model import CreateValidationSetModel
27
25
  from rapidata.api_client.models.get_available_validation_sets_result import GetAvailableValidationSetsResult
28
- from rapidata.api_client.models.get_validation_rapids_result_paged_result import GetValidationRapidsResultPagedResult
26
+ from rapidata.api_client.models.get_recommended_validation_set_result import GetRecommendedValidationSetResult
29
27
  from rapidata.api_client.models.get_validation_set_by_id_result import GetValidationSetByIdResult
30
- from rapidata.api_client.models.import_validation_set_from_file_result import ImportValidationSetFromFileResult
28
+ from rapidata.api_client.models.paged_result_of_get_validation_rapids_result import PagedResultOfGetValidationRapidsResult
29
+ from rapidata.api_client.models.paged_result_of_validation_set_model import PagedResultOfValidationSetModel
31
30
  from rapidata.api_client.models.query_model import QueryModel
32
- from rapidata.api_client.models.update_dimensions_model import UpdateDimensionsModel
33
- from rapidata.api_client.models.update_should_alert_model import UpdateShouldAlertModel
34
- from rapidata.api_client.models.validation_set_model_paged_result import ValidationSetModelPagedResult
35
- from rapidata.api_client.models.validation_set_zip_post_request_blueprint import ValidationSetZipPostRequestBlueprint
31
+ from rapidata.api_client.models.update_validation_set_model import UpdateValidationSetModel
36
32
 
37
33
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
38
34
  from rapidata.api_client.api_response import ApiResponse
@@ -55,7 +51,7 @@ class ValidationSetApi:
55
51
  @validate_call
56
52
  def validation_set_post(
57
53
  self,
58
- create_validation_set_model: Annotated[Optional[CreateValidationSetModel], Field(description="The body request for creating a new validation set.")] = None,
54
+ create_validation_set_model: Annotated[CreateValidationSetModel, Field(description="The body request for creating a new validation set.")],
59
55
  _request_timeout: Union[
60
56
  None,
61
57
  Annotated[StrictFloat, Field(gt=0)],
@@ -72,7 +68,7 @@ class ValidationSetApi:
72
68
  """Creates a new empty validation set.
73
69
 
74
70
 
75
- :param create_validation_set_model: The body request for creating a new validation set.
71
+ :param create_validation_set_model: The body request for creating a new validation set. (required)
76
72
  :type create_validation_set_model: CreateValidationSetModel
77
73
  :param _request_timeout: timeout setting for this request. If one
78
74
  number provided, it will be total request
@@ -121,7 +117,7 @@ class ValidationSetApi:
121
117
  @validate_call
122
118
  def validation_set_post_with_http_info(
123
119
  self,
124
- create_validation_set_model: Annotated[Optional[CreateValidationSetModel], Field(description="The body request for creating a new validation set.")] = None,
120
+ create_validation_set_model: Annotated[CreateValidationSetModel, Field(description="The body request for creating a new validation set.")],
125
121
  _request_timeout: Union[
126
122
  None,
127
123
  Annotated[StrictFloat, Field(gt=0)],
@@ -138,7 +134,7 @@ class ValidationSetApi:
138
134
  """Creates a new empty validation set.
139
135
 
140
136
 
141
- :param create_validation_set_model: The body request for creating a new validation set.
137
+ :param create_validation_set_model: The body request for creating a new validation set. (required)
142
138
  :type create_validation_set_model: CreateValidationSetModel
143
139
  :param _request_timeout: timeout setting for this request. If one
144
140
  number provided, it will be total request
@@ -187,7 +183,7 @@ class ValidationSetApi:
187
183
  @validate_call
188
184
  def validation_set_post_without_preload_content(
189
185
  self,
190
- create_validation_set_model: Annotated[Optional[CreateValidationSetModel], Field(description="The body request for creating a new validation set.")] = None,
186
+ create_validation_set_model: Annotated[CreateValidationSetModel, Field(description="The body request for creating a new validation set.")],
191
187
  _request_timeout: Union[
192
188
  None,
193
189
  Annotated[StrictFloat, Field(gt=0)],
@@ -204,7 +200,7 @@ class ValidationSetApi:
204
200
  """Creates a new empty validation set.
205
201
 
206
202
 
207
- :param create_validation_set_model: The body request for creating a new validation set.
203
+ :param create_validation_set_model: The body request for creating a new validation set. (required)
208
204
  :type create_validation_set_model: CreateValidationSetModel
209
205
  :param _request_timeout: timeout setting for this request. If one
210
206
  number provided, it will be total request
@@ -306,8 +302,9 @@ class ValidationSetApi:
306
302
 
307
303
  # authentication setting
308
304
  _auth_settings: List[str] = [
309
- 'bearer',
310
- 'oauth2'
305
+ 'OAuth2',
306
+ 'OpenIdConnect',
307
+ 'Bearer'
311
308
  ]
312
309
 
313
310
  return self.api_client.param_serialize(
@@ -329,1352 +326,12 @@ class ValidationSetApi:
329
326
 
330
327
 
331
328
  @validate_call
332
- def validation_set_validation_set_id_delete(
333
- self,
334
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
335
- _request_timeout: Union[
336
- None,
337
- Annotated[StrictFloat, Field(gt=0)],
338
- Tuple[
339
- Annotated[StrictFloat, Field(gt=0)],
340
- Annotated[StrictFloat, Field(gt=0)]
341
- ]
342
- ] = None,
343
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
344
- _content_type: Optional[StrictStr] = None,
345
- _headers: Optional[Dict[StrictStr, Any]] = None,
346
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
347
- ) -> None:
348
- """Gets a validation set by the id.
349
-
350
-
351
- :param validation_set_id: The id of the validation set to get. (required)
352
- :type validation_set_id: str
353
- :param _request_timeout: timeout setting for this request. If one
354
- number provided, it will be total request
355
- timeout. It can also be a pair (tuple) of
356
- (connection, read) timeouts.
357
- :type _request_timeout: int, tuple(int, int), optional
358
- :param _request_auth: set to override the auth_settings for an a single
359
- request; this effectively ignores the
360
- authentication in the spec for a single request.
361
- :type _request_auth: dict, optional
362
- :param _content_type: force content-type for the request.
363
- :type _content_type: str, Optional
364
- :param _headers: set to override the headers for a single
365
- request; this effectively ignores the headers
366
- in the spec for a single request.
367
- :type _headers: dict, optional
368
- :param _host_index: set to override the host_index for a single
369
- request; this effectively ignores the host_index
370
- in the spec for a single request.
371
- :type _host_index: int, optional
372
- :return: Returns the result object.
373
- """ # noqa: E501
374
-
375
- _param = self._validation_set_validation_set_id_delete_serialize(
376
- validation_set_id=validation_set_id,
377
- _request_auth=_request_auth,
378
- _content_type=_content_type,
379
- _headers=_headers,
380
- _host_index=_host_index
381
- )
382
-
383
- _response_types_map: Dict[str, Optional[str]] = {
384
- '204': None,
385
- }
386
- response_data = self.api_client.call_api(
387
- *_param,
388
- _request_timeout=_request_timeout
389
- )
390
- response_data.read()
391
- return self.api_client.response_deserialize(
392
- response_data=response_data,
393
- response_types_map=_response_types_map,
394
- ).data
395
-
396
-
397
- @validate_call
398
- def validation_set_validation_set_id_delete_with_http_info(
399
- self,
400
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
401
- _request_timeout: Union[
402
- None,
403
- Annotated[StrictFloat, Field(gt=0)],
404
- Tuple[
405
- Annotated[StrictFloat, Field(gt=0)],
406
- Annotated[StrictFloat, Field(gt=0)]
407
- ]
408
- ] = None,
409
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
410
- _content_type: Optional[StrictStr] = None,
411
- _headers: Optional[Dict[StrictStr, Any]] = None,
412
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
413
- ) -> ApiResponse[None]:
414
- """Gets a validation set by the id.
415
-
416
-
417
- :param validation_set_id: The id of the validation set to get. (required)
418
- :type validation_set_id: str
419
- :param _request_timeout: timeout setting for this request. If one
420
- number provided, it will be total request
421
- timeout. It can also be a pair (tuple) of
422
- (connection, read) timeouts.
423
- :type _request_timeout: int, tuple(int, int), optional
424
- :param _request_auth: set to override the auth_settings for an a single
425
- request; this effectively ignores the
426
- authentication in the spec for a single request.
427
- :type _request_auth: dict, optional
428
- :param _content_type: force content-type for the request.
429
- :type _content_type: str, Optional
430
- :param _headers: set to override the headers for a single
431
- request; this effectively ignores the headers
432
- in the spec for a single request.
433
- :type _headers: dict, optional
434
- :param _host_index: set to override the host_index for a single
435
- request; this effectively ignores the host_index
436
- in the spec for a single request.
437
- :type _host_index: int, optional
438
- :return: Returns the result object.
439
- """ # noqa: E501
440
-
441
- _param = self._validation_set_validation_set_id_delete_serialize(
442
- validation_set_id=validation_set_id,
443
- _request_auth=_request_auth,
444
- _content_type=_content_type,
445
- _headers=_headers,
446
- _host_index=_host_index
447
- )
448
-
449
- _response_types_map: Dict[str, Optional[str]] = {
450
- '204': None,
451
- }
452
- response_data = self.api_client.call_api(
453
- *_param,
454
- _request_timeout=_request_timeout
455
- )
456
- response_data.read()
457
- return self.api_client.response_deserialize(
458
- response_data=response_data,
459
- response_types_map=_response_types_map,
460
- )
461
-
462
-
463
- @validate_call
464
- def validation_set_validation_set_id_delete_without_preload_content(
465
- self,
466
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
467
- _request_timeout: Union[
468
- None,
469
- Annotated[StrictFloat, Field(gt=0)],
470
- Tuple[
471
- Annotated[StrictFloat, Field(gt=0)],
472
- Annotated[StrictFloat, Field(gt=0)]
473
- ]
474
- ] = None,
475
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
476
- _content_type: Optional[StrictStr] = None,
477
- _headers: Optional[Dict[StrictStr, Any]] = None,
478
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
479
- ) -> RESTResponseType:
480
- """Gets a validation set by the id.
481
-
482
-
483
- :param validation_set_id: The id of the validation set to get. (required)
484
- :type validation_set_id: str
485
- :param _request_timeout: timeout setting for this request. If one
486
- number provided, it will be total request
487
- timeout. It can also be a pair (tuple) of
488
- (connection, read) timeouts.
489
- :type _request_timeout: int, tuple(int, int), optional
490
- :param _request_auth: set to override the auth_settings for an a single
491
- request; this effectively ignores the
492
- authentication in the spec for a single request.
493
- :type _request_auth: dict, optional
494
- :param _content_type: force content-type for the request.
495
- :type _content_type: str, Optional
496
- :param _headers: set to override the headers for a single
497
- request; this effectively ignores the headers
498
- in the spec for a single request.
499
- :type _headers: dict, optional
500
- :param _host_index: set to override the host_index for a single
501
- request; this effectively ignores the host_index
502
- in the spec for a single request.
503
- :type _host_index: int, optional
504
- :return: Returns the result object.
505
- """ # noqa: E501
506
-
507
- _param = self._validation_set_validation_set_id_delete_serialize(
508
- validation_set_id=validation_set_id,
509
- _request_auth=_request_auth,
510
- _content_type=_content_type,
511
- _headers=_headers,
512
- _host_index=_host_index
513
- )
514
-
515
- _response_types_map: Dict[str, Optional[str]] = {
516
- '204': None,
517
- }
518
- response_data = self.api_client.call_api(
519
- *_param,
520
- _request_timeout=_request_timeout
521
- )
522
- return response_data.response
523
-
524
-
525
- def _validation_set_validation_set_id_delete_serialize(
526
- self,
527
- validation_set_id,
528
- _request_auth,
529
- _content_type,
530
- _headers,
531
- _host_index,
532
- ) -> RequestSerialized:
533
-
534
- _host = None
535
-
536
- _collection_formats: Dict[str, str] = {
537
- }
538
-
539
- _path_params: Dict[str, str] = {}
540
- _query_params: List[Tuple[str, str]] = []
541
- _header_params: Dict[str, Optional[str]] = _headers or {}
542
- _form_params: List[Tuple[str, str]] = []
543
- _files: Dict[
544
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
545
- ] = {}
546
- _body_params: Optional[bytes] = None
547
-
548
- # process the path parameters
549
- if validation_set_id is not None:
550
- _path_params['validationSetId'] = validation_set_id
551
- # process the query parameters
552
- # process the header parameters
553
- # process the form parameters
554
- # process the body parameter
555
-
556
-
557
-
558
-
559
- # authentication setting
560
- _auth_settings: List[str] = [
561
- 'bearer',
562
- 'oauth2'
563
- ]
564
-
565
- return self.api_client.param_serialize(
566
- method='DELETE',
567
- resource_path='/validation-set/{validationSetId}',
568
- path_params=_path_params,
569
- query_params=_query_params,
570
- header_params=_header_params,
571
- body=_body_params,
572
- post_params=_form_params,
573
- files=_files,
574
- auth_settings=_auth_settings,
575
- collection_formats=_collection_formats,
576
- _host=_host,
577
- _request_auth=_request_auth
578
- )
579
-
580
-
581
-
582
-
583
- @validate_call
584
- def validation_set_validation_set_id_dimensions_patch(
585
- self,
586
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
587
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
588
- _request_timeout: Union[
589
- None,
590
- Annotated[StrictFloat, Field(gt=0)],
591
- Tuple[
592
- Annotated[StrictFloat, Field(gt=0)],
593
- Annotated[StrictFloat, Field(gt=0)]
594
- ]
595
- ] = None,
596
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
597
- _content_type: Optional[StrictStr] = None,
598
- _headers: Optional[Dict[StrictStr, Any]] = None,
599
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
600
- ) -> None:
601
- """Updates the dimensions of all rapids within a validation set.
602
-
603
-
604
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
605
- :type validation_set_id: str
606
- :param update_dimensions_model: The body request for updating the dimensions.
607
- :type update_dimensions_model: UpdateDimensionsModel
608
- :param _request_timeout: timeout setting for this request. If one
609
- number provided, it will be total request
610
- timeout. It can also be a pair (tuple) of
611
- (connection, read) timeouts.
612
- :type _request_timeout: int, tuple(int, int), optional
613
- :param _request_auth: set to override the auth_settings for an a single
614
- request; this effectively ignores the
615
- authentication in the spec for a single request.
616
- :type _request_auth: dict, optional
617
- :param _content_type: force content-type for the request.
618
- :type _content_type: str, Optional
619
- :param _headers: set to override the headers for a single
620
- request; this effectively ignores the headers
621
- in the spec for a single request.
622
- :type _headers: dict, optional
623
- :param _host_index: set to override the host_index for a single
624
- request; this effectively ignores the host_index
625
- in the spec for a single request.
626
- :type _host_index: int, optional
627
- :return: Returns the result object.
628
- """ # noqa: E501
629
-
630
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
631
- validation_set_id=validation_set_id,
632
- update_dimensions_model=update_dimensions_model,
633
- _request_auth=_request_auth,
634
- _content_type=_content_type,
635
- _headers=_headers,
636
- _host_index=_host_index
637
- )
638
-
639
- _response_types_map: Dict[str, Optional[str]] = {
640
- '204': None,
641
- }
642
- response_data = self.api_client.call_api(
643
- *_param,
644
- _request_timeout=_request_timeout
645
- )
646
- response_data.read()
647
- return self.api_client.response_deserialize(
648
- response_data=response_data,
649
- response_types_map=_response_types_map,
650
- ).data
651
-
652
-
653
- @validate_call
654
- def validation_set_validation_set_id_dimensions_patch_with_http_info(
655
- self,
656
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
657
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
658
- _request_timeout: Union[
659
- None,
660
- Annotated[StrictFloat, Field(gt=0)],
661
- Tuple[
662
- Annotated[StrictFloat, Field(gt=0)],
663
- Annotated[StrictFloat, Field(gt=0)]
664
- ]
665
- ] = None,
666
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
667
- _content_type: Optional[StrictStr] = None,
668
- _headers: Optional[Dict[StrictStr, Any]] = None,
669
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
670
- ) -> ApiResponse[None]:
671
- """Updates the dimensions of all rapids within a validation set.
672
-
673
-
674
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
675
- :type validation_set_id: str
676
- :param update_dimensions_model: The body request for updating the dimensions.
677
- :type update_dimensions_model: UpdateDimensionsModel
678
- :param _request_timeout: timeout setting for this request. If one
679
- number provided, it will be total request
680
- timeout. It can also be a pair (tuple) of
681
- (connection, read) timeouts.
682
- :type _request_timeout: int, tuple(int, int), optional
683
- :param _request_auth: set to override the auth_settings for an a single
684
- request; this effectively ignores the
685
- authentication in the spec for a single request.
686
- :type _request_auth: dict, optional
687
- :param _content_type: force content-type for the request.
688
- :type _content_type: str, Optional
689
- :param _headers: set to override the headers for a single
690
- request; this effectively ignores the headers
691
- in the spec for a single request.
692
- :type _headers: dict, optional
693
- :param _host_index: set to override the host_index for a single
694
- request; this effectively ignores the host_index
695
- in the spec for a single request.
696
- :type _host_index: int, optional
697
- :return: Returns the result object.
698
- """ # noqa: E501
699
-
700
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
701
- validation_set_id=validation_set_id,
702
- update_dimensions_model=update_dimensions_model,
703
- _request_auth=_request_auth,
704
- _content_type=_content_type,
705
- _headers=_headers,
706
- _host_index=_host_index
707
- )
708
-
709
- _response_types_map: Dict[str, Optional[str]] = {
710
- '204': None,
711
- }
712
- response_data = self.api_client.call_api(
713
- *_param,
714
- _request_timeout=_request_timeout
715
- )
716
- response_data.read()
717
- return self.api_client.response_deserialize(
718
- response_data=response_data,
719
- response_types_map=_response_types_map,
720
- )
721
-
722
-
723
- @validate_call
724
- def validation_set_validation_set_id_dimensions_patch_without_preload_content(
725
- self,
726
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
727
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
728
- _request_timeout: Union[
729
- None,
730
- Annotated[StrictFloat, Field(gt=0)],
731
- Tuple[
732
- Annotated[StrictFloat, Field(gt=0)],
733
- Annotated[StrictFloat, Field(gt=0)]
734
- ]
735
- ] = None,
736
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
737
- _content_type: Optional[StrictStr] = None,
738
- _headers: Optional[Dict[StrictStr, Any]] = None,
739
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
740
- ) -> RESTResponseType:
741
- """Updates the dimensions of all rapids within a validation set.
742
-
743
-
744
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
745
- :type validation_set_id: str
746
- :param update_dimensions_model: The body request for updating the dimensions.
747
- :type update_dimensions_model: UpdateDimensionsModel
748
- :param _request_timeout: timeout setting for this request. If one
749
- number provided, it will be total request
750
- timeout. It can also be a pair (tuple) of
751
- (connection, read) timeouts.
752
- :type _request_timeout: int, tuple(int, int), optional
753
- :param _request_auth: set to override the auth_settings for an a single
754
- request; this effectively ignores the
755
- authentication in the spec for a single request.
756
- :type _request_auth: dict, optional
757
- :param _content_type: force content-type for the request.
758
- :type _content_type: str, Optional
759
- :param _headers: set to override the headers for a single
760
- request; this effectively ignores the headers
761
- in the spec for a single request.
762
- :type _headers: dict, optional
763
- :param _host_index: set to override the host_index for a single
764
- request; this effectively ignores the host_index
765
- in the spec for a single request.
766
- :type _host_index: int, optional
767
- :return: Returns the result object.
768
- """ # noqa: E501
769
-
770
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
771
- validation_set_id=validation_set_id,
772
- update_dimensions_model=update_dimensions_model,
773
- _request_auth=_request_auth,
774
- _content_type=_content_type,
775
- _headers=_headers,
776
- _host_index=_host_index
777
- )
778
-
779
- _response_types_map: Dict[str, Optional[str]] = {
780
- '204': None,
781
- }
782
- response_data = self.api_client.call_api(
783
- *_param,
784
- _request_timeout=_request_timeout
785
- )
786
- return response_data.response
787
-
788
-
789
- def _validation_set_validation_set_id_dimensions_patch_serialize(
790
- self,
791
- validation_set_id,
792
- update_dimensions_model,
793
- _request_auth,
794
- _content_type,
795
- _headers,
796
- _host_index,
797
- ) -> RequestSerialized:
798
-
799
- _host = None
800
-
801
- _collection_formats: Dict[str, str] = {
802
- }
803
-
804
- _path_params: Dict[str, str] = {}
805
- _query_params: List[Tuple[str, str]] = []
806
- _header_params: Dict[str, Optional[str]] = _headers or {}
807
- _form_params: List[Tuple[str, str]] = []
808
- _files: Dict[
809
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
810
- ] = {}
811
- _body_params: Optional[bytes] = None
812
-
813
- # process the path parameters
814
- if validation_set_id is not None:
815
- _path_params['validationSetId'] = validation_set_id
816
- # process the query parameters
817
- # process the header parameters
818
- # process the form parameters
819
- # process the body parameter
820
- if update_dimensions_model is not None:
821
- _body_params = update_dimensions_model
822
-
823
-
824
-
825
- # set the HTTP header `Content-Type`
826
- if _content_type:
827
- _header_params['Content-Type'] = _content_type
828
- else:
829
- _default_content_type = (
830
- self.api_client.select_header_content_type(
831
- [
832
- 'application/json',
833
- 'text/json',
834
- 'application/*+json'
835
- ]
836
- )
837
- )
838
- if _default_content_type is not None:
839
- _header_params['Content-Type'] = _default_content_type
840
-
841
- # authentication setting
842
- _auth_settings: List[str] = [
843
- 'bearer',
844
- 'oauth2'
845
- ]
846
-
847
- return self.api_client.param_serialize(
848
- method='PATCH',
849
- resource_path='/validation-set/{validationSetId}/dimensions',
850
- path_params=_path_params,
851
- query_params=_query_params,
852
- header_params=_header_params,
853
- body=_body_params,
854
- post_params=_form_params,
855
- files=_files,
856
- auth_settings=_auth_settings,
857
- collection_formats=_collection_formats,
858
- _host=_host,
859
- _request_auth=_request_auth
860
- )
861
-
862
-
863
-
864
-
865
- @validate_call
866
- def validation_set_validation_set_id_dimensions_put(
867
- self,
868
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
869
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
870
- _request_timeout: Union[
871
- None,
872
- Annotated[StrictFloat, Field(gt=0)],
873
- Tuple[
874
- Annotated[StrictFloat, Field(gt=0)],
875
- Annotated[StrictFloat, Field(gt=0)]
876
- ]
877
- ] = None,
878
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
879
- _content_type: Optional[StrictStr] = None,
880
- _headers: Optional[Dict[StrictStr, Any]] = None,
881
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
882
- ) -> None:
883
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
884
-
885
-
886
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
887
- :type validation_set_id: str
888
- :param update_dimensions_model: The body request for updating the dimensions.
889
- :type update_dimensions_model: UpdateDimensionsModel
890
- :param _request_timeout: timeout setting for this request. If one
891
- number provided, it will be total request
892
- timeout. It can also be a pair (tuple) of
893
- (connection, read) timeouts.
894
- :type _request_timeout: int, tuple(int, int), optional
895
- :param _request_auth: set to override the auth_settings for an a single
896
- request; this effectively ignores the
897
- authentication in the spec for a single request.
898
- :type _request_auth: dict, optional
899
- :param _content_type: force content-type for the request.
900
- :type _content_type: str, Optional
901
- :param _headers: set to override the headers for a single
902
- request; this effectively ignores the headers
903
- in the spec for a single request.
904
- :type _headers: dict, optional
905
- :param _host_index: set to override the host_index for a single
906
- request; this effectively ignores the host_index
907
- in the spec for a single request.
908
- :type _host_index: int, optional
909
- :return: Returns the result object.
910
- """ # noqa: E501
911
- warnings.warn("PUT /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
912
-
913
- _param = self._validation_set_validation_set_id_dimensions_put_serialize(
914
- validation_set_id=validation_set_id,
915
- update_dimensions_model=update_dimensions_model,
916
- _request_auth=_request_auth,
917
- _content_type=_content_type,
918
- _headers=_headers,
919
- _host_index=_host_index
920
- )
921
-
922
- _response_types_map: Dict[str, Optional[str]] = {
923
- '204': None,
924
- }
925
- response_data = self.api_client.call_api(
926
- *_param,
927
- _request_timeout=_request_timeout
928
- )
929
- response_data.read()
930
- return self.api_client.response_deserialize(
931
- response_data=response_data,
932
- response_types_map=_response_types_map,
933
- ).data
934
-
935
-
936
- @validate_call
937
- def validation_set_validation_set_id_dimensions_put_with_http_info(
938
- self,
939
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
940
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
941
- _request_timeout: Union[
942
- None,
943
- Annotated[StrictFloat, Field(gt=0)],
944
- Tuple[
945
- Annotated[StrictFloat, Field(gt=0)],
946
- Annotated[StrictFloat, Field(gt=0)]
947
- ]
948
- ] = None,
949
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
950
- _content_type: Optional[StrictStr] = None,
951
- _headers: Optional[Dict[StrictStr, Any]] = None,
952
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
953
- ) -> ApiResponse[None]:
954
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
955
-
956
-
957
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
958
- :type validation_set_id: str
959
- :param update_dimensions_model: The body request for updating the dimensions.
960
- :type update_dimensions_model: UpdateDimensionsModel
961
- :param _request_timeout: timeout setting for this request. If one
962
- number provided, it will be total request
963
- timeout. It can also be a pair (tuple) of
964
- (connection, read) timeouts.
965
- :type _request_timeout: int, tuple(int, int), optional
966
- :param _request_auth: set to override the auth_settings for an a single
967
- request; this effectively ignores the
968
- authentication in the spec for a single request.
969
- :type _request_auth: dict, optional
970
- :param _content_type: force content-type for the request.
971
- :type _content_type: str, Optional
972
- :param _headers: set to override the headers for a single
973
- request; this effectively ignores the headers
974
- in the spec for a single request.
975
- :type _headers: dict, optional
976
- :param _host_index: set to override the host_index for a single
977
- request; this effectively ignores the host_index
978
- in the spec for a single request.
979
- :type _host_index: int, optional
980
- :return: Returns the result object.
981
- """ # noqa: E501
982
- warnings.warn("PUT /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
983
-
984
- _param = self._validation_set_validation_set_id_dimensions_put_serialize(
985
- validation_set_id=validation_set_id,
986
- update_dimensions_model=update_dimensions_model,
987
- _request_auth=_request_auth,
988
- _content_type=_content_type,
989
- _headers=_headers,
990
- _host_index=_host_index
991
- )
992
-
993
- _response_types_map: Dict[str, Optional[str]] = {
994
- '204': None,
995
- }
996
- response_data = self.api_client.call_api(
997
- *_param,
998
- _request_timeout=_request_timeout
999
- )
1000
- response_data.read()
1001
- return self.api_client.response_deserialize(
1002
- response_data=response_data,
1003
- response_types_map=_response_types_map,
1004
- )
1005
-
1006
-
1007
- @validate_call
1008
- def validation_set_validation_set_id_dimensions_put_without_preload_content(
1009
- self,
1010
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
1011
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
1012
- _request_timeout: Union[
1013
- None,
1014
- Annotated[StrictFloat, Field(gt=0)],
1015
- Tuple[
1016
- Annotated[StrictFloat, Field(gt=0)],
1017
- Annotated[StrictFloat, Field(gt=0)]
1018
- ]
1019
- ] = None,
1020
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1021
- _content_type: Optional[StrictStr] = None,
1022
- _headers: Optional[Dict[StrictStr, Any]] = None,
1023
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1024
- ) -> RESTResponseType:
1025
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
1026
-
1027
-
1028
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1029
- :type validation_set_id: str
1030
- :param update_dimensions_model: The body request for updating the dimensions.
1031
- :type update_dimensions_model: UpdateDimensionsModel
1032
- :param _request_timeout: timeout setting for this request. If one
1033
- number provided, it will be total request
1034
- timeout. It can also be a pair (tuple) of
1035
- (connection, read) timeouts.
1036
- :type _request_timeout: int, tuple(int, int), optional
1037
- :param _request_auth: set to override the auth_settings for an a single
1038
- request; this effectively ignores the
1039
- authentication in the spec for a single request.
1040
- :type _request_auth: dict, optional
1041
- :param _content_type: force content-type for the request.
1042
- :type _content_type: str, Optional
1043
- :param _headers: set to override the headers for a single
1044
- request; this effectively ignores the headers
1045
- in the spec for a single request.
1046
- :type _headers: dict, optional
1047
- :param _host_index: set to override the host_index for a single
1048
- request; this effectively ignores the host_index
1049
- in the spec for a single request.
1050
- :type _host_index: int, optional
1051
- :return: Returns the result object.
1052
- """ # noqa: E501
1053
- warnings.warn("PUT /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
1054
-
1055
- _param = self._validation_set_validation_set_id_dimensions_put_serialize(
1056
- validation_set_id=validation_set_id,
1057
- update_dimensions_model=update_dimensions_model,
1058
- _request_auth=_request_auth,
1059
- _content_type=_content_type,
1060
- _headers=_headers,
1061
- _host_index=_host_index
1062
- )
1063
-
1064
- _response_types_map: Dict[str, Optional[str]] = {
1065
- '204': None,
1066
- }
1067
- response_data = self.api_client.call_api(
1068
- *_param,
1069
- _request_timeout=_request_timeout
1070
- )
1071
- return response_data.response
1072
-
1073
-
1074
- def _validation_set_validation_set_id_dimensions_put_serialize(
1075
- self,
1076
- validation_set_id,
1077
- update_dimensions_model,
1078
- _request_auth,
1079
- _content_type,
1080
- _headers,
1081
- _host_index,
1082
- ) -> RequestSerialized:
1083
-
1084
- _host = None
1085
-
1086
- _collection_formats: Dict[str, str] = {
1087
- }
1088
-
1089
- _path_params: Dict[str, str] = {}
1090
- _query_params: List[Tuple[str, str]] = []
1091
- _header_params: Dict[str, Optional[str]] = _headers or {}
1092
- _form_params: List[Tuple[str, str]] = []
1093
- _files: Dict[
1094
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1095
- ] = {}
1096
- _body_params: Optional[bytes] = None
1097
-
1098
- # process the path parameters
1099
- if validation_set_id is not None:
1100
- _path_params['validationSetId'] = validation_set_id
1101
- # process the query parameters
1102
- # process the header parameters
1103
- # process the form parameters
1104
- # process the body parameter
1105
- if update_dimensions_model is not None:
1106
- _body_params = update_dimensions_model
1107
-
1108
-
1109
-
1110
- # set the HTTP header `Content-Type`
1111
- if _content_type:
1112
- _header_params['Content-Type'] = _content_type
1113
- else:
1114
- _default_content_type = (
1115
- self.api_client.select_header_content_type(
1116
- [
1117
- 'application/json',
1118
- 'text/json',
1119
- 'application/*+json'
1120
- ]
1121
- )
1122
- )
1123
- if _default_content_type is not None:
1124
- _header_params['Content-Type'] = _default_content_type
1125
-
1126
- # authentication setting
1127
- _auth_settings: List[str] = [
1128
- 'bearer',
1129
- 'oauth2'
1130
- ]
1131
-
1132
- return self.api_client.param_serialize(
1133
- method='PUT',
1134
- resource_path='/validation-set/{validationSetId}/dimensions',
1135
- path_params=_path_params,
1136
- query_params=_query_params,
1137
- header_params=_header_params,
1138
- body=_body_params,
1139
- post_params=_form_params,
1140
- files=_files,
1141
- auth_settings=_auth_settings,
1142
- collection_formats=_collection_formats,
1143
- _host=_host,
1144
- _request_auth=_request_auth
1145
- )
1146
-
1147
-
1148
-
1149
-
1150
- @validate_call
1151
- def validation_set_validation_set_id_export_get(
1152
- self,
1153
- validation_set_id: StrictStr,
1154
- _request_timeout: Union[
1155
- None,
1156
- Annotated[StrictFloat, Field(gt=0)],
1157
- Tuple[
1158
- Annotated[StrictFloat, Field(gt=0)],
1159
- Annotated[StrictFloat, Field(gt=0)]
1160
- ]
1161
- ] = None,
1162
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1163
- _content_type: Optional[StrictStr] = None,
1164
- _headers: Optional[Dict[StrictStr, Any]] = None,
1165
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1166
- ) -> bytearray:
1167
- """Exports all rapids of a validation-set to a file.
1168
-
1169
-
1170
- :param validation_set_id: (required)
1171
- :type validation_set_id: str
1172
- :param _request_timeout: timeout setting for this request. If one
1173
- number provided, it will be total request
1174
- timeout. It can also be a pair (tuple) of
1175
- (connection, read) timeouts.
1176
- :type _request_timeout: int, tuple(int, int), optional
1177
- :param _request_auth: set to override the auth_settings for an a single
1178
- request; this effectively ignores the
1179
- authentication in the spec for a single request.
1180
- :type _request_auth: dict, optional
1181
- :param _content_type: force content-type for the request.
1182
- :type _content_type: str, Optional
1183
- :param _headers: set to override the headers for a single
1184
- request; this effectively ignores the headers
1185
- in the spec for a single request.
1186
- :type _headers: dict, optional
1187
- :param _host_index: set to override the host_index for a single
1188
- request; this effectively ignores the host_index
1189
- in the spec for a single request.
1190
- :type _host_index: int, optional
1191
- :return: Returns the result object.
1192
- """ # noqa: E501
1193
-
1194
- _param = self._validation_set_validation_set_id_export_get_serialize(
1195
- validation_set_id=validation_set_id,
1196
- _request_auth=_request_auth,
1197
- _content_type=_content_type,
1198
- _headers=_headers,
1199
- _host_index=_host_index
1200
- )
1201
-
1202
- _response_types_map: Dict[str, Optional[str]] = {
1203
- '200': "bytearray",
1204
- }
1205
- response_data = self.api_client.call_api(
1206
- *_param,
1207
- _request_timeout=_request_timeout
1208
- )
1209
- response_data.read()
1210
- return self.api_client.response_deserialize(
1211
- response_data=response_data,
1212
- response_types_map=_response_types_map,
1213
- ).data
1214
-
1215
-
1216
- @validate_call
1217
- def validation_set_validation_set_id_export_get_with_http_info(
1218
- self,
1219
- validation_set_id: StrictStr,
1220
- _request_timeout: Union[
1221
- None,
1222
- Annotated[StrictFloat, Field(gt=0)],
1223
- Tuple[
1224
- Annotated[StrictFloat, Field(gt=0)],
1225
- Annotated[StrictFloat, Field(gt=0)]
1226
- ]
1227
- ] = None,
1228
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1229
- _content_type: Optional[StrictStr] = None,
1230
- _headers: Optional[Dict[StrictStr, Any]] = None,
1231
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1232
- ) -> ApiResponse[bytearray]:
1233
- """Exports all rapids of a validation-set to a file.
1234
-
1235
-
1236
- :param validation_set_id: (required)
1237
- :type validation_set_id: str
1238
- :param _request_timeout: timeout setting for this request. If one
1239
- number provided, it will be total request
1240
- timeout. It can also be a pair (tuple) of
1241
- (connection, read) timeouts.
1242
- :type _request_timeout: int, tuple(int, int), optional
1243
- :param _request_auth: set to override the auth_settings for an a single
1244
- request; this effectively ignores the
1245
- authentication in the spec for a single request.
1246
- :type _request_auth: dict, optional
1247
- :param _content_type: force content-type for the request.
1248
- :type _content_type: str, Optional
1249
- :param _headers: set to override the headers for a single
1250
- request; this effectively ignores the headers
1251
- in the spec for a single request.
1252
- :type _headers: dict, optional
1253
- :param _host_index: set to override the host_index for a single
1254
- request; this effectively ignores the host_index
1255
- in the spec for a single request.
1256
- :type _host_index: int, optional
1257
- :return: Returns the result object.
1258
- """ # noqa: E501
1259
-
1260
- _param = self._validation_set_validation_set_id_export_get_serialize(
1261
- validation_set_id=validation_set_id,
1262
- _request_auth=_request_auth,
1263
- _content_type=_content_type,
1264
- _headers=_headers,
1265
- _host_index=_host_index
1266
- )
1267
-
1268
- _response_types_map: Dict[str, Optional[str]] = {
1269
- '200': "bytearray",
1270
- }
1271
- response_data = self.api_client.call_api(
1272
- *_param,
1273
- _request_timeout=_request_timeout
1274
- )
1275
- response_data.read()
1276
- return self.api_client.response_deserialize(
1277
- response_data=response_data,
1278
- response_types_map=_response_types_map,
1279
- )
1280
-
1281
-
1282
- @validate_call
1283
- def validation_set_validation_set_id_export_get_without_preload_content(
1284
- self,
1285
- validation_set_id: StrictStr,
1286
- _request_timeout: Union[
1287
- None,
1288
- Annotated[StrictFloat, Field(gt=0)],
1289
- Tuple[
1290
- Annotated[StrictFloat, Field(gt=0)],
1291
- Annotated[StrictFloat, Field(gt=0)]
1292
- ]
1293
- ] = None,
1294
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1295
- _content_type: Optional[StrictStr] = None,
1296
- _headers: Optional[Dict[StrictStr, Any]] = None,
1297
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1298
- ) -> RESTResponseType:
1299
- """Exports all rapids of a validation-set to a file.
1300
-
1301
-
1302
- :param validation_set_id: (required)
1303
- :type validation_set_id: str
1304
- :param _request_timeout: timeout setting for this request. If one
1305
- number provided, it will be total request
1306
- timeout. It can also be a pair (tuple) of
1307
- (connection, read) timeouts.
1308
- :type _request_timeout: int, tuple(int, int), optional
1309
- :param _request_auth: set to override the auth_settings for an a single
1310
- request; this effectively ignores the
1311
- authentication in the spec for a single request.
1312
- :type _request_auth: dict, optional
1313
- :param _content_type: force content-type for the request.
1314
- :type _content_type: str, Optional
1315
- :param _headers: set to override the headers for a single
1316
- request; this effectively ignores the headers
1317
- in the spec for a single request.
1318
- :type _headers: dict, optional
1319
- :param _host_index: set to override the host_index for a single
1320
- request; this effectively ignores the host_index
1321
- in the spec for a single request.
1322
- :type _host_index: int, optional
1323
- :return: Returns the result object.
1324
- """ # noqa: E501
1325
-
1326
- _param = self._validation_set_validation_set_id_export_get_serialize(
1327
- validation_set_id=validation_set_id,
1328
- _request_auth=_request_auth,
1329
- _content_type=_content_type,
1330
- _headers=_headers,
1331
- _host_index=_host_index
1332
- )
1333
-
1334
- _response_types_map: Dict[str, Optional[str]] = {
1335
- '200': "bytearray",
1336
- }
1337
- response_data = self.api_client.call_api(
1338
- *_param,
1339
- _request_timeout=_request_timeout
1340
- )
1341
- return response_data.response
1342
-
1343
-
1344
- def _validation_set_validation_set_id_export_get_serialize(
1345
- self,
1346
- validation_set_id,
1347
- _request_auth,
1348
- _content_type,
1349
- _headers,
1350
- _host_index,
1351
- ) -> RequestSerialized:
1352
-
1353
- _host = None
1354
-
1355
- _collection_formats: Dict[str, str] = {
1356
- }
1357
-
1358
- _path_params: Dict[str, str] = {}
1359
- _query_params: List[Tuple[str, str]] = []
1360
- _header_params: Dict[str, Optional[str]] = _headers or {}
1361
- _form_params: List[Tuple[str, str]] = []
1362
- _files: Dict[
1363
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1364
- ] = {}
1365
- _body_params: Optional[bytes] = None
1366
-
1367
- # process the path parameters
1368
- if validation_set_id is not None:
1369
- _path_params['validationSetId'] = validation_set_id
1370
- # process the query parameters
1371
- # process the header parameters
1372
- # process the form parameters
1373
- # process the body parameter
1374
-
1375
-
1376
- # set the HTTP header `Accept`
1377
- if 'Accept' not in _header_params:
1378
- _header_params['Accept'] = self.api_client.select_header_accept(
1379
- [
1380
- 'text/plain',
1381
- 'application/json',
1382
- 'text/json'
1383
- ]
1384
- )
1385
-
1386
-
1387
- # authentication setting
1388
- _auth_settings: List[str] = [
1389
- 'bearer',
1390
- 'oauth2'
1391
- ]
1392
-
1393
- return self.api_client.param_serialize(
1394
- method='GET',
1395
- resource_path='/validation-set/{validationSetId}/export',
1396
- path_params=_path_params,
1397
- query_params=_query_params,
1398
- header_params=_header_params,
1399
- body=_body_params,
1400
- post_params=_form_params,
1401
- files=_files,
1402
- auth_settings=_auth_settings,
1403
- collection_formats=_collection_formats,
1404
- _host=_host,
1405
- _request_auth=_request_auth
1406
- )
1407
-
1408
-
1409
-
1410
-
1411
- @validate_call
1412
- def validation_set_validation_set_id_get(
1413
- self,
1414
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
1415
- _request_timeout: Union[
1416
- None,
1417
- Annotated[StrictFloat, Field(gt=0)],
1418
- Tuple[
1419
- Annotated[StrictFloat, Field(gt=0)],
1420
- Annotated[StrictFloat, Field(gt=0)]
1421
- ]
1422
- ] = None,
1423
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1424
- _content_type: Optional[StrictStr] = None,
1425
- _headers: Optional[Dict[StrictStr, Any]] = None,
1426
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1427
- ) -> GetValidationSetByIdResult:
1428
- """Gets a validation set by the id.
1429
-
1430
-
1431
- :param validation_set_id: The id of the validation set to get. (required)
1432
- :type validation_set_id: str
1433
- :param _request_timeout: timeout setting for this request. If one
1434
- number provided, it will be total request
1435
- timeout. It can also be a pair (tuple) of
1436
- (connection, read) timeouts.
1437
- :type _request_timeout: int, tuple(int, int), optional
1438
- :param _request_auth: set to override the auth_settings for an a single
1439
- request; this effectively ignores the
1440
- authentication in the spec for a single request.
1441
- :type _request_auth: dict, optional
1442
- :param _content_type: force content-type for the request.
1443
- :type _content_type: str, Optional
1444
- :param _headers: set to override the headers for a single
1445
- request; this effectively ignores the headers
1446
- in the spec for a single request.
1447
- :type _headers: dict, optional
1448
- :param _host_index: set to override the host_index for a single
1449
- request; this effectively ignores the host_index
1450
- in the spec for a single request.
1451
- :type _host_index: int, optional
1452
- :return: Returns the result object.
1453
- """ # noqa: E501
1454
-
1455
- _param = self._validation_set_validation_set_id_get_serialize(
1456
- validation_set_id=validation_set_id,
1457
- _request_auth=_request_auth,
1458
- _content_type=_content_type,
1459
- _headers=_headers,
1460
- _host_index=_host_index
1461
- )
1462
-
1463
- _response_types_map: Dict[str, Optional[str]] = {
1464
- '200': "GetValidationSetByIdResult",
1465
- }
1466
- response_data = self.api_client.call_api(
1467
- *_param,
1468
- _request_timeout=_request_timeout
1469
- )
1470
- response_data.read()
1471
- return self.api_client.response_deserialize(
1472
- response_data=response_data,
1473
- response_types_map=_response_types_map,
1474
- ).data
1475
-
1476
-
1477
- @validate_call
1478
- def validation_set_validation_set_id_get_with_http_info(
1479
- self,
1480
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
1481
- _request_timeout: Union[
1482
- None,
1483
- Annotated[StrictFloat, Field(gt=0)],
1484
- Tuple[
1485
- Annotated[StrictFloat, Field(gt=0)],
1486
- Annotated[StrictFloat, Field(gt=0)]
1487
- ]
1488
- ] = None,
1489
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1490
- _content_type: Optional[StrictStr] = None,
1491
- _headers: Optional[Dict[StrictStr, Any]] = None,
1492
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1493
- ) -> ApiResponse[GetValidationSetByIdResult]:
1494
- """Gets a validation set by the id.
1495
-
1496
-
1497
- :param validation_set_id: The id of the validation set to get. (required)
1498
- :type validation_set_id: str
1499
- :param _request_timeout: timeout setting for this request. If one
1500
- number provided, it will be total request
1501
- timeout. It can also be a pair (tuple) of
1502
- (connection, read) timeouts.
1503
- :type _request_timeout: int, tuple(int, int), optional
1504
- :param _request_auth: set to override the auth_settings for an a single
1505
- request; this effectively ignores the
1506
- authentication in the spec for a single request.
1507
- :type _request_auth: dict, optional
1508
- :param _content_type: force content-type for the request.
1509
- :type _content_type: str, Optional
1510
- :param _headers: set to override the headers for a single
1511
- request; this effectively ignores the headers
1512
- in the spec for a single request.
1513
- :type _headers: dict, optional
1514
- :param _host_index: set to override the host_index for a single
1515
- request; this effectively ignores the host_index
1516
- in the spec for a single request.
1517
- :type _host_index: int, optional
1518
- :return: Returns the result object.
1519
- """ # noqa: E501
1520
-
1521
- _param = self._validation_set_validation_set_id_get_serialize(
1522
- validation_set_id=validation_set_id,
1523
- _request_auth=_request_auth,
1524
- _content_type=_content_type,
1525
- _headers=_headers,
1526
- _host_index=_host_index
1527
- )
1528
-
1529
- _response_types_map: Dict[str, Optional[str]] = {
1530
- '200': "GetValidationSetByIdResult",
1531
- }
1532
- response_data = self.api_client.call_api(
1533
- *_param,
1534
- _request_timeout=_request_timeout
1535
- )
1536
- response_data.read()
1537
- return self.api_client.response_deserialize(
1538
- response_data=response_data,
1539
- response_types_map=_response_types_map,
1540
- )
1541
-
1542
-
1543
- @validate_call
1544
- def validation_set_validation_set_id_get_without_preload_content(
1545
- self,
1546
- validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
1547
- _request_timeout: Union[
1548
- None,
1549
- Annotated[StrictFloat, Field(gt=0)],
1550
- Tuple[
1551
- Annotated[StrictFloat, Field(gt=0)],
1552
- Annotated[StrictFloat, Field(gt=0)]
1553
- ]
1554
- ] = None,
1555
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1556
- _content_type: Optional[StrictStr] = None,
1557
- _headers: Optional[Dict[StrictStr, Any]] = None,
1558
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1559
- ) -> RESTResponseType:
1560
- """Gets a validation set by the id.
1561
-
1562
-
1563
- :param validation_set_id: The id of the validation set to get. (required)
1564
- :type validation_set_id: str
1565
- :param _request_timeout: timeout setting for this request. If one
1566
- number provided, it will be total request
1567
- timeout. It can also be a pair (tuple) of
1568
- (connection, read) timeouts.
1569
- :type _request_timeout: int, tuple(int, int), optional
1570
- :param _request_auth: set to override the auth_settings for an a single
1571
- request; this effectively ignores the
1572
- authentication in the spec for a single request.
1573
- :type _request_auth: dict, optional
1574
- :param _content_type: force content-type for the request.
1575
- :type _content_type: str, Optional
1576
- :param _headers: set to override the headers for a single
1577
- request; this effectively ignores the headers
1578
- in the spec for a single request.
1579
- :type _headers: dict, optional
1580
- :param _host_index: set to override the host_index for a single
1581
- request; this effectively ignores the host_index
1582
- in the spec for a single request.
1583
- :type _host_index: int, optional
1584
- :return: Returns the result object.
1585
- """ # noqa: E501
1586
-
1587
- _param = self._validation_set_validation_set_id_get_serialize(
1588
- validation_set_id=validation_set_id,
1589
- _request_auth=_request_auth,
1590
- _content_type=_content_type,
1591
- _headers=_headers,
1592
- _host_index=_host_index
1593
- )
1594
-
1595
- _response_types_map: Dict[str, Optional[str]] = {
1596
- '200': "GetValidationSetByIdResult",
1597
- }
1598
- response_data = self.api_client.call_api(
1599
- *_param,
1600
- _request_timeout=_request_timeout
1601
- )
1602
- return response_data.response
1603
-
1604
-
1605
- def _validation_set_validation_set_id_get_serialize(
1606
- self,
1607
- validation_set_id,
1608
- _request_auth,
1609
- _content_type,
1610
- _headers,
1611
- _host_index,
1612
- ) -> RequestSerialized:
1613
-
1614
- _host = None
1615
-
1616
- _collection_formats: Dict[str, str] = {
1617
- }
1618
-
1619
- _path_params: Dict[str, str] = {}
1620
- _query_params: List[Tuple[str, str]] = []
1621
- _header_params: Dict[str, Optional[str]] = _headers or {}
1622
- _form_params: List[Tuple[str, str]] = []
1623
- _files: Dict[
1624
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1625
- ] = {}
1626
- _body_params: Optional[bytes] = None
1627
-
1628
- # process the path parameters
1629
- if validation_set_id is not None:
1630
- _path_params['validationSetId'] = validation_set_id
1631
- # process the query parameters
1632
- # process the header parameters
1633
- # process the form parameters
1634
- # process the body parameter
1635
-
1636
-
1637
- # set the HTTP header `Accept`
1638
- if 'Accept' not in _header_params:
1639
- _header_params['Accept'] = self.api_client.select_header_accept(
1640
- [
1641
- 'text/plain',
1642
- 'application/json',
1643
- 'text/json'
1644
- ]
1645
- )
1646
-
1647
-
1648
- # authentication setting
1649
- _auth_settings: List[str] = [
1650
- 'bearer',
1651
- 'oauth2'
1652
- ]
1653
-
1654
- return self.api_client.param_serialize(
1655
- method='GET',
1656
- resource_path='/validation-set/{validationSetId}',
1657
- path_params=_path_params,
1658
- query_params=_query_params,
1659
- header_params=_header_params,
1660
- body=_body_params,
1661
- post_params=_form_params,
1662
- files=_files,
1663
- auth_settings=_auth_settings,
1664
- collection_formats=_collection_formats,
1665
- _host=_host,
1666
- _request_auth=_request_auth
1667
- )
1668
-
1669
-
1670
-
1671
-
1672
- @validate_call
1673
- def validation_set_validation_set_id_rapid_files_post(
329
+ def validation_set_recommended_get(
1674
330
  self,
1675
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
1676
- model: Optional[AddValidationRapidModel] = None,
1677
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
331
+ asset_type: Optional[List[StrictStr]] = None,
332
+ modality: Optional[List[StrictStr]] = None,
333
+ prompt_type: Optional[List[StrictStr]] = None,
334
+ instruction: Optional[StrictStr] = None,
1678
335
  _request_timeout: Union[
1679
336
  None,
1680
337
  Annotated[StrictFloat, Field(gt=0)],
@@ -1687,16 +344,18 @@ class ValidationSetApi:
1687
344
  _content_type: Optional[StrictStr] = None,
1688
345
  _headers: Optional[Dict[StrictStr, Any]] = None,
1689
346
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1690
- ) -> AddValidationRapidResult:
1691
- """(Deprecated) Adds a new validation rapid to the specified validation set using files to create the assets.
1692
-
1693
-
1694
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
1695
- :type validation_set_id: str
1696
- :param model:
1697
- :type model: AddValidationRapidModel
1698
- :param files:
1699
- :type files: List[bytearray]
347
+ ) -> GetRecommendedValidationSetResult:
348
+ """validation_set_recommended_get
349
+
350
+
351
+ :param asset_type:
352
+ :type asset_type: List[str]
353
+ :param modality:
354
+ :type modality: List[str]
355
+ :param prompt_type:
356
+ :type prompt_type: List[str]
357
+ :param instruction:
358
+ :type instruction: str
1700
359
  :param _request_timeout: timeout setting for this request. If one
1701
360
  number provided, it will be total request
1702
361
  timeout. It can also be a pair (tuple) of
@@ -1718,12 +377,12 @@ class ValidationSetApi:
1718
377
  :type _host_index: int, optional
1719
378
  :return: Returns the result object.
1720
379
  """ # noqa: E501
1721
- warnings.warn("POST /validation-set/{validationSetId}/rapid/files is deprecated.", DeprecationWarning)
1722
380
 
1723
- _param = self._validation_set_validation_set_id_rapid_files_post_serialize(
1724
- validation_set_id=validation_set_id,
1725
- model=model,
1726
- files=files,
381
+ _param = self._validation_set_recommended_get_serialize(
382
+ asset_type=asset_type,
383
+ modality=modality,
384
+ prompt_type=prompt_type,
385
+ instruction=instruction,
1727
386
  _request_auth=_request_auth,
1728
387
  _content_type=_content_type,
1729
388
  _headers=_headers,
@@ -1731,7 +390,8 @@ class ValidationSetApi:
1731
390
  )
1732
391
 
1733
392
  _response_types_map: Dict[str, Optional[str]] = {
1734
- '200': "AddValidationRapidResult",
393
+ '200': "GetRecommendedValidationSetResult",
394
+ '404': "ProblemDetails",
1735
395
  }
1736
396
  response_data = self.api_client.call_api(
1737
397
  *_param,
@@ -1745,11 +405,12 @@ class ValidationSetApi:
1745
405
 
1746
406
 
1747
407
  @validate_call
1748
- def validation_set_validation_set_id_rapid_files_post_with_http_info(
408
+ def validation_set_recommended_get_with_http_info(
1749
409
  self,
1750
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
1751
- model: Optional[AddValidationRapidModel] = None,
1752
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
410
+ asset_type: Optional[List[StrictStr]] = None,
411
+ modality: Optional[List[StrictStr]] = None,
412
+ prompt_type: Optional[List[StrictStr]] = None,
413
+ instruction: Optional[StrictStr] = None,
1753
414
  _request_timeout: Union[
1754
415
  None,
1755
416
  Annotated[StrictFloat, Field(gt=0)],
@@ -1762,16 +423,18 @@ class ValidationSetApi:
1762
423
  _content_type: Optional[StrictStr] = None,
1763
424
  _headers: Optional[Dict[StrictStr, Any]] = None,
1764
425
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1765
- ) -> ApiResponse[AddValidationRapidResult]:
1766
- """(Deprecated) Adds a new validation rapid to the specified validation set using files to create the assets.
1767
-
1768
-
1769
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
1770
- :type validation_set_id: str
1771
- :param model:
1772
- :type model: AddValidationRapidModel
1773
- :param files:
1774
- :type files: List[bytearray]
426
+ ) -> ApiResponse[GetRecommendedValidationSetResult]:
427
+ """validation_set_recommended_get
428
+
429
+
430
+ :param asset_type:
431
+ :type asset_type: List[str]
432
+ :param modality:
433
+ :type modality: List[str]
434
+ :param prompt_type:
435
+ :type prompt_type: List[str]
436
+ :param instruction:
437
+ :type instruction: str
1775
438
  :param _request_timeout: timeout setting for this request. If one
1776
439
  number provided, it will be total request
1777
440
  timeout. It can also be a pair (tuple) of
@@ -1793,12 +456,12 @@ class ValidationSetApi:
1793
456
  :type _host_index: int, optional
1794
457
  :return: Returns the result object.
1795
458
  """ # noqa: E501
1796
- warnings.warn("POST /validation-set/{validationSetId}/rapid/files is deprecated.", DeprecationWarning)
1797
459
 
1798
- _param = self._validation_set_validation_set_id_rapid_files_post_serialize(
1799
- validation_set_id=validation_set_id,
1800
- model=model,
1801
- files=files,
460
+ _param = self._validation_set_recommended_get_serialize(
461
+ asset_type=asset_type,
462
+ modality=modality,
463
+ prompt_type=prompt_type,
464
+ instruction=instruction,
1802
465
  _request_auth=_request_auth,
1803
466
  _content_type=_content_type,
1804
467
  _headers=_headers,
@@ -1806,7 +469,8 @@ class ValidationSetApi:
1806
469
  )
1807
470
 
1808
471
  _response_types_map: Dict[str, Optional[str]] = {
1809
- '200': "AddValidationRapidResult",
472
+ '200': "GetRecommendedValidationSetResult",
473
+ '404': "ProblemDetails",
1810
474
  }
1811
475
  response_data = self.api_client.call_api(
1812
476
  *_param,
@@ -1820,11 +484,12 @@ class ValidationSetApi:
1820
484
 
1821
485
 
1822
486
  @validate_call
1823
- def validation_set_validation_set_id_rapid_files_post_without_preload_content(
487
+ def validation_set_recommended_get_without_preload_content(
1824
488
  self,
1825
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
1826
- model: Optional[AddValidationRapidModel] = None,
1827
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
489
+ asset_type: Optional[List[StrictStr]] = None,
490
+ modality: Optional[List[StrictStr]] = None,
491
+ prompt_type: Optional[List[StrictStr]] = None,
492
+ instruction: Optional[StrictStr] = None,
1828
493
  _request_timeout: Union[
1829
494
  None,
1830
495
  Annotated[StrictFloat, Field(gt=0)],
@@ -1838,15 +503,17 @@ class ValidationSetApi:
1838
503
  _headers: Optional[Dict[StrictStr, Any]] = None,
1839
504
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1840
505
  ) -> RESTResponseType:
1841
- """(Deprecated) Adds a new validation rapid to the specified validation set using files to create the assets.
506
+ """validation_set_recommended_get
1842
507
 
1843
508
 
1844
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
1845
- :type validation_set_id: str
1846
- :param model:
1847
- :type model: AddValidationRapidModel
1848
- :param files:
1849
- :type files: List[bytearray]
509
+ :param asset_type:
510
+ :type asset_type: List[str]
511
+ :param modality:
512
+ :type modality: List[str]
513
+ :param prompt_type:
514
+ :type prompt_type: List[str]
515
+ :param instruction:
516
+ :type instruction: str
1850
517
  :param _request_timeout: timeout setting for this request. If one
1851
518
  number provided, it will be total request
1852
519
  timeout. It can also be a pair (tuple) of
@@ -1868,12 +535,12 @@ class ValidationSetApi:
1868
535
  :type _host_index: int, optional
1869
536
  :return: Returns the result object.
1870
537
  """ # noqa: E501
1871
- warnings.warn("POST /validation-set/{validationSetId}/rapid/files is deprecated.", DeprecationWarning)
1872
538
 
1873
- _param = self._validation_set_validation_set_id_rapid_files_post_serialize(
1874
- validation_set_id=validation_set_id,
1875
- model=model,
1876
- files=files,
539
+ _param = self._validation_set_recommended_get_serialize(
540
+ asset_type=asset_type,
541
+ modality=modality,
542
+ prompt_type=prompt_type,
543
+ instruction=instruction,
1877
544
  _request_auth=_request_auth,
1878
545
  _content_type=_content_type,
1879
546
  _headers=_headers,
@@ -1881,7 +548,8 @@ class ValidationSetApi:
1881
548
  )
1882
549
 
1883
550
  _response_types_map: Dict[str, Optional[str]] = {
1884
- '200': "AddValidationRapidResult",
551
+ '200': "GetRecommendedValidationSetResult",
552
+ '404': "ProblemDetails",
1885
553
  }
1886
554
  response_data = self.api_client.call_api(
1887
555
  *_param,
@@ -1890,11 +558,12 @@ class ValidationSetApi:
1890
558
  return response_data.response
1891
559
 
1892
560
 
1893
- def _validation_set_validation_set_id_rapid_files_post_serialize(
561
+ def _validation_set_recommended_get_serialize(
1894
562
  self,
1895
- validation_set_id,
1896
- model,
1897
- files,
563
+ asset_type,
564
+ modality,
565
+ prompt_type,
566
+ instruction,
1898
567
  _request_auth,
1899
568
  _content_type,
1900
569
  _headers,
@@ -1904,7 +573,9 @@ class ValidationSetApi:
1904
573
  _host = None
1905
574
 
1906
575
  _collection_formats: Dict[str, str] = {
1907
- 'files': 'multi',
576
+ 'assetType': 'multi',
577
+ 'modality': 'multi',
578
+ 'promptType': 'multi',
1908
579
  }
1909
580
 
1910
581
  _path_params: Dict[str, str] = {}
@@ -1917,15 +588,25 @@ class ValidationSetApi:
1917
588
  _body_params: Optional[bytes] = None
1918
589
 
1919
590
  # process the path parameters
1920
- if validation_set_id is not None:
1921
- _path_params['validationSetId'] = validation_set_id
1922
591
  # process the query parameters
592
+ if asset_type is not None:
593
+
594
+ _query_params.append(('assetType', asset_type))
595
+
596
+ if modality is not None:
597
+
598
+ _query_params.append(('modality', modality))
599
+
600
+ if prompt_type is not None:
601
+
602
+ _query_params.append(('promptType', prompt_type))
603
+
604
+ if instruction is not None:
605
+
606
+ _query_params.append(('instruction', instruction))
607
+
1923
608
  # process the header parameters
1924
609
  # process the form parameters
1925
- if model is not None:
1926
- _form_params.append(('model', model))
1927
- if files is not None:
1928
- _files['files'] = files
1929
610
  # process the body parameter
1930
611
 
1931
612
 
@@ -1939,29 +620,17 @@ class ValidationSetApi:
1939
620
  ]
1940
621
  )
1941
622
 
1942
- # set the HTTP header `Content-Type`
1943
- if _content_type:
1944
- _header_params['Content-Type'] = _content_type
1945
- else:
1946
- _default_content_type = (
1947
- self.api_client.select_header_content_type(
1948
- [
1949
- 'multipart/form-data'
1950
- ]
1951
- )
1952
- )
1953
- if _default_content_type is not None:
1954
- _header_params['Content-Type'] = _default_content_type
1955
623
 
1956
624
  # authentication setting
1957
625
  _auth_settings: List[str] = [
1958
- 'bearer',
1959
- 'oauth2'
626
+ 'OAuth2',
627
+ 'OpenIdConnect',
628
+ 'Bearer'
1960
629
  ]
1961
630
 
1962
631
  return self.api_client.param_serialize(
1963
- method='POST',
1964
- resource_path='/validation-set/{validationSetId}/rapid/files',
632
+ method='GET',
633
+ resource_path='/validation-set/recommended',
1965
634
  path_params=_path_params,
1966
635
  query_params=_query_params,
1967
636
  header_params=_header_params,
@@ -1978,13 +647,9 @@ class ValidationSetApi:
1978
647
 
1979
648
 
1980
649
  @validate_call
1981
- def validation_set_validation_set_id_rapid_post(
650
+ def validation_set_validation_set_id_delete(
1982
651
  self,
1983
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
1984
- model: Optional[AddValidationRapidModel] = None,
1985
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1986
- texts: Annotated[Optional[List[StrictStr]], Field(description="The texts to use for the rapid.")] = None,
1987
- urls: Annotated[Optional[List[StrictStr]], Field(description="The urls to use for the rapid")] = None,
652
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
1988
653
  _request_timeout: Union[
1989
654
  None,
1990
655
  Annotated[StrictFloat, Field(gt=0)],
@@ -1997,20 +662,12 @@ class ValidationSetApi:
1997
662
  _content_type: Optional[StrictStr] = None,
1998
663
  _headers: Optional[Dict[StrictStr, Any]] = None,
1999
664
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2000
- ) -> AddValidationRapidResult:
2001
- """Adds a new validation rapid to the specified validation set using files to create the assets.
665
+ ) -> None:
666
+ """Gets a validation set by the id.
2002
667
 
2003
668
 
2004
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
669
+ :param validation_set_id: The id of the validation set to get. (required)
2005
670
  :type validation_set_id: str
2006
- :param model:
2007
- :type model: AddValidationRapidModel
2008
- :param files:
2009
- :type files: List[bytearray]
2010
- :param texts: The texts to use for the rapid.
2011
- :type texts: List[str]
2012
- :param urls: The urls to use for the rapid
2013
- :type urls: List[str]
2014
671
  :param _request_timeout: timeout setting for this request. If one
2015
672
  number provided, it will be total request
2016
673
  timeout. It can also be a pair (tuple) of
@@ -2033,12 +690,8 @@ class ValidationSetApi:
2033
690
  :return: Returns the result object.
2034
691
  """ # noqa: E501
2035
692
 
2036
- _param = self._validation_set_validation_set_id_rapid_post_serialize(
693
+ _param = self._validation_set_validation_set_id_delete_serialize(
2037
694
  validation_set_id=validation_set_id,
2038
- model=model,
2039
- files=files,
2040
- texts=texts,
2041
- urls=urls,
2042
695
  _request_auth=_request_auth,
2043
696
  _content_type=_content_type,
2044
697
  _headers=_headers,
@@ -2046,7 +699,7 @@ class ValidationSetApi:
2046
699
  )
2047
700
 
2048
701
  _response_types_map: Dict[str, Optional[str]] = {
2049
- '200': "AddValidationRapidResult",
702
+ '204': None,
2050
703
  }
2051
704
  response_data = self.api_client.call_api(
2052
705
  *_param,
@@ -2060,13 +713,9 @@ class ValidationSetApi:
2060
713
 
2061
714
 
2062
715
  @validate_call
2063
- def validation_set_validation_set_id_rapid_post_with_http_info(
716
+ def validation_set_validation_set_id_delete_with_http_info(
2064
717
  self,
2065
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
2066
- model: Optional[AddValidationRapidModel] = None,
2067
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
2068
- texts: Annotated[Optional[List[StrictStr]], Field(description="The texts to use for the rapid.")] = None,
2069
- urls: Annotated[Optional[List[StrictStr]], Field(description="The urls to use for the rapid")] = None,
718
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
2070
719
  _request_timeout: Union[
2071
720
  None,
2072
721
  Annotated[StrictFloat, Field(gt=0)],
@@ -2079,20 +728,12 @@ class ValidationSetApi:
2079
728
  _content_type: Optional[StrictStr] = None,
2080
729
  _headers: Optional[Dict[StrictStr, Any]] = None,
2081
730
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2082
- ) -> ApiResponse[AddValidationRapidResult]:
2083
- """Adds a new validation rapid to the specified validation set using files to create the assets.
731
+ ) -> ApiResponse[None]:
732
+ """Gets a validation set by the id.
2084
733
 
2085
734
 
2086
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
735
+ :param validation_set_id: The id of the validation set to get. (required)
2087
736
  :type validation_set_id: str
2088
- :param model:
2089
- :type model: AddValidationRapidModel
2090
- :param files:
2091
- :type files: List[bytearray]
2092
- :param texts: The texts to use for the rapid.
2093
- :type texts: List[str]
2094
- :param urls: The urls to use for the rapid
2095
- :type urls: List[str]
2096
737
  :param _request_timeout: timeout setting for this request. If one
2097
738
  number provided, it will be total request
2098
739
  timeout. It can also be a pair (tuple) of
@@ -2115,12 +756,8 @@ class ValidationSetApi:
2115
756
  :return: Returns the result object.
2116
757
  """ # noqa: E501
2117
758
 
2118
- _param = self._validation_set_validation_set_id_rapid_post_serialize(
759
+ _param = self._validation_set_validation_set_id_delete_serialize(
2119
760
  validation_set_id=validation_set_id,
2120
- model=model,
2121
- files=files,
2122
- texts=texts,
2123
- urls=urls,
2124
761
  _request_auth=_request_auth,
2125
762
  _content_type=_content_type,
2126
763
  _headers=_headers,
@@ -2128,7 +765,7 @@ class ValidationSetApi:
2128
765
  )
2129
766
 
2130
767
  _response_types_map: Dict[str, Optional[str]] = {
2131
- '200': "AddValidationRapidResult",
768
+ '204': None,
2132
769
  }
2133
770
  response_data = self.api_client.call_api(
2134
771
  *_param,
@@ -2142,13 +779,9 @@ class ValidationSetApi:
2142
779
 
2143
780
 
2144
781
  @validate_call
2145
- def validation_set_validation_set_id_rapid_post_without_preload_content(
782
+ def validation_set_validation_set_id_delete_without_preload_content(
2146
783
  self,
2147
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
2148
- model: Optional[AddValidationRapidModel] = None,
2149
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
2150
- texts: Annotated[Optional[List[StrictStr]], Field(description="The texts to use for the rapid.")] = None,
2151
- urls: Annotated[Optional[List[StrictStr]], Field(description="The urls to use for the rapid")] = None,
784
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
2152
785
  _request_timeout: Union[
2153
786
  None,
2154
787
  Annotated[StrictFloat, Field(gt=0)],
@@ -2162,19 +795,11 @@ class ValidationSetApi:
2162
795
  _headers: Optional[Dict[StrictStr, Any]] = None,
2163
796
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2164
797
  ) -> RESTResponseType:
2165
- """Adds a new validation rapid to the specified validation set using files to create the assets.
798
+ """Gets a validation set by the id.
2166
799
 
2167
800
 
2168
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
801
+ :param validation_set_id: The id of the validation set to get. (required)
2169
802
  :type validation_set_id: str
2170
- :param model:
2171
- :type model: AddValidationRapidModel
2172
- :param files:
2173
- :type files: List[bytearray]
2174
- :param texts: The texts to use for the rapid.
2175
- :type texts: List[str]
2176
- :param urls: The urls to use for the rapid
2177
- :type urls: List[str]
2178
803
  :param _request_timeout: timeout setting for this request. If one
2179
804
  number provided, it will be total request
2180
805
  timeout. It can also be a pair (tuple) of
@@ -2197,12 +822,8 @@ class ValidationSetApi:
2197
822
  :return: Returns the result object.
2198
823
  """ # noqa: E501
2199
824
 
2200
- _param = self._validation_set_validation_set_id_rapid_post_serialize(
825
+ _param = self._validation_set_validation_set_id_delete_serialize(
2201
826
  validation_set_id=validation_set_id,
2202
- model=model,
2203
- files=files,
2204
- texts=texts,
2205
- urls=urls,
2206
827
  _request_auth=_request_auth,
2207
828
  _content_type=_content_type,
2208
829
  _headers=_headers,
@@ -2210,7 +831,7 @@ class ValidationSetApi:
2210
831
  )
2211
832
 
2212
833
  _response_types_map: Dict[str, Optional[str]] = {
2213
- '200': "AddValidationRapidResult",
834
+ '204': None,
2214
835
  }
2215
836
  response_data = self.api_client.call_api(
2216
837
  *_param,
@@ -2219,13 +840,9 @@ class ValidationSetApi:
2219
840
  return response_data.response
2220
841
 
2221
842
 
2222
- def _validation_set_validation_set_id_rapid_post_serialize(
843
+ def _validation_set_validation_set_id_delete_serialize(
2223
844
  self,
2224
845
  validation_set_id,
2225
- model,
2226
- files,
2227
- texts,
2228
- urls,
2229
846
  _request_auth,
2230
847
  _content_type,
2231
848
  _headers,
@@ -2235,9 +852,6 @@ class ValidationSetApi:
2235
852
  _host = None
2236
853
 
2237
854
  _collection_formats: Dict[str, str] = {
2238
- 'files': 'multi',
2239
- 'texts': 'multi',
2240
- 'urls': 'multi',
2241
855
  }
2242
856
 
2243
857
  _path_params: Dict[str, str] = {}
@@ -2255,50 +869,21 @@ class ValidationSetApi:
2255
869
  # process the query parameters
2256
870
  # process the header parameters
2257
871
  # process the form parameters
2258
- if model is not None:
2259
- _form_params.append(('model', model))
2260
- if files is not None:
2261
- _files['files'] = files
2262
- if texts is not None:
2263
- _form_params.append(('texts', texts))
2264
- if urls is not None:
2265
- _form_params.append(('urls', urls))
2266
872
  # process the body parameter
2267
873
 
2268
874
 
2269
- # set the HTTP header `Accept`
2270
- if 'Accept' not in _header_params:
2271
- _header_params['Accept'] = self.api_client.select_header_accept(
2272
- [
2273
- 'text/plain',
2274
- 'application/json',
2275
- 'text/json'
2276
- ]
2277
- )
2278
875
 
2279
- # set the HTTP header `Content-Type`
2280
- if _content_type:
2281
- _header_params['Content-Type'] = _content_type
2282
- else:
2283
- _default_content_type = (
2284
- self.api_client.select_header_content_type(
2285
- [
2286
- 'multipart/form-data'
2287
- ]
2288
- )
2289
- )
2290
- if _default_content_type is not None:
2291
- _header_params['Content-Type'] = _default_content_type
2292
876
 
2293
877
  # authentication setting
2294
878
  _auth_settings: List[str] = [
2295
- 'bearer',
2296
- 'oauth2'
879
+ 'OAuth2',
880
+ 'OpenIdConnect',
881
+ 'Bearer'
2297
882
  ]
2298
883
 
2299
884
  return self.api_client.param_serialize(
2300
- method='POST',
2301
- resource_path='/validation-set/{validationSetId}/rapid',
885
+ method='DELETE',
886
+ resource_path='/validation-set/{validationSetId}',
2302
887
  path_params=_path_params,
2303
888
  query_params=_query_params,
2304
889
  header_params=_header_params,
@@ -2315,10 +900,9 @@ class ValidationSetApi:
2315
900
 
2316
901
 
2317
902
  @validate_call
2318
- def validation_set_validation_set_id_rapid_texts_post(
903
+ def validation_set_validation_set_id_export_get(
2319
904
  self,
2320
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
2321
- add_validation_text_rapid_model: Annotated[Optional[AddValidationTextRapidModel], Field(description="The model containing the information needed to add the validation rapid.")] = None,
905
+ validation_set_id: StrictStr,
2322
906
  _request_timeout: Union[
2323
907
  None,
2324
908
  Annotated[StrictFloat, Field(gt=0)],
@@ -2331,14 +915,12 @@ class ValidationSetApi:
2331
915
  _content_type: Optional[StrictStr] = None,
2332
916
  _headers: Optional[Dict[StrictStr, Any]] = None,
2333
917
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2334
- ) -> AddValidationRapidResult:
2335
- """(Deprecated) Adds a new validation rapid to the specified validation set using text sources to create the assets.
918
+ ) -> bytearray:
919
+ """Exports all rapids of a validation-set to a file.
2336
920
 
2337
921
 
2338
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
922
+ :param validation_set_id: (required)
2339
923
  :type validation_set_id: str
2340
- :param add_validation_text_rapid_model: The model containing the information needed to add the validation rapid.
2341
- :type add_validation_text_rapid_model: AddValidationTextRapidModel
2342
924
  :param _request_timeout: timeout setting for this request. If one
2343
925
  number provided, it will be total request
2344
926
  timeout. It can also be a pair (tuple) of
@@ -2360,11 +942,9 @@ class ValidationSetApi:
2360
942
  :type _host_index: int, optional
2361
943
  :return: Returns the result object.
2362
944
  """ # noqa: E501
2363
- warnings.warn("POST /validation-set/{validationSetId}/rapid/texts is deprecated.", DeprecationWarning)
2364
945
 
2365
- _param = self._validation_set_validation_set_id_rapid_texts_post_serialize(
946
+ _param = self._validation_set_validation_set_id_export_get_serialize(
2366
947
  validation_set_id=validation_set_id,
2367
- add_validation_text_rapid_model=add_validation_text_rapid_model,
2368
948
  _request_auth=_request_auth,
2369
949
  _content_type=_content_type,
2370
950
  _headers=_headers,
@@ -2372,7 +952,7 @@ class ValidationSetApi:
2372
952
  )
2373
953
 
2374
954
  _response_types_map: Dict[str, Optional[str]] = {
2375
- '200': "AddValidationRapidResult",
955
+ '200': "bytearray",
2376
956
  }
2377
957
  response_data = self.api_client.call_api(
2378
958
  *_param,
@@ -2386,10 +966,9 @@ class ValidationSetApi:
2386
966
 
2387
967
 
2388
968
  @validate_call
2389
- def validation_set_validation_set_id_rapid_texts_post_with_http_info(
969
+ def validation_set_validation_set_id_export_get_with_http_info(
2390
970
  self,
2391
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
2392
- add_validation_text_rapid_model: Annotated[Optional[AddValidationTextRapidModel], Field(description="The model containing the information needed to add the validation rapid.")] = None,
971
+ validation_set_id: StrictStr,
2393
972
  _request_timeout: Union[
2394
973
  None,
2395
974
  Annotated[StrictFloat, Field(gt=0)],
@@ -2402,14 +981,12 @@ class ValidationSetApi:
2402
981
  _content_type: Optional[StrictStr] = None,
2403
982
  _headers: Optional[Dict[StrictStr, Any]] = None,
2404
983
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2405
- ) -> ApiResponse[AddValidationRapidResult]:
2406
- """(Deprecated) Adds a new validation rapid to the specified validation set using text sources to create the assets.
984
+ ) -> ApiResponse[bytearray]:
985
+ """Exports all rapids of a validation-set to a file.
2407
986
 
2408
987
 
2409
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
988
+ :param validation_set_id: (required)
2410
989
  :type validation_set_id: str
2411
- :param add_validation_text_rapid_model: The model containing the information needed to add the validation rapid.
2412
- :type add_validation_text_rapid_model: AddValidationTextRapidModel
2413
990
  :param _request_timeout: timeout setting for this request. If one
2414
991
  number provided, it will be total request
2415
992
  timeout. It can also be a pair (tuple) of
@@ -2431,11 +1008,9 @@ class ValidationSetApi:
2431
1008
  :type _host_index: int, optional
2432
1009
  :return: Returns the result object.
2433
1010
  """ # noqa: E501
2434
- warnings.warn("POST /validation-set/{validationSetId}/rapid/texts is deprecated.", DeprecationWarning)
2435
1011
 
2436
- _param = self._validation_set_validation_set_id_rapid_texts_post_serialize(
1012
+ _param = self._validation_set_validation_set_id_export_get_serialize(
2437
1013
  validation_set_id=validation_set_id,
2438
- add_validation_text_rapid_model=add_validation_text_rapid_model,
2439
1014
  _request_auth=_request_auth,
2440
1015
  _content_type=_content_type,
2441
1016
  _headers=_headers,
@@ -2443,7 +1018,7 @@ class ValidationSetApi:
2443
1018
  )
2444
1019
 
2445
1020
  _response_types_map: Dict[str, Optional[str]] = {
2446
- '200': "AddValidationRapidResult",
1021
+ '200': "bytearray",
2447
1022
  }
2448
1023
  response_data = self.api_client.call_api(
2449
1024
  *_param,
@@ -2457,10 +1032,9 @@ class ValidationSetApi:
2457
1032
 
2458
1033
 
2459
1034
  @validate_call
2460
- def validation_set_validation_set_id_rapid_texts_post_without_preload_content(
1035
+ def validation_set_validation_set_id_export_get_without_preload_content(
2461
1036
  self,
2462
- validation_set_id: Annotated[StrictStr, Field(description="The ID of the validation set to add the rapid to.")],
2463
- add_validation_text_rapid_model: Annotated[Optional[AddValidationTextRapidModel], Field(description="The model containing the information needed to add the validation rapid.")] = None,
1037
+ validation_set_id: StrictStr,
2464
1038
  _request_timeout: Union[
2465
1039
  None,
2466
1040
  Annotated[StrictFloat, Field(gt=0)],
@@ -2474,13 +1048,11 @@ class ValidationSetApi:
2474
1048
  _headers: Optional[Dict[StrictStr, Any]] = None,
2475
1049
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2476
1050
  ) -> RESTResponseType:
2477
- """(Deprecated) Adds a new validation rapid to the specified validation set using text sources to create the assets.
1051
+ """Exports all rapids of a validation-set to a file.
2478
1052
 
2479
1053
 
2480
- :param validation_set_id: The ID of the validation set to add the rapid to. (required)
1054
+ :param validation_set_id: (required)
2481
1055
  :type validation_set_id: str
2482
- :param add_validation_text_rapid_model: The model containing the information needed to add the validation rapid.
2483
- :type add_validation_text_rapid_model: AddValidationTextRapidModel
2484
1056
  :param _request_timeout: timeout setting for this request. If one
2485
1057
  number provided, it will be total request
2486
1058
  timeout. It can also be a pair (tuple) of
@@ -2502,11 +1074,9 @@ class ValidationSetApi:
2502
1074
  :type _host_index: int, optional
2503
1075
  :return: Returns the result object.
2504
1076
  """ # noqa: E501
2505
- warnings.warn("POST /validation-set/{validationSetId}/rapid/texts is deprecated.", DeprecationWarning)
2506
1077
 
2507
- _param = self._validation_set_validation_set_id_rapid_texts_post_serialize(
1078
+ _param = self._validation_set_validation_set_id_export_get_serialize(
2508
1079
  validation_set_id=validation_set_id,
2509
- add_validation_text_rapid_model=add_validation_text_rapid_model,
2510
1080
  _request_auth=_request_auth,
2511
1081
  _content_type=_content_type,
2512
1082
  _headers=_headers,
@@ -2514,7 +1084,7 @@ class ValidationSetApi:
2514
1084
  )
2515
1085
 
2516
1086
  _response_types_map: Dict[str, Optional[str]] = {
2517
- '200': "AddValidationRapidResult",
1087
+ '200': "bytearray",
2518
1088
  }
2519
1089
  response_data = self.api_client.call_api(
2520
1090
  *_param,
@@ -2523,10 +1093,9 @@ class ValidationSetApi:
2523
1093
  return response_data.response
2524
1094
 
2525
1095
 
2526
- def _validation_set_validation_set_id_rapid_texts_post_serialize(
1096
+ def _validation_set_validation_set_id_export_get_serialize(
2527
1097
  self,
2528
1098
  validation_set_id,
2529
- add_validation_text_rapid_model,
2530
1099
  _request_auth,
2531
1100
  _content_type,
2532
1101
  _headers,
@@ -2554,8 +1123,6 @@ class ValidationSetApi:
2554
1123
  # process the header parameters
2555
1124
  # process the form parameters
2556
1125
  # process the body parameter
2557
- if add_validation_text_rapid_model is not None:
2558
- _body_params = add_validation_text_rapid_model
2559
1126
 
2560
1127
 
2561
1128
  # set the HTTP header `Accept`
@@ -2568,31 +1135,17 @@ class ValidationSetApi:
2568
1135
  ]
2569
1136
  )
2570
1137
 
2571
- # set the HTTP header `Content-Type`
2572
- if _content_type:
2573
- _header_params['Content-Type'] = _content_type
2574
- else:
2575
- _default_content_type = (
2576
- self.api_client.select_header_content_type(
2577
- [
2578
- 'application/json',
2579
- 'text/json',
2580
- 'application/*+json'
2581
- ]
2582
- )
2583
- )
2584
- if _default_content_type is not None:
2585
- _header_params['Content-Type'] = _default_content_type
2586
1138
 
2587
1139
  # authentication setting
2588
1140
  _auth_settings: List[str] = [
2589
- 'bearer',
2590
- 'oauth2'
1141
+ 'OAuth2',
1142
+ 'OpenIdConnect',
1143
+ 'Bearer'
2591
1144
  ]
2592
1145
 
2593
1146
  return self.api_client.param_serialize(
2594
- method='POST',
2595
- resource_path='/validation-set/{validationSetId}/rapid/texts',
1147
+ method='GET',
1148
+ resource_path='/validation-set/{validationSetId}/export',
2596
1149
  path_params=_path_params,
2597
1150
  query_params=_query_params,
2598
1151
  header_params=_header_params,
@@ -2609,10 +1162,9 @@ class ValidationSetApi:
2609
1162
 
2610
1163
 
2611
1164
  @validate_call
2612
- def validation_set_validation_set_id_rapids_get(
1165
+ def validation_set_validation_set_id_get(
2613
1166
  self,
2614
- validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
2615
- model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
1167
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
2616
1168
  _request_timeout: Union[
2617
1169
  None,
2618
1170
  Annotated[StrictFloat, Field(gt=0)],
@@ -2625,14 +1177,12 @@ class ValidationSetApi:
2625
1177
  _content_type: Optional[StrictStr] = None,
2626
1178
  _headers: Optional[Dict[StrictStr, Any]] = None,
2627
1179
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2628
- ) -> GetValidationRapidsResultPagedResult:
2629
- """Queries the validation rapids for a specific validation set.
1180
+ ) -> GetValidationSetByIdResult:
1181
+ """Gets a validation set by the id.
2630
1182
 
2631
1183
 
2632
- :param validation_set_id: The validation set to query. (required)
1184
+ :param validation_set_id: The id of the validation set to get. (required)
2633
1185
  :type validation_set_id: str
2634
- :param model: The request formatted as a JSON in the query parameters.
2635
- :type model: QueryModel
2636
1186
  :param _request_timeout: timeout setting for this request. If one
2637
1187
  number provided, it will be total request
2638
1188
  timeout. It can also be a pair (tuple) of
@@ -2655,9 +1205,8 @@ class ValidationSetApi:
2655
1205
  :return: Returns the result object.
2656
1206
  """ # noqa: E501
2657
1207
 
2658
- _param = self._validation_set_validation_set_id_rapids_get_serialize(
1208
+ _param = self._validation_set_validation_set_id_get_serialize(
2659
1209
  validation_set_id=validation_set_id,
2660
- model=model,
2661
1210
  _request_auth=_request_auth,
2662
1211
  _content_type=_content_type,
2663
1212
  _headers=_headers,
@@ -2665,7 +1214,7 @@ class ValidationSetApi:
2665
1214
  )
2666
1215
 
2667
1216
  _response_types_map: Dict[str, Optional[str]] = {
2668
- '200': "GetValidationRapidsResultPagedResult",
1217
+ '200': "GetValidationSetByIdResult",
2669
1218
  }
2670
1219
  response_data = self.api_client.call_api(
2671
1220
  *_param,
@@ -2679,10 +1228,9 @@ class ValidationSetApi:
2679
1228
 
2680
1229
 
2681
1230
  @validate_call
2682
- def validation_set_validation_set_id_rapids_get_with_http_info(
1231
+ def validation_set_validation_set_id_get_with_http_info(
2683
1232
  self,
2684
- validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
2685
- model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
1233
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
2686
1234
  _request_timeout: Union[
2687
1235
  None,
2688
1236
  Annotated[StrictFloat, Field(gt=0)],
@@ -2695,14 +1243,12 @@ class ValidationSetApi:
2695
1243
  _content_type: Optional[StrictStr] = None,
2696
1244
  _headers: Optional[Dict[StrictStr, Any]] = None,
2697
1245
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2698
- ) -> ApiResponse[GetValidationRapidsResultPagedResult]:
2699
- """Queries the validation rapids for a specific validation set.
1246
+ ) -> ApiResponse[GetValidationSetByIdResult]:
1247
+ """Gets a validation set by the id.
2700
1248
 
2701
1249
 
2702
- :param validation_set_id: The validation set to query. (required)
1250
+ :param validation_set_id: The id of the validation set to get. (required)
2703
1251
  :type validation_set_id: str
2704
- :param model: The request formatted as a JSON in the query parameters.
2705
- :type model: QueryModel
2706
1252
  :param _request_timeout: timeout setting for this request. If one
2707
1253
  number provided, it will be total request
2708
1254
  timeout. It can also be a pair (tuple) of
@@ -2725,9 +1271,8 @@ class ValidationSetApi:
2725
1271
  :return: Returns the result object.
2726
1272
  """ # noqa: E501
2727
1273
 
2728
- _param = self._validation_set_validation_set_id_rapids_get_serialize(
1274
+ _param = self._validation_set_validation_set_id_get_serialize(
2729
1275
  validation_set_id=validation_set_id,
2730
- model=model,
2731
1276
  _request_auth=_request_auth,
2732
1277
  _content_type=_content_type,
2733
1278
  _headers=_headers,
@@ -2735,7 +1280,7 @@ class ValidationSetApi:
2735
1280
  )
2736
1281
 
2737
1282
  _response_types_map: Dict[str, Optional[str]] = {
2738
- '200': "GetValidationRapidsResultPagedResult",
1283
+ '200': "GetValidationSetByIdResult",
2739
1284
  }
2740
1285
  response_data = self.api_client.call_api(
2741
1286
  *_param,
@@ -2749,10 +1294,9 @@ class ValidationSetApi:
2749
1294
 
2750
1295
 
2751
1296
  @validate_call
2752
- def validation_set_validation_set_id_rapids_get_without_preload_content(
1297
+ def validation_set_validation_set_id_get_without_preload_content(
2753
1298
  self,
2754
- validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
2755
- model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
1299
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to get.")],
2756
1300
  _request_timeout: Union[
2757
1301
  None,
2758
1302
  Annotated[StrictFloat, Field(gt=0)],
@@ -2766,13 +1310,11 @@ class ValidationSetApi:
2766
1310
  _headers: Optional[Dict[StrictStr, Any]] = None,
2767
1311
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2768
1312
  ) -> RESTResponseType:
2769
- """Queries the validation rapids for a specific validation set.
1313
+ """Gets a validation set by the id.
2770
1314
 
2771
1315
 
2772
- :param validation_set_id: The validation set to query. (required)
1316
+ :param validation_set_id: The id of the validation set to get. (required)
2773
1317
  :type validation_set_id: str
2774
- :param model: The request formatted as a JSON in the query parameters.
2775
- :type model: QueryModel
2776
1318
  :param _request_timeout: timeout setting for this request. If one
2777
1319
  number provided, it will be total request
2778
1320
  timeout. It can also be a pair (tuple) of
@@ -2795,9 +1337,8 @@ class ValidationSetApi:
2795
1337
  :return: Returns the result object.
2796
1338
  """ # noqa: E501
2797
1339
 
2798
- _param = self._validation_set_validation_set_id_rapids_get_serialize(
1340
+ _param = self._validation_set_validation_set_id_get_serialize(
2799
1341
  validation_set_id=validation_set_id,
2800
- model=model,
2801
1342
  _request_auth=_request_auth,
2802
1343
  _content_type=_content_type,
2803
1344
  _headers=_headers,
@@ -2805,7 +1346,7 @@ class ValidationSetApi:
2805
1346
  )
2806
1347
 
2807
1348
  _response_types_map: Dict[str, Optional[str]] = {
2808
- '200': "GetValidationRapidsResultPagedResult",
1349
+ '200': "GetValidationSetByIdResult",
2809
1350
  }
2810
1351
  response_data = self.api_client.call_api(
2811
1352
  *_param,
@@ -2814,10 +1355,9 @@ class ValidationSetApi:
2814
1355
  return response_data.response
2815
1356
 
2816
1357
 
2817
- def _validation_set_validation_set_id_rapids_get_serialize(
1358
+ def _validation_set_validation_set_id_get_serialize(
2818
1359
  self,
2819
1360
  validation_set_id,
2820
- model,
2821
1361
  _request_auth,
2822
1362
  _content_type,
2823
1363
  _headers,
@@ -2842,10 +1382,6 @@ class ValidationSetApi:
2842
1382
  if validation_set_id is not None:
2843
1383
  _path_params['validationSetId'] = validation_set_id
2844
1384
  # process the query parameters
2845
- if model is not None:
2846
-
2847
- _query_params.append(('model', model))
2848
-
2849
1385
  # process the header parameters
2850
1386
  # process the form parameters
2851
1387
  # process the body parameter
@@ -2864,13 +1400,14 @@ class ValidationSetApi:
2864
1400
 
2865
1401
  # authentication setting
2866
1402
  _auth_settings: List[str] = [
2867
- 'bearer',
2868
- 'oauth2'
1403
+ 'OAuth2',
1404
+ 'OpenIdConnect',
1405
+ 'Bearer'
2869
1406
  ]
2870
1407
 
2871
1408
  return self.api_client.param_serialize(
2872
1409
  method='GET',
2873
- resource_path='/validation-set/{validationSetId}/rapids',
1410
+ resource_path='/validation-set/{validationSetId}',
2874
1411
  path_params=_path_params,
2875
1412
  query_params=_query_params,
2876
1413
  header_params=_header_params,
@@ -2887,10 +1424,10 @@ class ValidationSetApi:
2887
1424
 
2888
1425
 
2889
1426
  @validate_call
2890
- def validation_set_validation_set_id_shouldalert_patch(
1427
+ def validation_set_validation_set_id_patch(
2891
1428
  self,
2892
1429
  validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
2893
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1430
+ update_validation_set_model: Annotated[UpdateValidationSetModel, Field(description="The body request for updating the shouldAlert property.")],
2894
1431
  _request_timeout: Union[
2895
1432
  None,
2896
1433
  Annotated[StrictFloat, Field(gt=0)],
@@ -2904,13 +1441,13 @@ class ValidationSetApi:
2904
1441
  _headers: Optional[Dict[StrictStr, Any]] = None,
2905
1442
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2906
1443
  ) -> None:
2907
- """Updates the dimensions of all rapids within a validation set.
1444
+ """Updates different characteristics of a validation set.
2908
1445
 
2909
1446
 
2910
1447
  :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
2911
1448
  :type validation_set_id: str
2912
- :param update_should_alert_model: The body request for updating the shouldAlert property.
2913
- :type update_should_alert_model: UpdateShouldAlertModel
1449
+ :param update_validation_set_model: The body request for updating the shouldAlert property. (required)
1450
+ :type update_validation_set_model: UpdateValidationSetModel
2914
1451
  :param _request_timeout: timeout setting for this request. If one
2915
1452
  number provided, it will be total request
2916
1453
  timeout. It can also be a pair (tuple) of
@@ -2933,9 +1470,9 @@ class ValidationSetApi:
2933
1470
  :return: Returns the result object.
2934
1471
  """ # noqa: E501
2935
1472
 
2936
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
1473
+ _param = self._validation_set_validation_set_id_patch_serialize(
2937
1474
  validation_set_id=validation_set_id,
2938
- update_should_alert_model=update_should_alert_model,
1475
+ update_validation_set_model=update_validation_set_model,
2939
1476
  _request_auth=_request_auth,
2940
1477
  _content_type=_content_type,
2941
1478
  _headers=_headers,
@@ -2957,10 +1494,10 @@ class ValidationSetApi:
2957
1494
 
2958
1495
 
2959
1496
  @validate_call
2960
- def validation_set_validation_set_id_shouldalert_patch_with_http_info(
1497
+ def validation_set_validation_set_id_patch_with_http_info(
2961
1498
  self,
2962
1499
  validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
2963
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1500
+ update_validation_set_model: Annotated[UpdateValidationSetModel, Field(description="The body request for updating the shouldAlert property.")],
2964
1501
  _request_timeout: Union[
2965
1502
  None,
2966
1503
  Annotated[StrictFloat, Field(gt=0)],
@@ -2974,13 +1511,13 @@ class ValidationSetApi:
2974
1511
  _headers: Optional[Dict[StrictStr, Any]] = None,
2975
1512
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2976
1513
  ) -> ApiResponse[None]:
2977
- """Updates the dimensions of all rapids within a validation set.
1514
+ """Updates different characteristics of a validation set.
2978
1515
 
2979
1516
 
2980
1517
  :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
2981
1518
  :type validation_set_id: str
2982
- :param update_should_alert_model: The body request for updating the shouldAlert property.
2983
- :type update_should_alert_model: UpdateShouldAlertModel
1519
+ :param update_validation_set_model: The body request for updating the shouldAlert property. (required)
1520
+ :type update_validation_set_model: UpdateValidationSetModel
2984
1521
  :param _request_timeout: timeout setting for this request. If one
2985
1522
  number provided, it will be total request
2986
1523
  timeout. It can also be a pair (tuple) of
@@ -3003,9 +1540,9 @@ class ValidationSetApi:
3003
1540
  :return: Returns the result object.
3004
1541
  """ # noqa: E501
3005
1542
 
3006
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
1543
+ _param = self._validation_set_validation_set_id_patch_serialize(
3007
1544
  validation_set_id=validation_set_id,
3008
- update_should_alert_model=update_should_alert_model,
1545
+ update_validation_set_model=update_validation_set_model,
3009
1546
  _request_auth=_request_auth,
3010
1547
  _content_type=_content_type,
3011
1548
  _headers=_headers,
@@ -3027,10 +1564,10 @@ class ValidationSetApi:
3027
1564
 
3028
1565
 
3029
1566
  @validate_call
3030
- def validation_set_validation_set_id_shouldalert_patch_without_preload_content(
1567
+ def validation_set_validation_set_id_patch_without_preload_content(
3031
1568
  self,
3032
1569
  validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
3033
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1570
+ update_validation_set_model: Annotated[UpdateValidationSetModel, Field(description="The body request for updating the shouldAlert property.")],
3034
1571
  _request_timeout: Union[
3035
1572
  None,
3036
1573
  Annotated[StrictFloat, Field(gt=0)],
@@ -3044,13 +1581,13 @@ class ValidationSetApi:
3044
1581
  _headers: Optional[Dict[StrictStr, Any]] = None,
3045
1582
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3046
1583
  ) -> RESTResponseType:
3047
- """Updates the dimensions of all rapids within a validation set.
1584
+ """Updates different characteristics of a validation set.
3048
1585
 
3049
1586
 
3050
1587
  :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
3051
1588
  :type validation_set_id: str
3052
- :param update_should_alert_model: The body request for updating the shouldAlert property.
3053
- :type update_should_alert_model: UpdateShouldAlertModel
1589
+ :param update_validation_set_model: The body request for updating the shouldAlert property. (required)
1590
+ :type update_validation_set_model: UpdateValidationSetModel
3054
1591
  :param _request_timeout: timeout setting for this request. If one
3055
1592
  number provided, it will be total request
3056
1593
  timeout. It can also be a pair (tuple) of
@@ -3073,9 +1610,9 @@ class ValidationSetApi:
3073
1610
  :return: Returns the result object.
3074
1611
  """ # noqa: E501
3075
1612
 
3076
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
1613
+ _param = self._validation_set_validation_set_id_patch_serialize(
3077
1614
  validation_set_id=validation_set_id,
3078
- update_should_alert_model=update_should_alert_model,
1615
+ update_validation_set_model=update_validation_set_model,
3079
1616
  _request_auth=_request_auth,
3080
1617
  _content_type=_content_type,
3081
1618
  _headers=_headers,
@@ -3092,10 +1629,10 @@ class ValidationSetApi:
3092
1629
  return response_data.response
3093
1630
 
3094
1631
 
3095
- def _validation_set_validation_set_id_shouldalert_patch_serialize(
1632
+ def _validation_set_validation_set_id_patch_serialize(
3096
1633
  self,
3097
1634
  validation_set_id,
3098
- update_should_alert_model,
1635
+ update_validation_set_model,
3099
1636
  _request_auth,
3100
1637
  _content_type,
3101
1638
  _headers,
@@ -3123,8 +1660,8 @@ class ValidationSetApi:
3123
1660
  # process the header parameters
3124
1661
  # process the form parameters
3125
1662
  # process the body parameter
3126
- if update_should_alert_model is not None:
3127
- _body_params = update_should_alert_model
1663
+ if update_validation_set_model is not None:
1664
+ _body_params = update_validation_set_model
3128
1665
 
3129
1666
 
3130
1667
 
@@ -3146,13 +1683,14 @@ class ValidationSetApi:
3146
1683
 
3147
1684
  # authentication setting
3148
1685
  _auth_settings: List[str] = [
3149
- 'bearer',
3150
- 'oauth2'
1686
+ 'OAuth2',
1687
+ 'OpenIdConnect',
1688
+ 'Bearer'
3151
1689
  ]
3152
1690
 
3153
1691
  return self.api_client.param_serialize(
3154
1692
  method='PATCH',
3155
- resource_path='/validation-set/{validationSetId}/shouldalert',
1693
+ resource_path='/validation-set/{validationSetId}',
3156
1694
  path_params=_path_params,
3157
1695
  query_params=_query_params,
3158
1696
  header_params=_header_params,
@@ -3169,10 +1707,10 @@ class ValidationSetApi:
3169
1707
 
3170
1708
 
3171
1709
  @validate_call
3172
- def validation_set_validation_set_id_shouldalert_put(
1710
+ def validation_set_validation_set_id_rapid_post(
3173
1711
  self,
3174
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
3175
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1712
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to add a rapid to.")],
1713
+ add_validation_rapid_model: Annotated[AddValidationRapidModel, Field(description="The validation rapid data including asset, payload, and metadata.")],
3176
1714
  _request_timeout: Union[
3177
1715
  None,
3178
1716
  Annotated[StrictFloat, Field(gt=0)],
@@ -3186,13 +1724,13 @@ class ValidationSetApi:
3186
1724
  _headers: Optional[Dict[StrictStr, Any]] = None,
3187
1725
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3188
1726
  ) -> None:
3189
- """(Deprecated) Updates the of all rapshouldAlert property of all rapids within a validation set.
1727
+ """Adds a new validation rapid to the validation set using JSON body.
3190
1728
 
3191
1729
 
3192
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1730
+ :param validation_set_id: The validation set to add a rapid to. (required)
3193
1731
  :type validation_set_id: str
3194
- :param update_should_alert_model: The body request for updating the shouldAlert property.
3195
- :type update_should_alert_model: UpdateShouldAlertModel
1732
+ :param add_validation_rapid_model: The validation rapid data including asset, payload, and metadata. (required)
1733
+ :type add_validation_rapid_model: AddValidationRapidModel
3196
1734
  :param _request_timeout: timeout setting for this request. If one
3197
1735
  number provided, it will be total request
3198
1736
  timeout. It can also be a pair (tuple) of
@@ -3214,11 +1752,10 @@ class ValidationSetApi:
3214
1752
  :type _host_index: int, optional
3215
1753
  :return: Returns the result object.
3216
1754
  """ # noqa: E501
3217
- warnings.warn("PUT /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
3218
1755
 
3219
- _param = self._validation_set_validation_set_id_shouldalert_put_serialize(
1756
+ _param = self._validation_set_validation_set_id_rapid_post_serialize(
3220
1757
  validation_set_id=validation_set_id,
3221
- update_should_alert_model=update_should_alert_model,
1758
+ add_validation_rapid_model=add_validation_rapid_model,
3222
1759
  _request_auth=_request_auth,
3223
1760
  _content_type=_content_type,
3224
1761
  _headers=_headers,
@@ -3240,10 +1777,10 @@ class ValidationSetApi:
3240
1777
 
3241
1778
 
3242
1779
  @validate_call
3243
- def validation_set_validation_set_id_shouldalert_put_with_http_info(
1780
+ def validation_set_validation_set_id_rapid_post_with_http_info(
3244
1781
  self,
3245
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
3246
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1782
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to add a rapid to.")],
1783
+ add_validation_rapid_model: Annotated[AddValidationRapidModel, Field(description="The validation rapid data including asset, payload, and metadata.")],
3247
1784
  _request_timeout: Union[
3248
1785
  None,
3249
1786
  Annotated[StrictFloat, Field(gt=0)],
@@ -3257,13 +1794,13 @@ class ValidationSetApi:
3257
1794
  _headers: Optional[Dict[StrictStr, Any]] = None,
3258
1795
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3259
1796
  ) -> ApiResponse[None]:
3260
- """(Deprecated) Updates the of all rapshouldAlert property of all rapids within a validation set.
1797
+ """Adds a new validation rapid to the validation set using JSON body.
3261
1798
 
3262
1799
 
3263
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1800
+ :param validation_set_id: The validation set to add a rapid to. (required)
3264
1801
  :type validation_set_id: str
3265
- :param update_should_alert_model: The body request for updating the shouldAlert property.
3266
- :type update_should_alert_model: UpdateShouldAlertModel
1802
+ :param add_validation_rapid_model: The validation rapid data including asset, payload, and metadata. (required)
1803
+ :type add_validation_rapid_model: AddValidationRapidModel
3267
1804
  :param _request_timeout: timeout setting for this request. If one
3268
1805
  number provided, it will be total request
3269
1806
  timeout. It can also be a pair (tuple) of
@@ -3285,11 +1822,10 @@ class ValidationSetApi:
3285
1822
  :type _host_index: int, optional
3286
1823
  :return: Returns the result object.
3287
1824
  """ # noqa: E501
3288
- warnings.warn("PUT /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
3289
1825
 
3290
- _param = self._validation_set_validation_set_id_shouldalert_put_serialize(
1826
+ _param = self._validation_set_validation_set_id_rapid_post_serialize(
3291
1827
  validation_set_id=validation_set_id,
3292
- update_should_alert_model=update_should_alert_model,
1828
+ add_validation_rapid_model=add_validation_rapid_model,
3293
1829
  _request_auth=_request_auth,
3294
1830
  _content_type=_content_type,
3295
1831
  _headers=_headers,
@@ -3311,10 +1847,10 @@ class ValidationSetApi:
3311
1847
 
3312
1848
 
3313
1849
  @validate_call
3314
- def validation_set_validation_set_id_shouldalert_put_without_preload_content(
1850
+ def validation_set_validation_set_id_rapid_post_without_preload_content(
3315
1851
  self,
3316
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
3317
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
1852
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to add a rapid to.")],
1853
+ add_validation_rapid_model: Annotated[AddValidationRapidModel, Field(description="The validation rapid data including asset, payload, and metadata.")],
3318
1854
  _request_timeout: Union[
3319
1855
  None,
3320
1856
  Annotated[StrictFloat, Field(gt=0)],
@@ -3328,13 +1864,13 @@ class ValidationSetApi:
3328
1864
  _headers: Optional[Dict[StrictStr, Any]] = None,
3329
1865
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3330
1866
  ) -> RESTResponseType:
3331
- """(Deprecated) Updates the of all rapshouldAlert property of all rapids within a validation set.
1867
+ """Adds a new validation rapid to the validation set using JSON body.
3332
1868
 
3333
1869
 
3334
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1870
+ :param validation_set_id: The validation set to add a rapid to. (required)
3335
1871
  :type validation_set_id: str
3336
- :param update_should_alert_model: The body request for updating the shouldAlert property.
3337
- :type update_should_alert_model: UpdateShouldAlertModel
1872
+ :param add_validation_rapid_model: The validation rapid data including asset, payload, and metadata. (required)
1873
+ :type add_validation_rapid_model: AddValidationRapidModel
3338
1874
  :param _request_timeout: timeout setting for this request. If one
3339
1875
  number provided, it will be total request
3340
1876
  timeout. It can also be a pair (tuple) of
@@ -3356,11 +1892,10 @@ class ValidationSetApi:
3356
1892
  :type _host_index: int, optional
3357
1893
  :return: Returns the result object.
3358
1894
  """ # noqa: E501
3359
- warnings.warn("PUT /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
3360
1895
 
3361
- _param = self._validation_set_validation_set_id_shouldalert_put_serialize(
1896
+ _param = self._validation_set_validation_set_id_rapid_post_serialize(
3362
1897
  validation_set_id=validation_set_id,
3363
- update_should_alert_model=update_should_alert_model,
1898
+ add_validation_rapid_model=add_validation_rapid_model,
3364
1899
  _request_auth=_request_auth,
3365
1900
  _content_type=_content_type,
3366
1901
  _headers=_headers,
@@ -3377,10 +1912,10 @@ class ValidationSetApi:
3377
1912
  return response_data.response
3378
1913
 
3379
1914
 
3380
- def _validation_set_validation_set_id_shouldalert_put_serialize(
1915
+ def _validation_set_validation_set_id_rapid_post_serialize(
3381
1916
  self,
3382
1917
  validation_set_id,
3383
- update_should_alert_model,
1918
+ add_validation_rapid_model,
3384
1919
  _request_auth,
3385
1920
  _content_type,
3386
1921
  _headers,
@@ -3408,8 +1943,8 @@ class ValidationSetApi:
3408
1943
  # process the header parameters
3409
1944
  # process the form parameters
3410
1945
  # process the body parameter
3411
- if update_should_alert_model is not None:
3412
- _body_params = update_should_alert_model
1946
+ if add_validation_rapid_model is not None:
1947
+ _body_params = add_validation_rapid_model
3413
1948
 
3414
1949
 
3415
1950
 
@@ -3431,13 +1966,14 @@ class ValidationSetApi:
3431
1966
 
3432
1967
  # authentication setting
3433
1968
  _auth_settings: List[str] = [
3434
- 'bearer',
3435
- 'oauth2'
1969
+ 'OAuth2',
1970
+ 'OpenIdConnect',
1971
+ 'Bearer'
3436
1972
  ]
3437
1973
 
3438
1974
  return self.api_client.param_serialize(
3439
- method='PUT',
3440
- resource_path='/validation-set/{validationSetId}/shouldalert',
1975
+ method='POST',
1976
+ resource_path='/validation-set/{validationSetId}/rapid',
3441
1977
  path_params=_path_params,
3442
1978
  query_params=_query_params,
3443
1979
  header_params=_header_params,
@@ -3454,9 +1990,10 @@ class ValidationSetApi:
3454
1990
 
3455
1991
 
3456
1992
  @validate_call
3457
- def validation_set_zip_compare_post(
1993
+ def validation_set_validation_set_id_rapids_get(
3458
1994
  self,
3459
- criteria: Optional[StrictStr] = None,
1995
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
1996
+ model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
3460
1997
  _request_timeout: Union[
3461
1998
  None,
3462
1999
  Annotated[StrictFloat, Field(gt=0)],
@@ -3469,12 +2006,14 @@ class ValidationSetApi:
3469
2006
  _content_type: Optional[StrictStr] = None,
3470
2007
  _headers: Optional[Dict[StrictStr, Any]] = None,
3471
2008
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3472
- ) -> ImportValidationSetFromFileResult:
3473
- """Imports a compare validation set from a zip file.
2009
+ ) -> PagedResultOfGetValidationRapidsResult:
2010
+ """Queries the validation rapids for a specific validation set.
3474
2011
 
3475
2012
 
3476
- :param criteria:
3477
- :type criteria: str
2013
+ :param validation_set_id: The validation set to query. (required)
2014
+ :type validation_set_id: str
2015
+ :param model: The request formatted as a JSON in the query parameters.
2016
+ :type model: QueryModel
3478
2017
  :param _request_timeout: timeout setting for this request. If one
3479
2018
  number provided, it will be total request
3480
2019
  timeout. It can also be a pair (tuple) of
@@ -3497,8 +2036,9 @@ class ValidationSetApi:
3497
2036
  :return: Returns the result object.
3498
2037
  """ # noqa: E501
3499
2038
 
3500
- _param = self._validation_set_zip_compare_post_serialize(
3501
- criteria=criteria,
2039
+ _param = self._validation_set_validation_set_id_rapids_get_serialize(
2040
+ validation_set_id=validation_set_id,
2041
+ model=model,
3502
2042
  _request_auth=_request_auth,
3503
2043
  _content_type=_content_type,
3504
2044
  _headers=_headers,
@@ -3506,7 +2046,7 @@ class ValidationSetApi:
3506
2046
  )
3507
2047
 
3508
2048
  _response_types_map: Dict[str, Optional[str]] = {
3509
- '200': "ImportValidationSetFromFileResult",
2049
+ '200': "PagedResultOfGetValidationRapidsResult",
3510
2050
  }
3511
2051
  response_data = self.api_client.call_api(
3512
2052
  *_param,
@@ -3520,9 +2060,10 @@ class ValidationSetApi:
3520
2060
 
3521
2061
 
3522
2062
  @validate_call
3523
- def validation_set_zip_compare_post_with_http_info(
2063
+ def validation_set_validation_set_id_rapids_get_with_http_info(
3524
2064
  self,
3525
- criteria: Optional[StrictStr] = None,
2065
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
2066
+ model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
3526
2067
  _request_timeout: Union[
3527
2068
  None,
3528
2069
  Annotated[StrictFloat, Field(gt=0)],
@@ -3535,12 +2076,14 @@ class ValidationSetApi:
3535
2076
  _content_type: Optional[StrictStr] = None,
3536
2077
  _headers: Optional[Dict[StrictStr, Any]] = None,
3537
2078
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3538
- ) -> ApiResponse[ImportValidationSetFromFileResult]:
3539
- """Imports a compare validation set from a zip file.
2079
+ ) -> ApiResponse[PagedResultOfGetValidationRapidsResult]:
2080
+ """Queries the validation rapids for a specific validation set.
3540
2081
 
3541
2082
 
3542
- :param criteria:
3543
- :type criteria: str
2083
+ :param validation_set_id: The validation set to query. (required)
2084
+ :type validation_set_id: str
2085
+ :param model: The request formatted as a JSON in the query parameters.
2086
+ :type model: QueryModel
3544
2087
  :param _request_timeout: timeout setting for this request. If one
3545
2088
  number provided, it will be total request
3546
2089
  timeout. It can also be a pair (tuple) of
@@ -3563,8 +2106,9 @@ class ValidationSetApi:
3563
2106
  :return: Returns the result object.
3564
2107
  """ # noqa: E501
3565
2108
 
3566
- _param = self._validation_set_zip_compare_post_serialize(
3567
- criteria=criteria,
2109
+ _param = self._validation_set_validation_set_id_rapids_get_serialize(
2110
+ validation_set_id=validation_set_id,
2111
+ model=model,
3568
2112
  _request_auth=_request_auth,
3569
2113
  _content_type=_content_type,
3570
2114
  _headers=_headers,
@@ -3572,7 +2116,7 @@ class ValidationSetApi:
3572
2116
  )
3573
2117
 
3574
2118
  _response_types_map: Dict[str, Optional[str]] = {
3575
- '200': "ImportValidationSetFromFileResult",
2119
+ '200': "PagedResultOfGetValidationRapidsResult",
3576
2120
  }
3577
2121
  response_data = self.api_client.call_api(
3578
2122
  *_param,
@@ -3586,9 +2130,10 @@ class ValidationSetApi:
3586
2130
 
3587
2131
 
3588
2132
  @validate_call
3589
- def validation_set_zip_compare_post_without_preload_content(
2133
+ def validation_set_validation_set_id_rapids_get_without_preload_content(
3590
2134
  self,
3591
- criteria: Optional[StrictStr] = None,
2135
+ validation_set_id: Annotated[StrictStr, Field(description="The validation set to query.")],
2136
+ model: Annotated[Optional[QueryModel], Field(description="The request formatted as a JSON in the query parameters.")] = None,
3592
2137
  _request_timeout: Union[
3593
2138
  None,
3594
2139
  Annotated[StrictFloat, Field(gt=0)],
@@ -3602,11 +2147,13 @@ class ValidationSetApi:
3602
2147
  _headers: Optional[Dict[StrictStr, Any]] = None,
3603
2148
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3604
2149
  ) -> RESTResponseType:
3605
- """Imports a compare validation set from a zip file.
2150
+ """Queries the validation rapids for a specific validation set.
3606
2151
 
3607
2152
 
3608
- :param criteria:
3609
- :type criteria: str
2153
+ :param validation_set_id: The validation set to query. (required)
2154
+ :type validation_set_id: str
2155
+ :param model: The request formatted as a JSON in the query parameters.
2156
+ :type model: QueryModel
3610
2157
  :param _request_timeout: timeout setting for this request. If one
3611
2158
  number provided, it will be total request
3612
2159
  timeout. It can also be a pair (tuple) of
@@ -3629,8 +2176,9 @@ class ValidationSetApi:
3629
2176
  :return: Returns the result object.
3630
2177
  """ # noqa: E501
3631
2178
 
3632
- _param = self._validation_set_zip_compare_post_serialize(
3633
- criteria=criteria,
2179
+ _param = self._validation_set_validation_set_id_rapids_get_serialize(
2180
+ validation_set_id=validation_set_id,
2181
+ model=model,
3634
2182
  _request_auth=_request_auth,
3635
2183
  _content_type=_content_type,
3636
2184
  _headers=_headers,
@@ -3638,7 +2186,7 @@ class ValidationSetApi:
3638
2186
  )
3639
2187
 
3640
2188
  _response_types_map: Dict[str, Optional[str]] = {
3641
- '200': "ImportValidationSetFromFileResult",
2189
+ '200': "PagedResultOfGetValidationRapidsResult",
3642
2190
  }
3643
2191
  response_data = self.api_client.call_api(
3644
2192
  *_param,
@@ -3647,9 +2195,10 @@ class ValidationSetApi:
3647
2195
  return response_data.response
3648
2196
 
3649
2197
 
3650
- def _validation_set_zip_compare_post_serialize(
2198
+ def _validation_set_validation_set_id_rapids_get_serialize(
3651
2199
  self,
3652
- criteria,
2200
+ validation_set_id,
2201
+ model,
3653
2202
  _request_auth,
3654
2203
  _content_type,
3655
2204
  _headers,
@@ -3671,11 +2220,15 @@ class ValidationSetApi:
3671
2220
  _body_params: Optional[bytes] = None
3672
2221
 
3673
2222
  # process the path parameters
2223
+ if validation_set_id is not None:
2224
+ _path_params['validationSetId'] = validation_set_id
3674
2225
  # process the query parameters
2226
+ if model is not None:
2227
+
2228
+ _query_params.append(('model', model))
2229
+
3675
2230
  # process the header parameters
3676
2231
  # process the form parameters
3677
- if criteria is not None:
3678
- _form_params.append(('Criteria', criteria))
3679
2232
  # process the body parameter
3680
2233
 
3681
2234
 
@@ -3689,29 +2242,17 @@ class ValidationSetApi:
3689
2242
  ]
3690
2243
  )
3691
2244
 
3692
- # set the HTTP header `Content-Type`
3693
- if _content_type:
3694
- _header_params['Content-Type'] = _content_type
3695
- else:
3696
- _default_content_type = (
3697
- self.api_client.select_header_content_type(
3698
- [
3699
- 'multipart/form-data'
3700
- ]
3701
- )
3702
- )
3703
- if _default_content_type is not None:
3704
- _header_params['Content-Type'] = _default_content_type
3705
2245
 
3706
2246
  # authentication setting
3707
2247
  _auth_settings: List[str] = [
3708
- 'bearer',
3709
- 'oauth2'
2248
+ 'OAuth2',
2249
+ 'OpenIdConnect',
2250
+ 'Bearer'
3710
2251
  ]
3711
2252
 
3712
2253
  return self.api_client.param_serialize(
3713
- method='POST',
3714
- resource_path='/validation-set/zip/compare',
2254
+ method='GET',
2255
+ resource_path='/validation-set/{validationSetId}/rapids',
3715
2256
  path_params=_path_params,
3716
2257
  query_params=_query_params,
3717
2258
  header_params=_header_params,
@@ -3728,9 +2269,10 @@ class ValidationSetApi:
3728
2269
 
3729
2270
 
3730
2271
  @validate_call
3731
- def validation_set_zip_post(
2272
+ def validation_set_validation_set_id_visibility_patch(
3732
2273
  self,
3733
- blueprint: Optional[ValidationSetZipPostRequestBlueprint] = None,
2274
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to update the visibility for.")],
2275
+ is_public: Annotated[Optional[StrictBool], Field(description="Whether the validation set should be public or private.")] = None,
3734
2276
  _request_timeout: Union[
3735
2277
  None,
3736
2278
  Annotated[StrictFloat, Field(gt=0)],
@@ -3743,12 +2285,15 @@ class ValidationSetApi:
3743
2285
  _content_type: Optional[StrictStr] = None,
3744
2286
  _headers: Optional[Dict[StrictStr, Any]] = None,
3745
2287
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3746
- ) -> ImportValidationSetFromFileResult:
3747
- """Imports a validation set from a zip file.
2288
+ ) -> None:
2289
+ """Updates the visibility of a validation set.
3748
2290
 
2291
+ Public validation sets are used to automatically add a validation set to an order if no validation set is specified.
3749
2292
 
3750
- :param blueprint:
3751
- :type blueprint: ValidationSetZipPostRequestBlueprint
2293
+ :param validation_set_id: The id of the validation set to update the visibility for. (required)
2294
+ :type validation_set_id: str
2295
+ :param is_public: Whether the validation set should be public or private.
2296
+ :type is_public: bool
3752
2297
  :param _request_timeout: timeout setting for this request. If one
3753
2298
  number provided, it will be total request
3754
2299
  timeout. It can also be a pair (tuple) of
@@ -3771,8 +2316,9 @@ class ValidationSetApi:
3771
2316
  :return: Returns the result object.
3772
2317
  """ # noqa: E501
3773
2318
 
3774
- _param = self._validation_set_zip_post_serialize(
3775
- blueprint=blueprint,
2319
+ _param = self._validation_set_validation_set_id_visibility_patch_serialize(
2320
+ validation_set_id=validation_set_id,
2321
+ is_public=is_public,
3776
2322
  _request_auth=_request_auth,
3777
2323
  _content_type=_content_type,
3778
2324
  _headers=_headers,
@@ -3780,7 +2326,7 @@ class ValidationSetApi:
3780
2326
  )
3781
2327
 
3782
2328
  _response_types_map: Dict[str, Optional[str]] = {
3783
- '200': "ImportValidationSetFromFileResult",
2329
+ '204': None,
3784
2330
  }
3785
2331
  response_data = self.api_client.call_api(
3786
2332
  *_param,
@@ -3794,9 +2340,10 @@ class ValidationSetApi:
3794
2340
 
3795
2341
 
3796
2342
  @validate_call
3797
- def validation_set_zip_post_with_http_info(
2343
+ def validation_set_validation_set_id_visibility_patch_with_http_info(
3798
2344
  self,
3799
- blueprint: Optional[ValidationSetZipPostRequestBlueprint] = None,
2345
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to update the visibility for.")],
2346
+ is_public: Annotated[Optional[StrictBool], Field(description="Whether the validation set should be public or private.")] = None,
3800
2347
  _request_timeout: Union[
3801
2348
  None,
3802
2349
  Annotated[StrictFloat, Field(gt=0)],
@@ -3809,12 +2356,15 @@ class ValidationSetApi:
3809
2356
  _content_type: Optional[StrictStr] = None,
3810
2357
  _headers: Optional[Dict[StrictStr, Any]] = None,
3811
2358
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3812
- ) -> ApiResponse[ImportValidationSetFromFileResult]:
3813
- """Imports a validation set from a zip file.
2359
+ ) -> ApiResponse[None]:
2360
+ """Updates the visibility of a validation set.
3814
2361
 
2362
+ Public validation sets are used to automatically add a validation set to an order if no validation set is specified.
3815
2363
 
3816
- :param blueprint:
3817
- :type blueprint: ValidationSetZipPostRequestBlueprint
2364
+ :param validation_set_id: The id of the validation set to update the visibility for. (required)
2365
+ :type validation_set_id: str
2366
+ :param is_public: Whether the validation set should be public or private.
2367
+ :type is_public: bool
3818
2368
  :param _request_timeout: timeout setting for this request. If one
3819
2369
  number provided, it will be total request
3820
2370
  timeout. It can also be a pair (tuple) of
@@ -3837,8 +2387,9 @@ class ValidationSetApi:
3837
2387
  :return: Returns the result object.
3838
2388
  """ # noqa: E501
3839
2389
 
3840
- _param = self._validation_set_zip_post_serialize(
3841
- blueprint=blueprint,
2390
+ _param = self._validation_set_validation_set_id_visibility_patch_serialize(
2391
+ validation_set_id=validation_set_id,
2392
+ is_public=is_public,
3842
2393
  _request_auth=_request_auth,
3843
2394
  _content_type=_content_type,
3844
2395
  _headers=_headers,
@@ -3846,7 +2397,7 @@ class ValidationSetApi:
3846
2397
  )
3847
2398
 
3848
2399
  _response_types_map: Dict[str, Optional[str]] = {
3849
- '200': "ImportValidationSetFromFileResult",
2400
+ '204': None,
3850
2401
  }
3851
2402
  response_data = self.api_client.call_api(
3852
2403
  *_param,
@@ -3860,9 +2411,10 @@ class ValidationSetApi:
3860
2411
 
3861
2412
 
3862
2413
  @validate_call
3863
- def validation_set_zip_post_without_preload_content(
2414
+ def validation_set_validation_set_id_visibility_patch_without_preload_content(
3864
2415
  self,
3865
- blueprint: Optional[ValidationSetZipPostRequestBlueprint] = None,
2416
+ validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set to update the visibility for.")],
2417
+ is_public: Annotated[Optional[StrictBool], Field(description="Whether the validation set should be public or private.")] = None,
3866
2418
  _request_timeout: Union[
3867
2419
  None,
3868
2420
  Annotated[StrictFloat, Field(gt=0)],
@@ -3876,11 +2428,14 @@ class ValidationSetApi:
3876
2428
  _headers: Optional[Dict[StrictStr, Any]] = None,
3877
2429
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3878
2430
  ) -> RESTResponseType:
3879
- """Imports a validation set from a zip file.
2431
+ """Updates the visibility of a validation set.
3880
2432
 
2433
+ Public validation sets are used to automatically add a validation set to an order if no validation set is specified.
3881
2434
 
3882
- :param blueprint:
3883
- :type blueprint: ValidationSetZipPostRequestBlueprint
2435
+ :param validation_set_id: The id of the validation set to update the visibility for. (required)
2436
+ :type validation_set_id: str
2437
+ :param is_public: Whether the validation set should be public or private.
2438
+ :type is_public: bool
3884
2439
  :param _request_timeout: timeout setting for this request. If one
3885
2440
  number provided, it will be total request
3886
2441
  timeout. It can also be a pair (tuple) of
@@ -3903,8 +2458,9 @@ class ValidationSetApi:
3903
2458
  :return: Returns the result object.
3904
2459
  """ # noqa: E501
3905
2460
 
3906
- _param = self._validation_set_zip_post_serialize(
3907
- blueprint=blueprint,
2461
+ _param = self._validation_set_validation_set_id_visibility_patch_serialize(
2462
+ validation_set_id=validation_set_id,
2463
+ is_public=is_public,
3908
2464
  _request_auth=_request_auth,
3909
2465
  _content_type=_content_type,
3910
2466
  _headers=_headers,
@@ -3912,7 +2468,7 @@ class ValidationSetApi:
3912
2468
  )
3913
2469
 
3914
2470
  _response_types_map: Dict[str, Optional[str]] = {
3915
- '200': "ImportValidationSetFromFileResult",
2471
+ '204': None,
3916
2472
  }
3917
2473
  response_data = self.api_client.call_api(
3918
2474
  *_param,
@@ -3921,9 +2477,10 @@ class ValidationSetApi:
3921
2477
  return response_data.response
3922
2478
 
3923
2479
 
3924
- def _validation_set_zip_post_serialize(
2480
+ def _validation_set_validation_set_id_visibility_patch_serialize(
3925
2481
  self,
3926
- blueprint,
2482
+ validation_set_id,
2483
+ is_public,
3927
2484
  _request_auth,
3928
2485
  _content_type,
3929
2486
  _headers,
@@ -3945,47 +2502,30 @@ class ValidationSetApi:
3945
2502
  _body_params: Optional[bytes] = None
3946
2503
 
3947
2504
  # process the path parameters
2505
+ if validation_set_id is not None:
2506
+ _path_params['validationSetId'] = validation_set_id
3948
2507
  # process the query parameters
2508
+ if is_public is not None:
2509
+
2510
+ _query_params.append(('isPublic', is_public))
2511
+
3949
2512
  # process the header parameters
3950
2513
  # process the form parameters
3951
- if blueprint is not None:
3952
- _form_params.append(('Blueprint', blueprint))
3953
2514
  # process the body parameter
3954
2515
 
3955
2516
 
3956
- # set the HTTP header `Accept`
3957
- if 'Accept' not in _header_params:
3958
- _header_params['Accept'] = self.api_client.select_header_accept(
3959
- [
3960
- 'text/plain',
3961
- 'application/json',
3962
- 'text/json'
3963
- ]
3964
- )
3965
2517
 
3966
- # set the HTTP header `Content-Type`
3967
- if _content_type:
3968
- _header_params['Content-Type'] = _content_type
3969
- else:
3970
- _default_content_type = (
3971
- self.api_client.select_header_content_type(
3972
- [
3973
- 'multipart/form-data'
3974
- ]
3975
- )
3976
- )
3977
- if _default_content_type is not None:
3978
- _header_params['Content-Type'] = _default_content_type
3979
2518
 
3980
2519
  # authentication setting
3981
2520
  _auth_settings: List[str] = [
3982
- 'bearer',
3983
- 'oauth2'
2521
+ 'OAuth2',
2522
+ 'OpenIdConnect',
2523
+ 'Bearer'
3984
2524
  ]
3985
2525
 
3986
2526
  return self.api_client.param_serialize(
3987
- method='POST',
3988
- resource_path='/validation-set/zip',
2527
+ method='PATCH',
2528
+ resource_path='/validation-set/{validationSetId}/visibility',
3989
2529
  path_params=_path_params,
3990
2530
  query_params=_query_params,
3991
2531
  header_params=_header_params,
@@ -4225,8 +2765,9 @@ class ValidationSetApi:
4225
2765
 
4226
2766
  # authentication setting
4227
2767
  _auth_settings: List[str] = [
4228
- 'bearer',
4229
- 'oauth2'
2768
+ 'OAuth2',
2769
+ 'OpenIdConnect',
2770
+ 'Bearer'
4230
2771
  ]
4231
2772
 
4232
2773
  return self.api_client.param_serialize(
@@ -4263,8 +2804,8 @@ class ValidationSetApi:
4263
2804
  _content_type: Optional[StrictStr] = None,
4264
2805
  _headers: Optional[Dict[StrictStr, Any]] = None,
4265
2806
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4266
- ) -> ValidationSetModelPagedResult:
4267
- """Queries validation sets based on the provided filter, paging and sorting criteria.
2807
+ ) -> PagedResultOfValidationSetModel:
2808
+ """Queries available validation sets based on the provided filter, paging and sorting criteria.
4268
2809
 
4269
2810
 
4270
2811
  :param model: The model containing the query parameters.
@@ -4300,7 +2841,7 @@ class ValidationSetApi:
4300
2841
  )
4301
2842
 
4302
2843
  _response_types_map: Dict[str, Optional[str]] = {
4303
- '200': "ValidationSetModelPagedResult",
2844
+ '200': "PagedResultOfValidationSetModel",
4304
2845
  }
4305
2846
  response_data = self.api_client.call_api(
4306
2847
  *_param,
@@ -4329,8 +2870,8 @@ class ValidationSetApi:
4329
2870
  _content_type: Optional[StrictStr] = None,
4330
2871
  _headers: Optional[Dict[StrictStr, Any]] = None,
4331
2872
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4332
- ) -> ApiResponse[ValidationSetModelPagedResult]:
4333
- """Queries validation sets based on the provided filter, paging and sorting criteria.
2873
+ ) -> ApiResponse[PagedResultOfValidationSetModel]:
2874
+ """Queries available validation sets based on the provided filter, paging and sorting criteria.
4334
2875
 
4335
2876
 
4336
2877
  :param model: The model containing the query parameters.
@@ -4366,7 +2907,7 @@ class ValidationSetApi:
4366
2907
  )
4367
2908
 
4368
2909
  _response_types_map: Dict[str, Optional[str]] = {
4369
- '200': "ValidationSetModelPagedResult",
2910
+ '200': "PagedResultOfValidationSetModel",
4370
2911
  }
4371
2912
  response_data = self.api_client.call_api(
4372
2913
  *_param,
@@ -4396,7 +2937,7 @@ class ValidationSetApi:
4396
2937
  _headers: Optional[Dict[StrictStr, Any]] = None,
4397
2938
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4398
2939
  ) -> RESTResponseType:
4399
- """Queries validation sets based on the provided filter, paging and sorting criteria.
2940
+ """Queries available validation sets based on the provided filter, paging and sorting criteria.
4400
2941
 
4401
2942
 
4402
2943
  :param model: The model containing the query parameters.
@@ -4432,7 +2973,7 @@ class ValidationSetApi:
4432
2973
  )
4433
2974
 
4434
2975
  _response_types_map: Dict[str, Optional[str]] = {
4435
- '200': "ValidationSetModelPagedResult",
2976
+ '200': "PagedResultOfValidationSetModel",
4436
2977
  }
4437
2978
  response_data = self.api_client.call_api(
4438
2979
  *_param,
@@ -4488,8 +3029,9 @@ class ValidationSetApi:
4488
3029
 
4489
3030
  # authentication setting
4490
3031
  _auth_settings: List[str] = [
4491
- 'bearer',
4492
- 'oauth2'
3032
+ 'OAuth2',
3033
+ 'OpenIdConnect',
3034
+ 'Bearer'
4493
3035
  ]
4494
3036
 
4495
3037
  return self.api_client.param_serialize(