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,22 +16,26 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictStr
20
- from typing import Optional
19
+ from pydantic import Field, StrictBool, StrictStr
20
+ from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
- from rapidata.api_client.models.benchmark_query_result_paged_result import BenchmarkQueryResultPagedResult
23
22
  from rapidata.api_client.models.create_benchmark_model import CreateBenchmarkModel
24
23
  from rapidata.api_client.models.create_benchmark_participant_model import CreateBenchmarkParticipantModel
25
24
  from rapidata.api_client.models.create_benchmark_participant_result import CreateBenchmarkParticipantResult
25
+ from rapidata.api_client.models.create_benchmark_prompt_result import CreateBenchmarkPromptResult
26
26
  from rapidata.api_client.models.create_benchmark_result import CreateBenchmarkResult
27
+ from rapidata.api_client.models.fork_benchmark_result import ForkBenchmarkResult
27
28
  from rapidata.api_client.models.get_benchmark_by_id_result import GetBenchmarkByIdResult
28
- from rapidata.api_client.models.participant_by_benchmark_paged_result import ParticipantByBenchmarkPagedResult
29
- from rapidata.api_client.models.prompt_by_benchmark_result_paged_result import PromptByBenchmarkResultPagedResult
29
+ from rapidata.api_client.models.paged_result_of_benchmark_query_result import PagedResultOfBenchmarkQueryResult
30
+ from rapidata.api_client.models.paged_result_of_leaderboards_query_result import PagedResultOfLeaderboardsQueryResult
31
+ from rapidata.api_client.models.paged_result_of_participant_by_benchmark import PagedResultOfParticipantByBenchmark
32
+ from rapidata.api_client.models.paged_result_of_prompt_by_benchmark_result import PagedResultOfPromptByBenchmarkResult
33
+ from rapidata.api_client.models.paged_result_of_sample_by_identifier import PagedResultOfSampleByIdentifier
30
34
  from rapidata.api_client.models.query_model import QueryModel
31
- from rapidata.api_client.models.submit_participant_result import SubmitParticipantResult
35
+ from rapidata.api_client.models.standings_by_benchmark_result import StandingsByBenchmarkResult
32
36
  from rapidata.api_client.models.submit_prompt_model import SubmitPromptModel
33
37
  from rapidata.api_client.models.tags_by_benchmark_result import TagsByBenchmarkResult
34
- from rapidata.api_client.models.update_benchmark_name_model import UpdateBenchmarkNameModel
38
+ from rapidata.api_client.models.update_benchmark_model import UpdateBenchmarkModel
35
39
 
36
40
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
37
41
  from rapidata.api_client.api_response import ApiResponse
@@ -281,8 +285,9 @@ class BenchmarkApi:
281
285
 
282
286
  # authentication setting
283
287
  _auth_settings: List[str] = [
284
- 'bearer',
285
- 'oauth2'
288
+ 'OAuth2',
289
+ 'OpenIdConnect',
290
+ 'Bearer'
286
291
  ]
287
292
 
288
293
  return self.api_client.param_serialize(
@@ -304,7 +309,7 @@ class BenchmarkApi:
304
309
 
305
310
 
306
311
  @validate_call
307
- def benchmark_benchmark_id_get(
312
+ def benchmark_benchmark_id_fork_post(
308
313
  self,
309
314
  benchmark_id: StrictStr,
310
315
  _request_timeout: Union[
@@ -319,8 +324,8 @@ class BenchmarkApi:
319
324
  _content_type: Optional[StrictStr] = None,
320
325
  _headers: Optional[Dict[StrictStr, Any]] = None,
321
326
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
322
- ) -> GetBenchmarkByIdResult:
323
- """Returns a single benchmark by its ID.
327
+ ) -> ForkBenchmarkResult:
328
+ """Creates a copy of a public benchmark and all of its related entities
324
329
 
325
330
 
326
331
  :param benchmark_id: (required)
@@ -347,7 +352,7 @@ class BenchmarkApi:
347
352
  :return: Returns the result object.
348
353
  """ # noqa: E501
349
354
 
350
- _param = self._benchmark_benchmark_id_get_serialize(
355
+ _param = self._benchmark_benchmark_id_fork_post_serialize(
351
356
  benchmark_id=benchmark_id,
352
357
  _request_auth=_request_auth,
353
358
  _content_type=_content_type,
@@ -356,7 +361,7 @@ class BenchmarkApi:
356
361
  )
357
362
 
358
363
  _response_types_map: Dict[str, Optional[str]] = {
359
- '200': "GetBenchmarkByIdResult",
364
+ '200': "ForkBenchmarkResult",
360
365
  }
361
366
  response_data = self.api_client.call_api(
362
367
  *_param,
@@ -370,7 +375,7 @@ class BenchmarkApi:
370
375
 
371
376
 
372
377
  @validate_call
373
- def benchmark_benchmark_id_get_with_http_info(
378
+ def benchmark_benchmark_id_fork_post_with_http_info(
374
379
  self,
375
380
  benchmark_id: StrictStr,
376
381
  _request_timeout: Union[
@@ -385,8 +390,8 @@ class BenchmarkApi:
385
390
  _content_type: Optional[StrictStr] = None,
386
391
  _headers: Optional[Dict[StrictStr, Any]] = None,
387
392
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
388
- ) -> ApiResponse[GetBenchmarkByIdResult]:
389
- """Returns a single benchmark by its ID.
393
+ ) -> ApiResponse[ForkBenchmarkResult]:
394
+ """Creates a copy of a public benchmark and all of its related entities
390
395
 
391
396
 
392
397
  :param benchmark_id: (required)
@@ -413,7 +418,7 @@ class BenchmarkApi:
413
418
  :return: Returns the result object.
414
419
  """ # noqa: E501
415
420
 
416
- _param = self._benchmark_benchmark_id_get_serialize(
421
+ _param = self._benchmark_benchmark_id_fork_post_serialize(
417
422
  benchmark_id=benchmark_id,
418
423
  _request_auth=_request_auth,
419
424
  _content_type=_content_type,
@@ -422,7 +427,7 @@ class BenchmarkApi:
422
427
  )
423
428
 
424
429
  _response_types_map: Dict[str, Optional[str]] = {
425
- '200': "GetBenchmarkByIdResult",
430
+ '200': "ForkBenchmarkResult",
426
431
  }
427
432
  response_data = self.api_client.call_api(
428
433
  *_param,
@@ -436,7 +441,7 @@ class BenchmarkApi:
436
441
 
437
442
 
438
443
  @validate_call
439
- def benchmark_benchmark_id_get_without_preload_content(
444
+ def benchmark_benchmark_id_fork_post_without_preload_content(
440
445
  self,
441
446
  benchmark_id: StrictStr,
442
447
  _request_timeout: Union[
@@ -452,7 +457,7 @@ class BenchmarkApi:
452
457
  _headers: Optional[Dict[StrictStr, Any]] = None,
453
458
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
454
459
  ) -> RESTResponseType:
455
- """Returns a single benchmark by its ID.
460
+ """Creates a copy of a public benchmark and all of its related entities
456
461
 
457
462
 
458
463
  :param benchmark_id: (required)
@@ -479,7 +484,7 @@ class BenchmarkApi:
479
484
  :return: Returns the result object.
480
485
  """ # noqa: E501
481
486
 
482
- _param = self._benchmark_benchmark_id_get_serialize(
487
+ _param = self._benchmark_benchmark_id_fork_post_serialize(
483
488
  benchmark_id=benchmark_id,
484
489
  _request_auth=_request_auth,
485
490
  _content_type=_content_type,
@@ -488,7 +493,7 @@ class BenchmarkApi:
488
493
  )
489
494
 
490
495
  _response_types_map: Dict[str, Optional[str]] = {
491
- '200': "GetBenchmarkByIdResult",
496
+ '200': "ForkBenchmarkResult",
492
497
  }
493
498
  response_data = self.api_client.call_api(
494
499
  *_param,
@@ -497,7 +502,7 @@ class BenchmarkApi:
497
502
  return response_data.response
498
503
 
499
504
 
500
- def _benchmark_benchmark_id_get_serialize(
505
+ def _benchmark_benchmark_id_fork_post_serialize(
501
506
  self,
502
507
  benchmark_id,
503
508
  _request_auth,
@@ -542,13 +547,14 @@ class BenchmarkApi:
542
547
 
543
548
  # authentication setting
544
549
  _auth_settings: List[str] = [
545
- 'bearer',
546
- 'oauth2'
550
+ 'OAuth2',
551
+ 'OpenIdConnect',
552
+ 'Bearer'
547
553
  ]
548
554
 
549
555
  return self.api_client.param_serialize(
550
- method='GET',
551
- resource_path='/benchmark/{benchmarkId}',
556
+ method='POST',
557
+ resource_path='/benchmark/{benchmarkId}/fork',
552
558
  path_params=_path_params,
553
559
  query_params=_query_params,
554
560
  header_params=_header_params,
@@ -565,10 +571,9 @@ class BenchmarkApi:
565
571
 
566
572
 
567
573
  @validate_call
568
- def benchmark_benchmark_id_name_put(
574
+ def benchmark_benchmark_id_get(
569
575
  self,
570
576
  benchmark_id: StrictStr,
571
- update_benchmark_name_model: Optional[UpdateBenchmarkNameModel] = None,
572
577
  _request_timeout: Union[
573
578
  None,
574
579
  Annotated[StrictFloat, Field(gt=0)],
@@ -581,14 +586,12 @@ class BenchmarkApi:
581
586
  _content_type: Optional[StrictStr] = None,
582
587
  _headers: Optional[Dict[StrictStr, Any]] = None,
583
588
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
584
- ) -> None:
585
- """Updates the name of a benchmark.
589
+ ) -> GetBenchmarkByIdResult:
590
+ """Returns a single benchmark by its ID.
586
591
 
587
592
 
588
593
  :param benchmark_id: (required)
589
594
  :type benchmark_id: str
590
- :param update_benchmark_name_model:
591
- :type update_benchmark_name_model: UpdateBenchmarkNameModel
592
595
  :param _request_timeout: timeout setting for this request. If one
593
596
  number provided, it will be total request
594
597
  timeout. It can also be a pair (tuple) of
@@ -611,9 +614,8 @@ class BenchmarkApi:
611
614
  :return: Returns the result object.
612
615
  """ # noqa: E501
613
616
 
614
- _param = self._benchmark_benchmark_id_name_put_serialize(
617
+ _param = self._benchmark_benchmark_id_get_serialize(
615
618
  benchmark_id=benchmark_id,
616
- update_benchmark_name_model=update_benchmark_name_model,
617
619
  _request_auth=_request_auth,
618
620
  _content_type=_content_type,
619
621
  _headers=_headers,
@@ -621,7 +623,7 @@ class BenchmarkApi:
621
623
  )
622
624
 
623
625
  _response_types_map: Dict[str, Optional[str]] = {
624
- '204': None,
626
+ '200': "GetBenchmarkByIdResult",
625
627
  }
626
628
  response_data = self.api_client.call_api(
627
629
  *_param,
@@ -635,10 +637,9 @@ class BenchmarkApi:
635
637
 
636
638
 
637
639
  @validate_call
638
- def benchmark_benchmark_id_name_put_with_http_info(
640
+ def benchmark_benchmark_id_get_with_http_info(
639
641
  self,
640
642
  benchmark_id: StrictStr,
641
- update_benchmark_name_model: Optional[UpdateBenchmarkNameModel] = None,
642
643
  _request_timeout: Union[
643
644
  None,
644
645
  Annotated[StrictFloat, Field(gt=0)],
@@ -651,14 +652,12 @@ class BenchmarkApi:
651
652
  _content_type: Optional[StrictStr] = None,
652
653
  _headers: Optional[Dict[StrictStr, Any]] = None,
653
654
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
654
- ) -> ApiResponse[None]:
655
- """Updates the name of a benchmark.
655
+ ) -> ApiResponse[GetBenchmarkByIdResult]:
656
+ """Returns a single benchmark by its ID.
656
657
 
657
658
 
658
659
  :param benchmark_id: (required)
659
660
  :type benchmark_id: str
660
- :param update_benchmark_name_model:
661
- :type update_benchmark_name_model: UpdateBenchmarkNameModel
662
661
  :param _request_timeout: timeout setting for this request. If one
663
662
  number provided, it will be total request
664
663
  timeout. It can also be a pair (tuple) of
@@ -681,9 +680,8 @@ class BenchmarkApi:
681
680
  :return: Returns the result object.
682
681
  """ # noqa: E501
683
682
 
684
- _param = self._benchmark_benchmark_id_name_put_serialize(
683
+ _param = self._benchmark_benchmark_id_get_serialize(
685
684
  benchmark_id=benchmark_id,
686
- update_benchmark_name_model=update_benchmark_name_model,
687
685
  _request_auth=_request_auth,
688
686
  _content_type=_content_type,
689
687
  _headers=_headers,
@@ -691,7 +689,7 @@ class BenchmarkApi:
691
689
  )
692
690
 
693
691
  _response_types_map: Dict[str, Optional[str]] = {
694
- '204': None,
692
+ '200': "GetBenchmarkByIdResult",
695
693
  }
696
694
  response_data = self.api_client.call_api(
697
695
  *_param,
@@ -705,10 +703,9 @@ class BenchmarkApi:
705
703
 
706
704
 
707
705
  @validate_call
708
- def benchmark_benchmark_id_name_put_without_preload_content(
706
+ def benchmark_benchmark_id_get_without_preload_content(
709
707
  self,
710
708
  benchmark_id: StrictStr,
711
- update_benchmark_name_model: Optional[UpdateBenchmarkNameModel] = None,
712
709
  _request_timeout: Union[
713
710
  None,
714
711
  Annotated[StrictFloat, Field(gt=0)],
@@ -722,13 +719,11 @@ class BenchmarkApi:
722
719
  _headers: Optional[Dict[StrictStr, Any]] = None,
723
720
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
724
721
  ) -> RESTResponseType:
725
- """Updates the name of a benchmark.
722
+ """Returns a single benchmark by its ID.
726
723
 
727
724
 
728
725
  :param benchmark_id: (required)
729
726
  :type benchmark_id: str
730
- :param update_benchmark_name_model:
731
- :type update_benchmark_name_model: UpdateBenchmarkNameModel
732
727
  :param _request_timeout: timeout setting for this request. If one
733
728
  number provided, it will be total request
734
729
  timeout. It can also be a pair (tuple) of
@@ -751,9 +746,8 @@ class BenchmarkApi:
751
746
  :return: Returns the result object.
752
747
  """ # noqa: E501
753
748
 
754
- _param = self._benchmark_benchmark_id_name_put_serialize(
749
+ _param = self._benchmark_benchmark_id_get_serialize(
755
750
  benchmark_id=benchmark_id,
756
- update_benchmark_name_model=update_benchmark_name_model,
757
751
  _request_auth=_request_auth,
758
752
  _content_type=_content_type,
759
753
  _headers=_headers,
@@ -761,7 +755,7 @@ class BenchmarkApi:
761
755
  )
762
756
 
763
757
  _response_types_map: Dict[str, Optional[str]] = {
764
- '204': None,
758
+ '200': "GetBenchmarkByIdResult",
765
759
  }
766
760
  response_data = self.api_client.call_api(
767
761
  *_param,
@@ -770,10 +764,9 @@ class BenchmarkApi:
770
764
  return response_data.response
771
765
 
772
766
 
773
- def _benchmark_benchmark_id_name_put_serialize(
767
+ def _benchmark_benchmark_id_get_serialize(
774
768
  self,
775
769
  benchmark_id,
776
- update_benchmark_name_model,
777
770
  _request_auth,
778
771
  _content_type,
779
772
  _headers,
@@ -801,36 +794,29 @@ class BenchmarkApi:
801
794
  # process the header parameters
802
795
  # process the form parameters
803
796
  # process the body parameter
804
- if update_benchmark_name_model is not None:
805
- _body_params = update_benchmark_name_model
806
797
 
807
798
 
808
-
809
- # set the HTTP header `Content-Type`
810
- if _content_type:
811
- _header_params['Content-Type'] = _content_type
812
- else:
813
- _default_content_type = (
814
- self.api_client.select_header_content_type(
815
- [
816
- 'application/json',
817
- 'text/json',
818
- 'application/*+json'
819
- ]
820
- )
799
+ # set the HTTP header `Accept`
800
+ if 'Accept' not in _header_params:
801
+ _header_params['Accept'] = self.api_client.select_header_accept(
802
+ [
803
+ 'text/plain',
804
+ 'application/json',
805
+ 'text/json'
806
+ ]
821
807
  )
822
- if _default_content_type is not None:
823
- _header_params['Content-Type'] = _default_content_type
808
+
824
809
 
825
810
  # authentication setting
826
811
  _auth_settings: List[str] = [
827
- 'bearer',
828
- 'oauth2'
812
+ 'OAuth2',
813
+ 'OpenIdConnect',
814
+ 'Bearer'
829
815
  ]
830
816
 
831
817
  return self.api_client.param_serialize(
832
- method='PUT',
833
- resource_path='/benchmark/{benchmarkId}/name',
818
+ method='GET',
819
+ resource_path='/benchmark/{benchmarkId}',
834
820
  path_params=_path_params,
835
821
  query_params=_query_params,
836
822
  header_params=_header_params,
@@ -847,10 +833,10 @@ class BenchmarkApi:
847
833
 
848
834
 
849
835
  @validate_call
850
- def benchmark_benchmark_id_participant_participant_id_delete(
836
+ def benchmark_benchmark_id_leaderboards_get(
851
837
  self,
852
- participant_id: StrictStr,
853
- benchmark_id: StrictStr,
838
+ benchmark_id: Annotated[StrictStr, Field(description="The Id of the benchmark whoms leaderboards will be returned")],
839
+ request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
854
840
  _request_timeout: Union[
855
841
  None,
856
842
  Annotated[StrictFloat, Field(gt=0)],
@@ -863,14 +849,14 @@ class BenchmarkApi:
863
849
  _content_type: Optional[StrictStr] = None,
864
850
  _headers: Optional[Dict[StrictStr, Any]] = None,
865
851
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
866
- ) -> None:
867
- """(Deprecated) Deletes a participant on a benchmark.
852
+ ) -> PagedResultOfLeaderboardsQueryResult:
853
+ """Queries all leaderboards for the current user's benchmarks.
868
854
 
869
855
 
870
- :param participant_id: (required)
871
- :type participant_id: str
872
- :param benchmark_id: (required)
856
+ :param benchmark_id: The Id of the benchmark whoms leaderboards will be returned (required)
873
857
  :type benchmark_id: str
858
+ :param request: Query parameters
859
+ :type request: QueryModel
874
860
  :param _request_timeout: timeout setting for this request. If one
875
861
  number provided, it will be total request
876
862
  timeout. It can also be a pair (tuple) of
@@ -892,11 +878,10 @@ class BenchmarkApi:
892
878
  :type _host_index: int, optional
893
879
  :return: Returns the result object.
894
880
  """ # noqa: E501
895
- warnings.warn("DELETE /benchmark/{benchmarkId}/participant/{participantId} is deprecated.", DeprecationWarning)
896
881
 
897
- _param = self._benchmark_benchmark_id_participant_participant_id_delete_serialize(
898
- participant_id=participant_id,
882
+ _param = self._benchmark_benchmark_id_leaderboards_get_serialize(
899
883
  benchmark_id=benchmark_id,
884
+ request=request,
900
885
  _request_auth=_request_auth,
901
886
  _content_type=_content_type,
902
887
  _headers=_headers,
@@ -904,7 +889,7 @@ class BenchmarkApi:
904
889
  )
905
890
 
906
891
  _response_types_map: Dict[str, Optional[str]] = {
907
- '204': None,
892
+ '200': "PagedResultOfLeaderboardsQueryResult",
908
893
  }
909
894
  response_data = self.api_client.call_api(
910
895
  *_param,
@@ -918,10 +903,10 @@ class BenchmarkApi:
918
903
 
919
904
 
920
905
  @validate_call
921
- def benchmark_benchmark_id_participant_participant_id_delete_with_http_info(
906
+ def benchmark_benchmark_id_leaderboards_get_with_http_info(
922
907
  self,
923
- participant_id: StrictStr,
924
- benchmark_id: StrictStr,
908
+ benchmark_id: Annotated[StrictStr, Field(description="The Id of the benchmark whoms leaderboards will be returned")],
909
+ request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
925
910
  _request_timeout: Union[
926
911
  None,
927
912
  Annotated[StrictFloat, Field(gt=0)],
@@ -934,14 +919,14 @@ class BenchmarkApi:
934
919
  _content_type: Optional[StrictStr] = None,
935
920
  _headers: Optional[Dict[StrictStr, Any]] = None,
936
921
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
937
- ) -> ApiResponse[None]:
938
- """(Deprecated) Deletes a participant on a benchmark.
922
+ ) -> ApiResponse[PagedResultOfLeaderboardsQueryResult]:
923
+ """Queries all leaderboards for the current user's benchmarks.
939
924
 
940
925
 
941
- :param participant_id: (required)
942
- :type participant_id: str
943
- :param benchmark_id: (required)
926
+ :param benchmark_id: The Id of the benchmark whoms leaderboards will be returned (required)
944
927
  :type benchmark_id: str
928
+ :param request: Query parameters
929
+ :type request: QueryModel
945
930
  :param _request_timeout: timeout setting for this request. If one
946
931
  number provided, it will be total request
947
932
  timeout. It can also be a pair (tuple) of
@@ -963,11 +948,10 @@ class BenchmarkApi:
963
948
  :type _host_index: int, optional
964
949
  :return: Returns the result object.
965
950
  """ # noqa: E501
966
- warnings.warn("DELETE /benchmark/{benchmarkId}/participant/{participantId} is deprecated.", DeprecationWarning)
967
951
 
968
- _param = self._benchmark_benchmark_id_participant_participant_id_delete_serialize(
969
- participant_id=participant_id,
952
+ _param = self._benchmark_benchmark_id_leaderboards_get_serialize(
970
953
  benchmark_id=benchmark_id,
954
+ request=request,
971
955
  _request_auth=_request_auth,
972
956
  _content_type=_content_type,
973
957
  _headers=_headers,
@@ -975,7 +959,7 @@ class BenchmarkApi:
975
959
  )
976
960
 
977
961
  _response_types_map: Dict[str, Optional[str]] = {
978
- '204': None,
962
+ '200': "PagedResultOfLeaderboardsQueryResult",
979
963
  }
980
964
  response_data = self.api_client.call_api(
981
965
  *_param,
@@ -989,10 +973,10 @@ class BenchmarkApi:
989
973
 
990
974
 
991
975
  @validate_call
992
- def benchmark_benchmark_id_participant_participant_id_delete_without_preload_content(
976
+ def benchmark_benchmark_id_leaderboards_get_without_preload_content(
993
977
  self,
994
- participant_id: StrictStr,
995
- benchmark_id: StrictStr,
978
+ benchmark_id: Annotated[StrictStr, Field(description="The Id of the benchmark whoms leaderboards will be returned")],
979
+ request: Annotated[Optional[QueryModel], Field(description="Query parameters")] = None,
996
980
  _request_timeout: Union[
997
981
  None,
998
982
  Annotated[StrictFloat, Field(gt=0)],
@@ -1006,13 +990,13 @@ class BenchmarkApi:
1006
990
  _headers: Optional[Dict[StrictStr, Any]] = None,
1007
991
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1008
992
  ) -> RESTResponseType:
1009
- """(Deprecated) Deletes a participant on a benchmark.
993
+ """Queries all leaderboards for the current user's benchmarks.
1010
994
 
1011
995
 
1012
- :param participant_id: (required)
1013
- :type participant_id: str
1014
- :param benchmark_id: (required)
996
+ :param benchmark_id: The Id of the benchmark whoms leaderboards will be returned (required)
1015
997
  :type benchmark_id: str
998
+ :param request: Query parameters
999
+ :type request: QueryModel
1016
1000
  :param _request_timeout: timeout setting for this request. If one
1017
1001
  number provided, it will be total request
1018
1002
  timeout. It can also be a pair (tuple) of
@@ -1034,11 +1018,10 @@ class BenchmarkApi:
1034
1018
  :type _host_index: int, optional
1035
1019
  :return: Returns the result object.
1036
1020
  """ # noqa: E501
1037
- warnings.warn("DELETE /benchmark/{benchmarkId}/participant/{participantId} is deprecated.", DeprecationWarning)
1038
1021
 
1039
- _param = self._benchmark_benchmark_id_participant_participant_id_delete_serialize(
1040
- participant_id=participant_id,
1022
+ _param = self._benchmark_benchmark_id_leaderboards_get_serialize(
1041
1023
  benchmark_id=benchmark_id,
1024
+ request=request,
1042
1025
  _request_auth=_request_auth,
1043
1026
  _content_type=_content_type,
1044
1027
  _headers=_headers,
@@ -1046,7 +1029,7 @@ class BenchmarkApi:
1046
1029
  )
1047
1030
 
1048
1031
  _response_types_map: Dict[str, Optional[str]] = {
1049
- '204': None,
1032
+ '200': "PagedResultOfLeaderboardsQueryResult",
1050
1033
  }
1051
1034
  response_data = self.api_client.call_api(
1052
1035
  *_param,
@@ -1055,10 +1038,10 @@ class BenchmarkApi:
1055
1038
  return response_data.response
1056
1039
 
1057
1040
 
1058
- def _benchmark_benchmark_id_participant_participant_id_delete_serialize(
1041
+ def _benchmark_benchmark_id_leaderboards_get_serialize(
1059
1042
  self,
1060
- participant_id,
1061
1043
  benchmark_id,
1044
+ request,
1062
1045
  _request_auth,
1063
1046
  _content_type,
1064
1047
  _headers,
@@ -1080,27 +1063,39 @@ class BenchmarkApi:
1080
1063
  _body_params: Optional[bytes] = None
1081
1064
 
1082
1065
  # process the path parameters
1083
- if participant_id is not None:
1084
- _path_params['participantId'] = participant_id
1085
1066
  if benchmark_id is not None:
1086
1067
  _path_params['benchmarkId'] = benchmark_id
1087
1068
  # process the query parameters
1069
+ if request is not None:
1070
+
1071
+ _query_params.append(('request', request))
1072
+
1088
1073
  # process the header parameters
1089
1074
  # process the form parameters
1090
1075
  # process the body parameter
1091
1076
 
1092
1077
 
1078
+ # set the HTTP header `Accept`
1079
+ if 'Accept' not in _header_params:
1080
+ _header_params['Accept'] = self.api_client.select_header_accept(
1081
+ [
1082
+ 'text/plain',
1083
+ 'application/json',
1084
+ 'text/json'
1085
+ ]
1086
+ )
1093
1087
 
1094
1088
 
1095
1089
  # authentication setting
1096
1090
  _auth_settings: List[str] = [
1097
- 'bearer',
1098
- 'oauth2'
1091
+ 'OAuth2',
1092
+ 'OpenIdConnect',
1093
+ 'Bearer'
1099
1094
  ]
1100
1095
 
1101
1096
  return self.api_client.param_serialize(
1102
- method='DELETE',
1103
- resource_path='/benchmark/{benchmarkId}/participant/{participantId}',
1097
+ method='GET',
1098
+ resource_path='/benchmark/{benchmarkId}/leaderboards',
1104
1099
  path_params=_path_params,
1105
1100
  query_params=_query_params,
1106
1101
  header_params=_header_params,
@@ -1132,7 +1127,7 @@ class BenchmarkApi:
1132
1127
  _content_type: Optional[StrictStr] = None,
1133
1128
  _headers: Optional[Dict[StrictStr, Any]] = None,
1134
1129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1135
- ) -> ParticipantByBenchmarkPagedResult:
1130
+ ) -> PagedResultOfParticipantByBenchmark:
1136
1131
  """Query all participants within a benchmark
1137
1132
 
1138
1133
 
@@ -1169,7 +1164,7 @@ class BenchmarkApi:
1169
1164
  )
1170
1165
 
1171
1166
  _response_types_map: Dict[str, Optional[str]] = {
1172
- '200': "ParticipantByBenchmarkPagedResult",
1167
+ '200': "PagedResultOfParticipantByBenchmark",
1173
1168
  }
1174
1169
  response_data = self.api_client.call_api(
1175
1170
  *_param,
@@ -1198,7 +1193,7 @@ class BenchmarkApi:
1198
1193
  _content_type: Optional[StrictStr] = None,
1199
1194
  _headers: Optional[Dict[StrictStr, Any]] = None,
1200
1195
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1201
- ) -> ApiResponse[ParticipantByBenchmarkPagedResult]:
1196
+ ) -> ApiResponse[PagedResultOfParticipantByBenchmark]:
1202
1197
  """Query all participants within a benchmark
1203
1198
 
1204
1199
 
@@ -1235,7 +1230,7 @@ class BenchmarkApi:
1235
1230
  )
1236
1231
 
1237
1232
  _response_types_map: Dict[str, Optional[str]] = {
1238
- '200': "ParticipantByBenchmarkPagedResult",
1233
+ '200': "PagedResultOfParticipantByBenchmark",
1239
1234
  }
1240
1235
  response_data = self.api_client.call_api(
1241
1236
  *_param,
@@ -1301,7 +1296,7 @@ class BenchmarkApi:
1301
1296
  )
1302
1297
 
1303
1298
  _response_types_map: Dict[str, Optional[str]] = {
1304
- '200': "ParticipantByBenchmarkPagedResult",
1299
+ '200': "PagedResultOfParticipantByBenchmark",
1305
1300
  }
1306
1301
  response_data = self.api_client.call_api(
1307
1302
  *_param,
@@ -1355,8 +1350,9 @@ class BenchmarkApi:
1355
1350
 
1356
1351
  # authentication setting
1357
1352
  _auth_settings: List[str] = [
1358
- 'bearer',
1359
- 'oauth2'
1353
+ 'OAuth2',
1354
+ 'OpenIdConnect',
1355
+ 'Bearer'
1360
1356
  ]
1361
1357
 
1362
1358
  return self.api_client.param_serialize(
@@ -1378,10 +1374,10 @@ class BenchmarkApi:
1378
1374
 
1379
1375
 
1380
1376
  @validate_call
1381
- def benchmark_benchmark_id_participants_participant_id_submit_post(
1377
+ def benchmark_benchmark_id_participants_post(
1382
1378
  self,
1383
1379
  benchmark_id: StrictStr,
1384
- participant_id: StrictStr,
1380
+ create_benchmark_participant_model: CreateBenchmarkParticipantModel,
1385
1381
  _request_timeout: Union[
1386
1382
  None,
1387
1383
  Annotated[StrictFloat, Field(gt=0)],
@@ -1394,14 +1390,14 @@ class BenchmarkApi:
1394
1390
  _content_type: Optional[StrictStr] = None,
1395
1391
  _headers: Optional[Dict[StrictStr, Any]] = None,
1396
1392
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1397
- ) -> SubmitParticipantResult:
1398
- """(Deprecated) Submits a participant to a benchmark.
1393
+ ) -> CreateBenchmarkParticipantResult:
1394
+ """Creates a participant in a benchmark.
1399
1395
 
1400
1396
 
1401
1397
  :param benchmark_id: (required)
1402
1398
  :type benchmark_id: str
1403
- :param participant_id: (required)
1404
- :type participant_id: str
1399
+ :param create_benchmark_participant_model: (required)
1400
+ :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1405
1401
  :param _request_timeout: timeout setting for this request. If one
1406
1402
  number provided, it will be total request
1407
1403
  timeout. It can also be a pair (tuple) of
@@ -1423,11 +1419,10 @@ class BenchmarkApi:
1423
1419
  :type _host_index: int, optional
1424
1420
  :return: Returns the result object.
1425
1421
  """ # noqa: E501
1426
- warnings.warn("POST /benchmark/{benchmarkId}/participants/{participantId}/submit is deprecated.", DeprecationWarning)
1427
1422
 
1428
- _param = self._benchmark_benchmark_id_participants_participant_id_submit_post_serialize(
1423
+ _param = self._benchmark_benchmark_id_participants_post_serialize(
1429
1424
  benchmark_id=benchmark_id,
1430
- participant_id=participant_id,
1425
+ create_benchmark_participant_model=create_benchmark_participant_model,
1431
1426
  _request_auth=_request_auth,
1432
1427
  _content_type=_content_type,
1433
1428
  _headers=_headers,
@@ -1435,7 +1430,7 @@ class BenchmarkApi:
1435
1430
  )
1436
1431
 
1437
1432
  _response_types_map: Dict[str, Optional[str]] = {
1438
- '200': "SubmitParticipantResult",
1433
+ '200': "CreateBenchmarkParticipantResult",
1439
1434
  }
1440
1435
  response_data = self.api_client.call_api(
1441
1436
  *_param,
@@ -1449,10 +1444,10 @@ class BenchmarkApi:
1449
1444
 
1450
1445
 
1451
1446
  @validate_call
1452
- def benchmark_benchmark_id_participants_participant_id_submit_post_with_http_info(
1447
+ def benchmark_benchmark_id_participants_post_with_http_info(
1453
1448
  self,
1454
1449
  benchmark_id: StrictStr,
1455
- participant_id: StrictStr,
1450
+ create_benchmark_participant_model: CreateBenchmarkParticipantModel,
1456
1451
  _request_timeout: Union[
1457
1452
  None,
1458
1453
  Annotated[StrictFloat, Field(gt=0)],
@@ -1465,14 +1460,14 @@ class BenchmarkApi:
1465
1460
  _content_type: Optional[StrictStr] = None,
1466
1461
  _headers: Optional[Dict[StrictStr, Any]] = None,
1467
1462
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1468
- ) -> ApiResponse[SubmitParticipantResult]:
1469
- """(Deprecated) Submits a participant to a benchmark.
1463
+ ) -> ApiResponse[CreateBenchmarkParticipantResult]:
1464
+ """Creates a participant in a benchmark.
1470
1465
 
1471
1466
 
1472
1467
  :param benchmark_id: (required)
1473
1468
  :type benchmark_id: str
1474
- :param participant_id: (required)
1475
- :type participant_id: str
1469
+ :param create_benchmark_participant_model: (required)
1470
+ :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1476
1471
  :param _request_timeout: timeout setting for this request. If one
1477
1472
  number provided, it will be total request
1478
1473
  timeout. It can also be a pair (tuple) of
@@ -1494,11 +1489,10 @@ class BenchmarkApi:
1494
1489
  :type _host_index: int, optional
1495
1490
  :return: Returns the result object.
1496
1491
  """ # noqa: E501
1497
- warnings.warn("POST /benchmark/{benchmarkId}/participants/{participantId}/submit is deprecated.", DeprecationWarning)
1498
1492
 
1499
- _param = self._benchmark_benchmark_id_participants_participant_id_submit_post_serialize(
1493
+ _param = self._benchmark_benchmark_id_participants_post_serialize(
1500
1494
  benchmark_id=benchmark_id,
1501
- participant_id=participant_id,
1495
+ create_benchmark_participant_model=create_benchmark_participant_model,
1502
1496
  _request_auth=_request_auth,
1503
1497
  _content_type=_content_type,
1504
1498
  _headers=_headers,
@@ -1506,7 +1500,7 @@ class BenchmarkApi:
1506
1500
  )
1507
1501
 
1508
1502
  _response_types_map: Dict[str, Optional[str]] = {
1509
- '200': "SubmitParticipantResult",
1503
+ '200': "CreateBenchmarkParticipantResult",
1510
1504
  }
1511
1505
  response_data = self.api_client.call_api(
1512
1506
  *_param,
@@ -1520,10 +1514,10 @@ class BenchmarkApi:
1520
1514
 
1521
1515
 
1522
1516
  @validate_call
1523
- def benchmark_benchmark_id_participants_participant_id_submit_post_without_preload_content(
1517
+ def benchmark_benchmark_id_participants_post_without_preload_content(
1524
1518
  self,
1525
1519
  benchmark_id: StrictStr,
1526
- participant_id: StrictStr,
1520
+ create_benchmark_participant_model: CreateBenchmarkParticipantModel,
1527
1521
  _request_timeout: Union[
1528
1522
  None,
1529
1523
  Annotated[StrictFloat, Field(gt=0)],
@@ -1537,13 +1531,13 @@ class BenchmarkApi:
1537
1531
  _headers: Optional[Dict[StrictStr, Any]] = None,
1538
1532
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1539
1533
  ) -> RESTResponseType:
1540
- """(Deprecated) Submits a participant to a benchmark.
1534
+ """Creates a participant in a benchmark.
1541
1535
 
1542
1536
 
1543
1537
  :param benchmark_id: (required)
1544
1538
  :type benchmark_id: str
1545
- :param participant_id: (required)
1546
- :type participant_id: str
1539
+ :param create_benchmark_participant_model: (required)
1540
+ :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1547
1541
  :param _request_timeout: timeout setting for this request. If one
1548
1542
  number provided, it will be total request
1549
1543
  timeout. It can also be a pair (tuple) of
@@ -1565,11 +1559,10 @@ class BenchmarkApi:
1565
1559
  :type _host_index: int, optional
1566
1560
  :return: Returns the result object.
1567
1561
  """ # noqa: E501
1568
- warnings.warn("POST /benchmark/{benchmarkId}/participants/{participantId}/submit is deprecated.", DeprecationWarning)
1569
1562
 
1570
- _param = self._benchmark_benchmark_id_participants_participant_id_submit_post_serialize(
1563
+ _param = self._benchmark_benchmark_id_participants_post_serialize(
1571
1564
  benchmark_id=benchmark_id,
1572
- participant_id=participant_id,
1565
+ create_benchmark_participant_model=create_benchmark_participant_model,
1573
1566
  _request_auth=_request_auth,
1574
1567
  _content_type=_content_type,
1575
1568
  _headers=_headers,
@@ -1577,7 +1570,7 @@ class BenchmarkApi:
1577
1570
  )
1578
1571
 
1579
1572
  _response_types_map: Dict[str, Optional[str]] = {
1580
- '200': "SubmitParticipantResult",
1573
+ '200': "CreateBenchmarkParticipantResult",
1581
1574
  }
1582
1575
  response_data = self.api_client.call_api(
1583
1576
  *_param,
@@ -1586,10 +1579,10 @@ class BenchmarkApi:
1586
1579
  return response_data.response
1587
1580
 
1588
1581
 
1589
- def _benchmark_benchmark_id_participants_participant_id_submit_post_serialize(
1582
+ def _benchmark_benchmark_id_participants_post_serialize(
1590
1583
  self,
1591
1584
  benchmark_id,
1592
- participant_id,
1585
+ create_benchmark_participant_model,
1593
1586
  _request_auth,
1594
1587
  _content_type,
1595
1588
  _headers,
@@ -1613,12 +1606,12 @@ class BenchmarkApi:
1613
1606
  # process the path parameters
1614
1607
  if benchmark_id is not None:
1615
1608
  _path_params['benchmarkId'] = benchmark_id
1616
- if participant_id is not None:
1617
- _path_params['participantId'] = participant_id
1618
1609
  # process the query parameters
1619
1610
  # process the header parameters
1620
1611
  # process the form parameters
1621
1612
  # process the body parameter
1613
+ if create_benchmark_participant_model is not None:
1614
+ _body_params = create_benchmark_participant_model
1622
1615
 
1623
1616
 
1624
1617
  # set the HTTP header `Accept`
@@ -1631,16 +1624,32 @@ class BenchmarkApi:
1631
1624
  ]
1632
1625
  )
1633
1626
 
1627
+ # set the HTTP header `Content-Type`
1628
+ if _content_type:
1629
+ _header_params['Content-Type'] = _content_type
1630
+ else:
1631
+ _default_content_type = (
1632
+ self.api_client.select_header_content_type(
1633
+ [
1634
+ 'application/json',
1635
+ 'text/json',
1636
+ 'application/*+json'
1637
+ ]
1638
+ )
1639
+ )
1640
+ if _default_content_type is not None:
1641
+ _header_params['Content-Type'] = _default_content_type
1634
1642
 
1635
1643
  # authentication setting
1636
1644
  _auth_settings: List[str] = [
1637
- 'bearer',
1638
- 'oauth2'
1645
+ 'OAuth2',
1646
+ 'OpenIdConnect',
1647
+ 'Bearer'
1639
1648
  ]
1640
1649
 
1641
1650
  return self.api_client.param_serialize(
1642
1651
  method='POST',
1643
- resource_path='/benchmark/{benchmarkId}/participants/{participantId}/submit',
1652
+ resource_path='/benchmark/{benchmarkId}/participants',
1644
1653
  path_params=_path_params,
1645
1654
  query_params=_query_params,
1646
1655
  header_params=_header_params,
@@ -1657,10 +1666,10 @@ class BenchmarkApi:
1657
1666
 
1658
1667
 
1659
1668
  @validate_call
1660
- def benchmark_benchmark_id_participants_post(
1669
+ def benchmark_benchmark_id_patch(
1661
1670
  self,
1662
1671
  benchmark_id: StrictStr,
1663
- create_benchmark_participant_model: Optional[CreateBenchmarkParticipantModel] = None,
1672
+ update_benchmark_model: UpdateBenchmarkModel,
1664
1673
  _request_timeout: Union[
1665
1674
  None,
1666
1675
  Annotated[StrictFloat, Field(gt=0)],
@@ -1673,14 +1682,14 @@ class BenchmarkApi:
1673
1682
  _content_type: Optional[StrictStr] = None,
1674
1683
  _headers: Optional[Dict[StrictStr, Any]] = None,
1675
1684
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1676
- ) -> CreateBenchmarkParticipantResult:
1677
- """Creates a participant in a benchmark.
1685
+ ) -> None:
1686
+ """Updates a benchmark using patch semantics.
1678
1687
 
1679
1688
 
1680
1689
  :param benchmark_id: (required)
1681
1690
  :type benchmark_id: str
1682
- :param create_benchmark_participant_model:
1683
- :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1691
+ :param update_benchmark_model: (required)
1692
+ :type update_benchmark_model: UpdateBenchmarkModel
1684
1693
  :param _request_timeout: timeout setting for this request. If one
1685
1694
  number provided, it will be total request
1686
1695
  timeout. It can also be a pair (tuple) of
@@ -1703,9 +1712,9 @@ class BenchmarkApi:
1703
1712
  :return: Returns the result object.
1704
1713
  """ # noqa: E501
1705
1714
 
1706
- _param = self._benchmark_benchmark_id_participants_post_serialize(
1715
+ _param = self._benchmark_benchmark_id_patch_serialize(
1707
1716
  benchmark_id=benchmark_id,
1708
- create_benchmark_participant_model=create_benchmark_participant_model,
1717
+ update_benchmark_model=update_benchmark_model,
1709
1718
  _request_auth=_request_auth,
1710
1719
  _content_type=_content_type,
1711
1720
  _headers=_headers,
@@ -1713,7 +1722,7 @@ class BenchmarkApi:
1713
1722
  )
1714
1723
 
1715
1724
  _response_types_map: Dict[str, Optional[str]] = {
1716
- '200': "CreateBenchmarkParticipantResult",
1725
+ '204': None,
1717
1726
  }
1718
1727
  response_data = self.api_client.call_api(
1719
1728
  *_param,
@@ -1727,10 +1736,10 @@ class BenchmarkApi:
1727
1736
 
1728
1737
 
1729
1738
  @validate_call
1730
- def benchmark_benchmark_id_participants_post_with_http_info(
1739
+ def benchmark_benchmark_id_patch_with_http_info(
1731
1740
  self,
1732
1741
  benchmark_id: StrictStr,
1733
- create_benchmark_participant_model: Optional[CreateBenchmarkParticipantModel] = None,
1742
+ update_benchmark_model: UpdateBenchmarkModel,
1734
1743
  _request_timeout: Union[
1735
1744
  None,
1736
1745
  Annotated[StrictFloat, Field(gt=0)],
@@ -1743,14 +1752,14 @@ class BenchmarkApi:
1743
1752
  _content_type: Optional[StrictStr] = None,
1744
1753
  _headers: Optional[Dict[StrictStr, Any]] = None,
1745
1754
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1746
- ) -> ApiResponse[CreateBenchmarkParticipantResult]:
1747
- """Creates a participant in a benchmark.
1755
+ ) -> ApiResponse[None]:
1756
+ """Updates a benchmark using patch semantics.
1748
1757
 
1749
1758
 
1750
1759
  :param benchmark_id: (required)
1751
1760
  :type benchmark_id: str
1752
- :param create_benchmark_participant_model:
1753
- :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1761
+ :param update_benchmark_model: (required)
1762
+ :type update_benchmark_model: UpdateBenchmarkModel
1754
1763
  :param _request_timeout: timeout setting for this request. If one
1755
1764
  number provided, it will be total request
1756
1765
  timeout. It can also be a pair (tuple) of
@@ -1773,9 +1782,9 @@ class BenchmarkApi:
1773
1782
  :return: Returns the result object.
1774
1783
  """ # noqa: E501
1775
1784
 
1776
- _param = self._benchmark_benchmark_id_participants_post_serialize(
1785
+ _param = self._benchmark_benchmark_id_patch_serialize(
1777
1786
  benchmark_id=benchmark_id,
1778
- create_benchmark_participant_model=create_benchmark_participant_model,
1787
+ update_benchmark_model=update_benchmark_model,
1779
1788
  _request_auth=_request_auth,
1780
1789
  _content_type=_content_type,
1781
1790
  _headers=_headers,
@@ -1783,7 +1792,7 @@ class BenchmarkApi:
1783
1792
  )
1784
1793
 
1785
1794
  _response_types_map: Dict[str, Optional[str]] = {
1786
- '200': "CreateBenchmarkParticipantResult",
1795
+ '204': None,
1787
1796
  }
1788
1797
  response_data = self.api_client.call_api(
1789
1798
  *_param,
@@ -1797,10 +1806,10 @@ class BenchmarkApi:
1797
1806
 
1798
1807
 
1799
1808
  @validate_call
1800
- def benchmark_benchmark_id_participants_post_without_preload_content(
1809
+ def benchmark_benchmark_id_patch_without_preload_content(
1801
1810
  self,
1802
1811
  benchmark_id: StrictStr,
1803
- create_benchmark_participant_model: Optional[CreateBenchmarkParticipantModel] = None,
1812
+ update_benchmark_model: UpdateBenchmarkModel,
1804
1813
  _request_timeout: Union[
1805
1814
  None,
1806
1815
  Annotated[StrictFloat, Field(gt=0)],
@@ -1814,13 +1823,13 @@ class BenchmarkApi:
1814
1823
  _headers: Optional[Dict[StrictStr, Any]] = None,
1815
1824
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1816
1825
  ) -> RESTResponseType:
1817
- """Creates a participant in a benchmark.
1826
+ """Updates a benchmark using patch semantics.
1818
1827
 
1819
1828
 
1820
1829
  :param benchmark_id: (required)
1821
1830
  :type benchmark_id: str
1822
- :param create_benchmark_participant_model:
1823
- :type create_benchmark_participant_model: CreateBenchmarkParticipantModel
1831
+ :param update_benchmark_model: (required)
1832
+ :type update_benchmark_model: UpdateBenchmarkModel
1824
1833
  :param _request_timeout: timeout setting for this request. If one
1825
1834
  number provided, it will be total request
1826
1835
  timeout. It can also be a pair (tuple) of
@@ -1843,9 +1852,9 @@ class BenchmarkApi:
1843
1852
  :return: Returns the result object.
1844
1853
  """ # noqa: E501
1845
1854
 
1846
- _param = self._benchmark_benchmark_id_participants_post_serialize(
1855
+ _param = self._benchmark_benchmark_id_patch_serialize(
1847
1856
  benchmark_id=benchmark_id,
1848
- create_benchmark_participant_model=create_benchmark_participant_model,
1857
+ update_benchmark_model=update_benchmark_model,
1849
1858
  _request_auth=_request_auth,
1850
1859
  _content_type=_content_type,
1851
1860
  _headers=_headers,
@@ -1853,7 +1862,7 @@ class BenchmarkApi:
1853
1862
  )
1854
1863
 
1855
1864
  _response_types_map: Dict[str, Optional[str]] = {
1856
- '200': "CreateBenchmarkParticipantResult",
1865
+ '204': None,
1857
1866
  }
1858
1867
  response_data = self.api_client.call_api(
1859
1868
  *_param,
@@ -1862,10 +1871,10 @@ class BenchmarkApi:
1862
1871
  return response_data.response
1863
1872
 
1864
1873
 
1865
- def _benchmark_benchmark_id_participants_post_serialize(
1874
+ def _benchmark_benchmark_id_patch_serialize(
1866
1875
  self,
1867
1876
  benchmark_id,
1868
- create_benchmark_participant_model,
1877
+ update_benchmark_model,
1869
1878
  _request_auth,
1870
1879
  _content_type,
1871
1880
  _headers,
@@ -1893,19 +1902,10 @@ class BenchmarkApi:
1893
1902
  # process the header parameters
1894
1903
  # process the form parameters
1895
1904
  # process the body parameter
1896
- if create_benchmark_participant_model is not None:
1897
- _body_params = create_benchmark_participant_model
1905
+ if update_benchmark_model is not None:
1906
+ _body_params = update_benchmark_model
1898
1907
 
1899
1908
 
1900
- # set the HTTP header `Accept`
1901
- if 'Accept' not in _header_params:
1902
- _header_params['Accept'] = self.api_client.select_header_accept(
1903
- [
1904
- 'text/plain',
1905
- 'application/json',
1906
- 'text/json'
1907
- ]
1908
- )
1909
1909
 
1910
1910
  # set the HTTP header `Content-Type`
1911
1911
  if _content_type:
@@ -1925,13 +1925,14 @@ class BenchmarkApi:
1925
1925
 
1926
1926
  # authentication setting
1927
1927
  _auth_settings: List[str] = [
1928
- 'bearer',
1929
- 'oauth2'
1928
+ 'OAuth2',
1929
+ 'OpenIdConnect',
1930
+ 'Bearer'
1930
1931
  ]
1931
1932
 
1932
1933
  return self.api_client.param_serialize(
1933
- method='POST',
1934
- resource_path='/benchmark/{benchmarkId}/participants',
1934
+ method='PATCH',
1935
+ resource_path='/benchmark/{benchmarkId}',
1935
1936
  path_params=_path_params,
1936
1937
  query_params=_query_params,
1937
1938
  header_params=_header_params,
@@ -1951,7 +1952,7 @@ class BenchmarkApi:
1951
1952
  def benchmark_benchmark_id_prompt_post(
1952
1953
  self,
1953
1954
  benchmark_id: Annotated[StrictStr, Field(description="The benchmark id.")],
1954
- submit_prompt_model: Optional[SubmitPromptModel] = None,
1955
+ submit_prompt_model: SubmitPromptModel,
1955
1956
  _request_timeout: Union[
1956
1957
  None,
1957
1958
  Annotated[StrictFloat, Field(gt=0)],
@@ -1964,13 +1965,13 @@ class BenchmarkApi:
1964
1965
  _content_type: Optional[StrictStr] = None,
1965
1966
  _headers: Optional[Dict[StrictStr, Any]] = None,
1966
1967
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1967
- ) -> None:
1968
+ ) -> CreateBenchmarkPromptResult:
1968
1969
  """Adds a new prompt to a benchmark.
1969
1970
 
1970
1971
 
1971
1972
  :param benchmark_id: The benchmark id. (required)
1972
1973
  :type benchmark_id: str
1973
- :param submit_prompt_model:
1974
+ :param submit_prompt_model: (required)
1974
1975
  :type submit_prompt_model: SubmitPromptModel
1975
1976
  :param _request_timeout: timeout setting for this request. If one
1976
1977
  number provided, it will be total request
@@ -2004,7 +2005,7 @@ class BenchmarkApi:
2004
2005
  )
2005
2006
 
2006
2007
  _response_types_map: Dict[str, Optional[str]] = {
2007
- '204': None,
2008
+ '200': "CreateBenchmarkPromptResult",
2008
2009
  }
2009
2010
  response_data = self.api_client.call_api(
2010
2011
  *_param,
@@ -2021,7 +2022,7 @@ class BenchmarkApi:
2021
2022
  def benchmark_benchmark_id_prompt_post_with_http_info(
2022
2023
  self,
2023
2024
  benchmark_id: Annotated[StrictStr, Field(description="The benchmark id.")],
2024
- submit_prompt_model: Optional[SubmitPromptModel] = None,
2025
+ submit_prompt_model: SubmitPromptModel,
2025
2026
  _request_timeout: Union[
2026
2027
  None,
2027
2028
  Annotated[StrictFloat, Field(gt=0)],
@@ -2034,13 +2035,13 @@ class BenchmarkApi:
2034
2035
  _content_type: Optional[StrictStr] = None,
2035
2036
  _headers: Optional[Dict[StrictStr, Any]] = None,
2036
2037
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2037
- ) -> ApiResponse[None]:
2038
+ ) -> ApiResponse[CreateBenchmarkPromptResult]:
2038
2039
  """Adds a new prompt to a benchmark.
2039
2040
 
2040
2041
 
2041
2042
  :param benchmark_id: The benchmark id. (required)
2042
2043
  :type benchmark_id: str
2043
- :param submit_prompt_model:
2044
+ :param submit_prompt_model: (required)
2044
2045
  :type submit_prompt_model: SubmitPromptModel
2045
2046
  :param _request_timeout: timeout setting for this request. If one
2046
2047
  number provided, it will be total request
@@ -2074,7 +2075,7 @@ class BenchmarkApi:
2074
2075
  )
2075
2076
 
2076
2077
  _response_types_map: Dict[str, Optional[str]] = {
2077
- '204': None,
2078
+ '200': "CreateBenchmarkPromptResult",
2078
2079
  }
2079
2080
  response_data = self.api_client.call_api(
2080
2081
  *_param,
@@ -2091,7 +2092,7 @@ class BenchmarkApi:
2091
2092
  def benchmark_benchmark_id_prompt_post_without_preload_content(
2092
2093
  self,
2093
2094
  benchmark_id: Annotated[StrictStr, Field(description="The benchmark id.")],
2094
- submit_prompt_model: Optional[SubmitPromptModel] = None,
2095
+ submit_prompt_model: SubmitPromptModel,
2095
2096
  _request_timeout: Union[
2096
2097
  None,
2097
2098
  Annotated[StrictFloat, Field(gt=0)],
@@ -2110,7 +2111,7 @@ class BenchmarkApi:
2110
2111
 
2111
2112
  :param benchmark_id: The benchmark id. (required)
2112
2113
  :type benchmark_id: str
2113
- :param submit_prompt_model:
2114
+ :param submit_prompt_model: (required)
2114
2115
  :type submit_prompt_model: SubmitPromptModel
2115
2116
  :param _request_timeout: timeout setting for this request. If one
2116
2117
  number provided, it will be total request
@@ -2144,7 +2145,7 @@ class BenchmarkApi:
2144
2145
  )
2145
2146
 
2146
2147
  _response_types_map: Dict[str, Optional[str]] = {
2147
- '204': None,
2148
+ '200': "CreateBenchmarkPromptResult",
2148
2149
  }
2149
2150
  response_data = self.api_client.call_api(
2150
2151
  *_param,
@@ -2188,6 +2189,15 @@ class BenchmarkApi:
2188
2189
  _body_params = submit_prompt_model
2189
2190
 
2190
2191
 
2192
+ # set the HTTP header `Accept`
2193
+ if 'Accept' not in _header_params:
2194
+ _header_params['Accept'] = self.api_client.select_header_accept(
2195
+ [
2196
+ 'text/plain',
2197
+ 'application/json',
2198
+ 'text/json'
2199
+ ]
2200
+ )
2191
2201
 
2192
2202
  # set the HTTP header `Content-Type`
2193
2203
  if _content_type:
@@ -2207,8 +2217,9 @@ class BenchmarkApi:
2207
2217
 
2208
2218
  # authentication setting
2209
2219
  _auth_settings: List[str] = [
2210
- 'bearer',
2211
- 'oauth2'
2220
+ 'OAuth2',
2221
+ 'OpenIdConnect',
2222
+ 'Bearer'
2212
2223
  ]
2213
2224
 
2214
2225
  return self.api_client.param_serialize(
@@ -2246,7 +2257,7 @@ class BenchmarkApi:
2246
2257
  _content_type: Optional[StrictStr] = None,
2247
2258
  _headers: Optional[Dict[StrictStr, Any]] = None,
2248
2259
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2249
- ) -> PromptByBenchmarkResultPagedResult:
2260
+ ) -> PagedResultOfPromptByBenchmarkResult:
2250
2261
  """Returns the paged prompts of a benchmark by its ID.
2251
2262
 
2252
2263
 
@@ -2286,7 +2297,7 @@ class BenchmarkApi:
2286
2297
  )
2287
2298
 
2288
2299
  _response_types_map: Dict[str, Optional[str]] = {
2289
- '200': "PromptByBenchmarkResultPagedResult",
2300
+ '200': "PagedResultOfPromptByBenchmarkResult",
2290
2301
  }
2291
2302
  response_data = self.api_client.call_api(
2292
2303
  *_param,
@@ -2316,7 +2327,7 @@ class BenchmarkApi:
2316
2327
  _content_type: Optional[StrictStr] = None,
2317
2328
  _headers: Optional[Dict[StrictStr, Any]] = None,
2318
2329
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2319
- ) -> ApiResponse[PromptByBenchmarkResultPagedResult]:
2330
+ ) -> ApiResponse[PagedResultOfPromptByBenchmarkResult]:
2320
2331
  """Returns the paged prompts of a benchmark by its ID.
2321
2332
 
2322
2333
 
@@ -2356,7 +2367,7 @@ class BenchmarkApi:
2356
2367
  )
2357
2368
 
2358
2369
  _response_types_map: Dict[str, Optional[str]] = {
2359
- '200': "PromptByBenchmarkResultPagedResult",
2370
+ '200': "PagedResultOfPromptByBenchmarkResult",
2360
2371
  }
2361
2372
  response_data = self.api_client.call_api(
2362
2373
  *_param,
@@ -2426,7 +2437,7 @@ class BenchmarkApi:
2426
2437
  )
2427
2438
 
2428
2439
  _response_types_map: Dict[str, Optional[str]] = {
2429
- '200': "PromptByBenchmarkResultPagedResult",
2440
+ '200': "PagedResultOfPromptByBenchmarkResult",
2430
2441
  }
2431
2442
  response_data = self.api_client.call_api(
2432
2443
  *_param,
@@ -2485,8 +2496,9 @@ class BenchmarkApi:
2485
2496
 
2486
2497
  # authentication setting
2487
2498
  _auth_settings: List[str] = [
2488
- 'bearer',
2489
- 'oauth2'
2499
+ 'OAuth2',
2500
+ 'OpenIdConnect',
2501
+ 'Bearer'
2490
2502
  ]
2491
2503
 
2492
2504
  return self.api_client.param_serialize(
@@ -2507,6 +2519,650 @@ class BenchmarkApi:
2507
2519
 
2508
2520
 
2509
2521
 
2522
+ @validate_call
2523
+ def benchmark_benchmark_id_samples_identifier_get(
2524
+ self,
2525
+ benchmark_id: Annotated[StrictStr, Field(description="The id of the benchmark to query")],
2526
+ identifier: Annotated[StrictStr, Field(description="The identifier to filter all samples for")],
2527
+ request: Annotated[Optional[QueryModel], Field(description="additional query settings")] = None,
2528
+ _request_timeout: Union[
2529
+ None,
2530
+ Annotated[StrictFloat, Field(gt=0)],
2531
+ Tuple[
2532
+ Annotated[StrictFloat, Field(gt=0)],
2533
+ Annotated[StrictFloat, Field(gt=0)]
2534
+ ]
2535
+ ] = None,
2536
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2537
+ _content_type: Optional[StrictStr] = None,
2538
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2539
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2540
+ ) -> PagedResultOfSampleByIdentifier:
2541
+ """Returns the paged prompts of a benchmark by its ID.
2542
+
2543
+
2544
+ :param benchmark_id: The id of the benchmark to query (required)
2545
+ :type benchmark_id: str
2546
+ :param identifier: The identifier to filter all samples for (required)
2547
+ :type identifier: str
2548
+ :param request: additional query settings
2549
+ :type request: QueryModel
2550
+ :param _request_timeout: timeout setting for this request. If one
2551
+ number provided, it will be total request
2552
+ timeout. It can also be a pair (tuple) of
2553
+ (connection, read) timeouts.
2554
+ :type _request_timeout: int, tuple(int, int), optional
2555
+ :param _request_auth: set to override the auth_settings for an a single
2556
+ request; this effectively ignores the
2557
+ authentication in the spec for a single request.
2558
+ :type _request_auth: dict, optional
2559
+ :param _content_type: force content-type for the request.
2560
+ :type _content_type: str, Optional
2561
+ :param _headers: set to override the headers for a single
2562
+ request; this effectively ignores the headers
2563
+ in the spec for a single request.
2564
+ :type _headers: dict, optional
2565
+ :param _host_index: set to override the host_index for a single
2566
+ request; this effectively ignores the host_index
2567
+ in the spec for a single request.
2568
+ :type _host_index: int, optional
2569
+ :return: Returns the result object.
2570
+ """ # noqa: E501
2571
+
2572
+ _param = self._benchmark_benchmark_id_samples_identifier_get_serialize(
2573
+ benchmark_id=benchmark_id,
2574
+ identifier=identifier,
2575
+ request=request,
2576
+ _request_auth=_request_auth,
2577
+ _content_type=_content_type,
2578
+ _headers=_headers,
2579
+ _host_index=_host_index
2580
+ )
2581
+
2582
+ _response_types_map: Dict[str, Optional[str]] = {
2583
+ '200': "PagedResultOfSampleByIdentifier",
2584
+ }
2585
+ response_data = self.api_client.call_api(
2586
+ *_param,
2587
+ _request_timeout=_request_timeout
2588
+ )
2589
+ response_data.read()
2590
+ return self.api_client.response_deserialize(
2591
+ response_data=response_data,
2592
+ response_types_map=_response_types_map,
2593
+ ).data
2594
+
2595
+
2596
+ @validate_call
2597
+ def benchmark_benchmark_id_samples_identifier_get_with_http_info(
2598
+ self,
2599
+ benchmark_id: Annotated[StrictStr, Field(description="The id of the benchmark to query")],
2600
+ identifier: Annotated[StrictStr, Field(description="The identifier to filter all samples for")],
2601
+ request: Annotated[Optional[QueryModel], Field(description="additional query settings")] = None,
2602
+ _request_timeout: Union[
2603
+ None,
2604
+ Annotated[StrictFloat, Field(gt=0)],
2605
+ Tuple[
2606
+ Annotated[StrictFloat, Field(gt=0)],
2607
+ Annotated[StrictFloat, Field(gt=0)]
2608
+ ]
2609
+ ] = None,
2610
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2611
+ _content_type: Optional[StrictStr] = None,
2612
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2613
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2614
+ ) -> ApiResponse[PagedResultOfSampleByIdentifier]:
2615
+ """Returns the paged prompts of a benchmark by its ID.
2616
+
2617
+
2618
+ :param benchmark_id: The id of the benchmark to query (required)
2619
+ :type benchmark_id: str
2620
+ :param identifier: The identifier to filter all samples for (required)
2621
+ :type identifier: str
2622
+ :param request: additional query settings
2623
+ :type request: QueryModel
2624
+ :param _request_timeout: timeout setting for this request. If one
2625
+ number provided, it will be total request
2626
+ timeout. It can also be a pair (tuple) of
2627
+ (connection, read) timeouts.
2628
+ :type _request_timeout: int, tuple(int, int), optional
2629
+ :param _request_auth: set to override the auth_settings for an a single
2630
+ request; this effectively ignores the
2631
+ authentication in the spec for a single request.
2632
+ :type _request_auth: dict, optional
2633
+ :param _content_type: force content-type for the request.
2634
+ :type _content_type: str, Optional
2635
+ :param _headers: set to override the headers for a single
2636
+ request; this effectively ignores the headers
2637
+ in the spec for a single request.
2638
+ :type _headers: dict, optional
2639
+ :param _host_index: set to override the host_index for a single
2640
+ request; this effectively ignores the host_index
2641
+ in the spec for a single request.
2642
+ :type _host_index: int, optional
2643
+ :return: Returns the result object.
2644
+ """ # noqa: E501
2645
+
2646
+ _param = self._benchmark_benchmark_id_samples_identifier_get_serialize(
2647
+ benchmark_id=benchmark_id,
2648
+ identifier=identifier,
2649
+ request=request,
2650
+ _request_auth=_request_auth,
2651
+ _content_type=_content_type,
2652
+ _headers=_headers,
2653
+ _host_index=_host_index
2654
+ )
2655
+
2656
+ _response_types_map: Dict[str, Optional[str]] = {
2657
+ '200': "PagedResultOfSampleByIdentifier",
2658
+ }
2659
+ response_data = self.api_client.call_api(
2660
+ *_param,
2661
+ _request_timeout=_request_timeout
2662
+ )
2663
+ response_data.read()
2664
+ return self.api_client.response_deserialize(
2665
+ response_data=response_data,
2666
+ response_types_map=_response_types_map,
2667
+ )
2668
+
2669
+
2670
+ @validate_call
2671
+ def benchmark_benchmark_id_samples_identifier_get_without_preload_content(
2672
+ self,
2673
+ benchmark_id: Annotated[StrictStr, Field(description="The id of the benchmark to query")],
2674
+ identifier: Annotated[StrictStr, Field(description="The identifier to filter all samples for")],
2675
+ request: Annotated[Optional[QueryModel], Field(description="additional query settings")] = None,
2676
+ _request_timeout: Union[
2677
+ None,
2678
+ Annotated[StrictFloat, Field(gt=0)],
2679
+ Tuple[
2680
+ Annotated[StrictFloat, Field(gt=0)],
2681
+ Annotated[StrictFloat, Field(gt=0)]
2682
+ ]
2683
+ ] = None,
2684
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2685
+ _content_type: Optional[StrictStr] = None,
2686
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2687
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2688
+ ) -> RESTResponseType:
2689
+ """Returns the paged prompts of a benchmark by its ID.
2690
+
2691
+
2692
+ :param benchmark_id: The id of the benchmark to query (required)
2693
+ :type benchmark_id: str
2694
+ :param identifier: The identifier to filter all samples for (required)
2695
+ :type identifier: str
2696
+ :param request: additional query settings
2697
+ :type request: QueryModel
2698
+ :param _request_timeout: timeout setting for this request. If one
2699
+ number provided, it will be total request
2700
+ timeout. It can also be a pair (tuple) of
2701
+ (connection, read) timeouts.
2702
+ :type _request_timeout: int, tuple(int, int), optional
2703
+ :param _request_auth: set to override the auth_settings for an a single
2704
+ request; this effectively ignores the
2705
+ authentication in the spec for a single request.
2706
+ :type _request_auth: dict, optional
2707
+ :param _content_type: force content-type for the request.
2708
+ :type _content_type: str, Optional
2709
+ :param _headers: set to override the headers for a single
2710
+ request; this effectively ignores the headers
2711
+ in the spec for a single request.
2712
+ :type _headers: dict, optional
2713
+ :param _host_index: set to override the host_index for a single
2714
+ request; this effectively ignores the host_index
2715
+ in the spec for a single request.
2716
+ :type _host_index: int, optional
2717
+ :return: Returns the result object.
2718
+ """ # noqa: E501
2719
+
2720
+ _param = self._benchmark_benchmark_id_samples_identifier_get_serialize(
2721
+ benchmark_id=benchmark_id,
2722
+ identifier=identifier,
2723
+ request=request,
2724
+ _request_auth=_request_auth,
2725
+ _content_type=_content_type,
2726
+ _headers=_headers,
2727
+ _host_index=_host_index
2728
+ )
2729
+
2730
+ _response_types_map: Dict[str, Optional[str]] = {
2731
+ '200': "PagedResultOfSampleByIdentifier",
2732
+ }
2733
+ response_data = self.api_client.call_api(
2734
+ *_param,
2735
+ _request_timeout=_request_timeout
2736
+ )
2737
+ return response_data.response
2738
+
2739
+
2740
+ def _benchmark_benchmark_id_samples_identifier_get_serialize(
2741
+ self,
2742
+ benchmark_id,
2743
+ identifier,
2744
+ request,
2745
+ _request_auth,
2746
+ _content_type,
2747
+ _headers,
2748
+ _host_index,
2749
+ ) -> RequestSerialized:
2750
+
2751
+ _host = None
2752
+
2753
+ _collection_formats: Dict[str, str] = {
2754
+ }
2755
+
2756
+ _path_params: Dict[str, str] = {}
2757
+ _query_params: List[Tuple[str, str]] = []
2758
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2759
+ _form_params: List[Tuple[str, str]] = []
2760
+ _files: Dict[
2761
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2762
+ ] = {}
2763
+ _body_params: Optional[bytes] = None
2764
+
2765
+ # process the path parameters
2766
+ if benchmark_id is not None:
2767
+ _path_params['benchmarkId'] = benchmark_id
2768
+ if identifier is not None:
2769
+ _path_params['identifier'] = identifier
2770
+ # process the query parameters
2771
+ if request is not None:
2772
+
2773
+ _query_params.append(('request', request))
2774
+
2775
+ # process the header parameters
2776
+ # process the form parameters
2777
+ # process the body parameter
2778
+
2779
+
2780
+ # set the HTTP header `Accept`
2781
+ if 'Accept' not in _header_params:
2782
+ _header_params['Accept'] = self.api_client.select_header_accept(
2783
+ [
2784
+ 'text/plain',
2785
+ 'application/json',
2786
+ 'text/json'
2787
+ ]
2788
+ )
2789
+
2790
+
2791
+ # authentication setting
2792
+ _auth_settings: List[str] = [
2793
+ 'OAuth2',
2794
+ 'OpenIdConnect',
2795
+ 'Bearer'
2796
+ ]
2797
+
2798
+ return self.api_client.param_serialize(
2799
+ method='GET',
2800
+ resource_path='/benchmark/{benchmarkId}/samples/{identifier}',
2801
+ path_params=_path_params,
2802
+ query_params=_query_params,
2803
+ header_params=_header_params,
2804
+ body=_body_params,
2805
+ post_params=_form_params,
2806
+ files=_files,
2807
+ auth_settings=_auth_settings,
2808
+ collection_formats=_collection_formats,
2809
+ _host=_host,
2810
+ _request_auth=_request_auth
2811
+ )
2812
+
2813
+
2814
+
2815
+
2816
+ @validate_call
2817
+ def benchmark_benchmark_id_standings_get(
2818
+ self,
2819
+ benchmark_id: StrictStr,
2820
+ tags: Optional[List[StrictStr]] = None,
2821
+ participant_ids: Optional[List[StrictStr]] = None,
2822
+ leaderboard_ids: Optional[List[StrictStr]] = None,
2823
+ use_weighted_scoring: Optional[StrictBool] = None,
2824
+ include_confidence_intervals: Optional[StrictBool] = None,
2825
+ _request_timeout: Union[
2826
+ None,
2827
+ Annotated[StrictFloat, Field(gt=0)],
2828
+ Tuple[
2829
+ Annotated[StrictFloat, Field(gt=0)],
2830
+ Annotated[StrictFloat, Field(gt=0)]
2831
+ ]
2832
+ ] = None,
2833
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2834
+ _content_type: Optional[StrictStr] = None,
2835
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2836
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2837
+ ) -> StandingsByBenchmarkResult:
2838
+ """benchmark_benchmark_id_standings_get
2839
+
2840
+
2841
+ :param benchmark_id: (required)
2842
+ :type benchmark_id: str
2843
+ :param tags:
2844
+ :type tags: List[str]
2845
+ :param participant_ids:
2846
+ :type participant_ids: List[str]
2847
+ :param leaderboard_ids:
2848
+ :type leaderboard_ids: List[str]
2849
+ :param use_weighted_scoring:
2850
+ :type use_weighted_scoring: bool
2851
+ :param include_confidence_intervals:
2852
+ :type include_confidence_intervals: bool
2853
+ :param _request_timeout: timeout setting for this request. If one
2854
+ number provided, it will be total request
2855
+ timeout. It can also be a pair (tuple) of
2856
+ (connection, read) timeouts.
2857
+ :type _request_timeout: int, tuple(int, int), optional
2858
+ :param _request_auth: set to override the auth_settings for an a single
2859
+ request; this effectively ignores the
2860
+ authentication in the spec for a single request.
2861
+ :type _request_auth: dict, optional
2862
+ :param _content_type: force content-type for the request.
2863
+ :type _content_type: str, Optional
2864
+ :param _headers: set to override the headers for a single
2865
+ request; this effectively ignores the headers
2866
+ in the spec for a single request.
2867
+ :type _headers: dict, optional
2868
+ :param _host_index: set to override the host_index for a single
2869
+ request; this effectively ignores the host_index
2870
+ in the spec for a single request.
2871
+ :type _host_index: int, optional
2872
+ :return: Returns the result object.
2873
+ """ # noqa: E501
2874
+
2875
+ _param = self._benchmark_benchmark_id_standings_get_serialize(
2876
+ benchmark_id=benchmark_id,
2877
+ tags=tags,
2878
+ participant_ids=participant_ids,
2879
+ leaderboard_ids=leaderboard_ids,
2880
+ use_weighted_scoring=use_weighted_scoring,
2881
+ include_confidence_intervals=include_confidence_intervals,
2882
+ _request_auth=_request_auth,
2883
+ _content_type=_content_type,
2884
+ _headers=_headers,
2885
+ _host_index=_host_index
2886
+ )
2887
+
2888
+ _response_types_map: Dict[str, Optional[str]] = {
2889
+ '200': "StandingsByBenchmarkResult",
2890
+ }
2891
+ response_data = self.api_client.call_api(
2892
+ *_param,
2893
+ _request_timeout=_request_timeout
2894
+ )
2895
+ response_data.read()
2896
+ return self.api_client.response_deserialize(
2897
+ response_data=response_data,
2898
+ response_types_map=_response_types_map,
2899
+ ).data
2900
+
2901
+
2902
+ @validate_call
2903
+ def benchmark_benchmark_id_standings_get_with_http_info(
2904
+ self,
2905
+ benchmark_id: StrictStr,
2906
+ tags: Optional[List[StrictStr]] = None,
2907
+ participant_ids: Optional[List[StrictStr]] = None,
2908
+ leaderboard_ids: Optional[List[StrictStr]] = None,
2909
+ use_weighted_scoring: Optional[StrictBool] = None,
2910
+ include_confidence_intervals: Optional[StrictBool] = None,
2911
+ _request_timeout: Union[
2912
+ None,
2913
+ Annotated[StrictFloat, Field(gt=0)],
2914
+ Tuple[
2915
+ Annotated[StrictFloat, Field(gt=0)],
2916
+ Annotated[StrictFloat, Field(gt=0)]
2917
+ ]
2918
+ ] = None,
2919
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2920
+ _content_type: Optional[StrictStr] = None,
2921
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2922
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2923
+ ) -> ApiResponse[StandingsByBenchmarkResult]:
2924
+ """benchmark_benchmark_id_standings_get
2925
+
2926
+
2927
+ :param benchmark_id: (required)
2928
+ :type benchmark_id: str
2929
+ :param tags:
2930
+ :type tags: List[str]
2931
+ :param participant_ids:
2932
+ :type participant_ids: List[str]
2933
+ :param leaderboard_ids:
2934
+ :type leaderboard_ids: List[str]
2935
+ :param use_weighted_scoring:
2936
+ :type use_weighted_scoring: bool
2937
+ :param include_confidence_intervals:
2938
+ :type include_confidence_intervals: bool
2939
+ :param _request_timeout: timeout setting for this request. If one
2940
+ number provided, it will be total request
2941
+ timeout. It can also be a pair (tuple) of
2942
+ (connection, read) timeouts.
2943
+ :type _request_timeout: int, tuple(int, int), optional
2944
+ :param _request_auth: set to override the auth_settings for an a single
2945
+ request; this effectively ignores the
2946
+ authentication in the spec for a single request.
2947
+ :type _request_auth: dict, optional
2948
+ :param _content_type: force content-type for the request.
2949
+ :type _content_type: str, Optional
2950
+ :param _headers: set to override the headers for a single
2951
+ request; this effectively ignores the headers
2952
+ in the spec for a single request.
2953
+ :type _headers: dict, optional
2954
+ :param _host_index: set to override the host_index for a single
2955
+ request; this effectively ignores the host_index
2956
+ in the spec for a single request.
2957
+ :type _host_index: int, optional
2958
+ :return: Returns the result object.
2959
+ """ # noqa: E501
2960
+
2961
+ _param = self._benchmark_benchmark_id_standings_get_serialize(
2962
+ benchmark_id=benchmark_id,
2963
+ tags=tags,
2964
+ participant_ids=participant_ids,
2965
+ leaderboard_ids=leaderboard_ids,
2966
+ use_weighted_scoring=use_weighted_scoring,
2967
+ include_confidence_intervals=include_confidence_intervals,
2968
+ _request_auth=_request_auth,
2969
+ _content_type=_content_type,
2970
+ _headers=_headers,
2971
+ _host_index=_host_index
2972
+ )
2973
+
2974
+ _response_types_map: Dict[str, Optional[str]] = {
2975
+ '200': "StandingsByBenchmarkResult",
2976
+ }
2977
+ response_data = self.api_client.call_api(
2978
+ *_param,
2979
+ _request_timeout=_request_timeout
2980
+ )
2981
+ response_data.read()
2982
+ return self.api_client.response_deserialize(
2983
+ response_data=response_data,
2984
+ response_types_map=_response_types_map,
2985
+ )
2986
+
2987
+
2988
+ @validate_call
2989
+ def benchmark_benchmark_id_standings_get_without_preload_content(
2990
+ self,
2991
+ benchmark_id: StrictStr,
2992
+ tags: Optional[List[StrictStr]] = None,
2993
+ participant_ids: Optional[List[StrictStr]] = None,
2994
+ leaderboard_ids: Optional[List[StrictStr]] = None,
2995
+ use_weighted_scoring: Optional[StrictBool] = None,
2996
+ include_confidence_intervals: Optional[StrictBool] = None,
2997
+ _request_timeout: Union[
2998
+ None,
2999
+ Annotated[StrictFloat, Field(gt=0)],
3000
+ Tuple[
3001
+ Annotated[StrictFloat, Field(gt=0)],
3002
+ Annotated[StrictFloat, Field(gt=0)]
3003
+ ]
3004
+ ] = None,
3005
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3006
+ _content_type: Optional[StrictStr] = None,
3007
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3008
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3009
+ ) -> RESTResponseType:
3010
+ """benchmark_benchmark_id_standings_get
3011
+
3012
+
3013
+ :param benchmark_id: (required)
3014
+ :type benchmark_id: str
3015
+ :param tags:
3016
+ :type tags: List[str]
3017
+ :param participant_ids:
3018
+ :type participant_ids: List[str]
3019
+ :param leaderboard_ids:
3020
+ :type leaderboard_ids: List[str]
3021
+ :param use_weighted_scoring:
3022
+ :type use_weighted_scoring: bool
3023
+ :param include_confidence_intervals:
3024
+ :type include_confidence_intervals: bool
3025
+ :param _request_timeout: timeout setting for this request. If one
3026
+ number provided, it will be total request
3027
+ timeout. It can also be a pair (tuple) of
3028
+ (connection, read) timeouts.
3029
+ :type _request_timeout: int, tuple(int, int), optional
3030
+ :param _request_auth: set to override the auth_settings for an a single
3031
+ request; this effectively ignores the
3032
+ authentication in the spec for a single request.
3033
+ :type _request_auth: dict, optional
3034
+ :param _content_type: force content-type for the request.
3035
+ :type _content_type: str, Optional
3036
+ :param _headers: set to override the headers for a single
3037
+ request; this effectively ignores the headers
3038
+ in the spec for a single request.
3039
+ :type _headers: dict, optional
3040
+ :param _host_index: set to override the host_index for a single
3041
+ request; this effectively ignores the host_index
3042
+ in the spec for a single request.
3043
+ :type _host_index: int, optional
3044
+ :return: Returns the result object.
3045
+ """ # noqa: E501
3046
+
3047
+ _param = self._benchmark_benchmark_id_standings_get_serialize(
3048
+ benchmark_id=benchmark_id,
3049
+ tags=tags,
3050
+ participant_ids=participant_ids,
3051
+ leaderboard_ids=leaderboard_ids,
3052
+ use_weighted_scoring=use_weighted_scoring,
3053
+ include_confidence_intervals=include_confidence_intervals,
3054
+ _request_auth=_request_auth,
3055
+ _content_type=_content_type,
3056
+ _headers=_headers,
3057
+ _host_index=_host_index
3058
+ )
3059
+
3060
+ _response_types_map: Dict[str, Optional[str]] = {
3061
+ '200': "StandingsByBenchmarkResult",
3062
+ }
3063
+ response_data = self.api_client.call_api(
3064
+ *_param,
3065
+ _request_timeout=_request_timeout
3066
+ )
3067
+ return response_data.response
3068
+
3069
+
3070
+ def _benchmark_benchmark_id_standings_get_serialize(
3071
+ self,
3072
+ benchmark_id,
3073
+ tags,
3074
+ participant_ids,
3075
+ leaderboard_ids,
3076
+ use_weighted_scoring,
3077
+ include_confidence_intervals,
3078
+ _request_auth,
3079
+ _content_type,
3080
+ _headers,
3081
+ _host_index,
3082
+ ) -> RequestSerialized:
3083
+
3084
+ _host = None
3085
+
3086
+ _collection_formats: Dict[str, str] = {
3087
+ 'tags': 'multi',
3088
+ 'participantIds': 'multi',
3089
+ 'leaderboardIds': 'multi',
3090
+ }
3091
+
3092
+ _path_params: Dict[str, str] = {}
3093
+ _query_params: List[Tuple[str, str]] = []
3094
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3095
+ _form_params: List[Tuple[str, str]] = []
3096
+ _files: Dict[
3097
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3098
+ ] = {}
3099
+ _body_params: Optional[bytes] = None
3100
+
3101
+ # process the path parameters
3102
+ if benchmark_id is not None:
3103
+ _path_params['benchmarkId'] = benchmark_id
3104
+ # process the query parameters
3105
+ if tags is not None:
3106
+
3107
+ _query_params.append(('tags', tags))
3108
+
3109
+ if participant_ids is not None:
3110
+
3111
+ _query_params.append(('participantIds', participant_ids))
3112
+
3113
+ if leaderboard_ids is not None:
3114
+
3115
+ _query_params.append(('leaderboardIds', leaderboard_ids))
3116
+
3117
+ if use_weighted_scoring is not None:
3118
+
3119
+ _query_params.append(('useWeightedScoring', use_weighted_scoring))
3120
+
3121
+ if include_confidence_intervals is not None:
3122
+
3123
+ _query_params.append(('includeConfidenceIntervals', include_confidence_intervals))
3124
+
3125
+ # process the header parameters
3126
+ # process the form parameters
3127
+ # process the body parameter
3128
+
3129
+
3130
+ # set the HTTP header `Accept`
3131
+ if 'Accept' not in _header_params:
3132
+ _header_params['Accept'] = self.api_client.select_header_accept(
3133
+ [
3134
+ 'text/plain',
3135
+ 'application/json',
3136
+ 'text/json'
3137
+ ]
3138
+ )
3139
+
3140
+
3141
+ # authentication setting
3142
+ _auth_settings: List[str] = [
3143
+ 'OAuth2',
3144
+ 'OpenIdConnect',
3145
+ 'Bearer'
3146
+ ]
3147
+
3148
+ return self.api_client.param_serialize(
3149
+ method='GET',
3150
+ resource_path='/benchmark/{benchmarkId}/standings',
3151
+ path_params=_path_params,
3152
+ query_params=_query_params,
3153
+ header_params=_header_params,
3154
+ body=_body_params,
3155
+ post_params=_form_params,
3156
+ files=_files,
3157
+ auth_settings=_auth_settings,
3158
+ collection_formats=_collection_formats,
3159
+ _host=_host,
3160
+ _request_auth=_request_auth
3161
+ )
3162
+
3163
+
3164
+
3165
+
2510
3166
  @validate_call
2511
3167
  def benchmark_benchmark_id_tags_get(
2512
3168
  self,
@@ -2746,8 +3402,9 @@ class BenchmarkApi:
2746
3402
 
2747
3403
  # authentication setting
2748
3404
  _auth_settings: List[str] = [
2749
- 'bearer',
2750
- 'oauth2'
3405
+ 'OAuth2',
3406
+ 'OpenIdConnect',
3407
+ 'Bearer'
2751
3408
  ]
2752
3409
 
2753
3410
  return self.api_client.param_serialize(
@@ -2771,7 +3428,7 @@ class BenchmarkApi:
2771
3428
  @validate_call
2772
3429
  def benchmark_post(
2773
3430
  self,
2774
- create_benchmark_model: Optional[CreateBenchmarkModel] = None,
3431
+ create_benchmark_model: CreateBenchmarkModel,
2775
3432
  _request_timeout: Union[
2776
3433
  None,
2777
3434
  Annotated[StrictFloat, Field(gt=0)],
@@ -2788,7 +3445,7 @@ class BenchmarkApi:
2788
3445
  """Creates a benchmark
2789
3446
 
2790
3447
 
2791
- :param create_benchmark_model:
3448
+ :param create_benchmark_model: (required)
2792
3449
  :type create_benchmark_model: CreateBenchmarkModel
2793
3450
  :param _request_timeout: timeout setting for this request. If one
2794
3451
  number provided, it will be total request
@@ -2837,7 +3494,7 @@ class BenchmarkApi:
2837
3494
  @validate_call
2838
3495
  def benchmark_post_with_http_info(
2839
3496
  self,
2840
- create_benchmark_model: Optional[CreateBenchmarkModel] = None,
3497
+ create_benchmark_model: CreateBenchmarkModel,
2841
3498
  _request_timeout: Union[
2842
3499
  None,
2843
3500
  Annotated[StrictFloat, Field(gt=0)],
@@ -2854,7 +3511,7 @@ class BenchmarkApi:
2854
3511
  """Creates a benchmark
2855
3512
 
2856
3513
 
2857
- :param create_benchmark_model:
3514
+ :param create_benchmark_model: (required)
2858
3515
  :type create_benchmark_model: CreateBenchmarkModel
2859
3516
  :param _request_timeout: timeout setting for this request. If one
2860
3517
  number provided, it will be total request
@@ -2903,7 +3560,7 @@ class BenchmarkApi:
2903
3560
  @validate_call
2904
3561
  def benchmark_post_without_preload_content(
2905
3562
  self,
2906
- create_benchmark_model: Optional[CreateBenchmarkModel] = None,
3563
+ create_benchmark_model: CreateBenchmarkModel,
2907
3564
  _request_timeout: Union[
2908
3565
  None,
2909
3566
  Annotated[StrictFloat, Field(gt=0)],
@@ -2920,7 +3577,7 @@ class BenchmarkApi:
2920
3577
  """Creates a benchmark
2921
3578
 
2922
3579
 
2923
- :param create_benchmark_model:
3580
+ :param create_benchmark_model: (required)
2924
3581
  :type create_benchmark_model: CreateBenchmarkModel
2925
3582
  :param _request_timeout: timeout setting for this request. If one
2926
3583
  number provided, it will be total request
@@ -3022,8 +3679,9 @@ class BenchmarkApi:
3022
3679
 
3023
3680
  # authentication setting
3024
3681
  _auth_settings: List[str] = [
3025
- 'bearer',
3026
- 'oauth2'
3682
+ 'OAuth2',
3683
+ 'OpenIdConnect',
3684
+ 'Bearer'
3027
3685
  ]
3028
3686
 
3029
3687
  return self.api_client.param_serialize(
@@ -3060,7 +3718,7 @@ class BenchmarkApi:
3060
3718
  _content_type: Optional[StrictStr] = None,
3061
3719
  _headers: Optional[Dict[StrictStr, Any]] = None,
3062
3720
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3063
- ) -> BenchmarkQueryResultPagedResult:
3721
+ ) -> PagedResultOfBenchmarkQueryResult:
3064
3722
  """Queries all benchmarks of the user.
3065
3723
 
3066
3724
 
@@ -3097,7 +3755,7 @@ class BenchmarkApi:
3097
3755
  )
3098
3756
 
3099
3757
  _response_types_map: Dict[str, Optional[str]] = {
3100
- '200': "BenchmarkQueryResultPagedResult",
3758
+ '200': "PagedResultOfBenchmarkQueryResult",
3101
3759
  }
3102
3760
  response_data = self.api_client.call_api(
3103
3761
  *_param,
@@ -3126,7 +3784,7 @@ class BenchmarkApi:
3126
3784
  _content_type: Optional[StrictStr] = None,
3127
3785
  _headers: Optional[Dict[StrictStr, Any]] = None,
3128
3786
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3129
- ) -> ApiResponse[BenchmarkQueryResultPagedResult]:
3787
+ ) -> ApiResponse[PagedResultOfBenchmarkQueryResult]:
3130
3788
  """Queries all benchmarks of the user.
3131
3789
 
3132
3790
 
@@ -3163,7 +3821,7 @@ class BenchmarkApi:
3163
3821
  )
3164
3822
 
3165
3823
  _response_types_map: Dict[str, Optional[str]] = {
3166
- '200': "BenchmarkQueryResultPagedResult",
3824
+ '200': "PagedResultOfBenchmarkQueryResult",
3167
3825
  }
3168
3826
  response_data = self.api_client.call_api(
3169
3827
  *_param,
@@ -3229,7 +3887,7 @@ class BenchmarkApi:
3229
3887
  )
3230
3888
 
3231
3889
  _response_types_map: Dict[str, Optional[str]] = {
3232
- '200': "BenchmarkQueryResultPagedResult",
3890
+ '200': "PagedResultOfBenchmarkQueryResult",
3233
3891
  }
3234
3892
  response_data = self.api_client.call_api(
3235
3893
  *_param,
@@ -3285,8 +3943,9 @@ class BenchmarkApi:
3285
3943
 
3286
3944
  # authentication setting
3287
3945
  _auth_settings: List[str] = [
3288
- 'bearer',
3289
- 'oauth2'
3946
+ 'OAuth2',
3947
+ 'OpenIdConnect',
3948
+ 'Bearer'
3290
3949
  ]
3291
3950
 
3292
3951
  return self.api_client.param_serialize(