eval-studio-client 1.0.3a1__py3-none-any.whl → 1.1.0a6__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.
Files changed (592) hide show
  1. eval_studio_client/api/__init__.py +83 -1
  2. eval_studio_client/api/api/__init__.py +8 -0
  3. eval_studio_client/api/api/adversarial_inputs_service_api.py +321 -0
  4. eval_studio_client/api/api/dashboard_service_api.py +18 -1
  5. eval_studio_client/api/api/document_service_api.py +1 -1
  6. eval_studio_client/api/api/evaluation_service_api.py +1 -1
  7. eval_studio_client/api/api/evaluator_service_api.py +1 -1
  8. eval_studio_client/api/api/human_calibration_service_api.py +304 -0
  9. eval_studio_client/api/api/info_service_api.py +1 -1
  10. eval_studio_client/api/api/leaderboard_report_service_api.py +292 -0
  11. eval_studio_client/api/api/leaderboard_service_api.py +17 -17
  12. eval_studio_client/api/api/model_service_api.py +17 -17
  13. eval_studio_client/api/api/operation_progress_service_api.py +1 -1
  14. eval_studio_client/api/api/operation_service_api.py +272 -17
  15. eval_studio_client/api/api/perturbation_service_api.py +1 -1
  16. eval_studio_client/api/api/perturbator_service_api.py +285 -18
  17. eval_studio_client/api/api/prompt_generation_service_api.py +1 -1
  18. eval_studio_client/api/api/prompt_library_service_api.py +669 -0
  19. eval_studio_client/api/api/test_case_relationship_service_api.py +292 -0
  20. eval_studio_client/api/api/test_case_service_api.py +17 -17
  21. eval_studio_client/api/api/test_class_service_api.py +17 -17
  22. eval_studio_client/api/api/test_lab_service_api.py +1 -1
  23. eval_studio_client/api/api/test_service_api.py +1272 -102
  24. eval_studio_client/api/api/who_am_i_service_api.py +1 -1
  25. eval_studio_client/api/api/workflow_edge_service_api.py +835 -0
  26. eval_studio_client/api/api/workflow_node_service_api.py +2431 -0
  27. eval_studio_client/api/api/workflow_service_api.py +2403 -0
  28. eval_studio_client/api/api_client.py +1 -1
  29. eval_studio_client/api/configuration.py +1 -1
  30. eval_studio_client/api/docs/AdversarialInputsServiceApi.md +78 -0
  31. eval_studio_client/api/docs/AdversarialInputsServiceTestAdversarialInputsRobustnessRequest.md +45 -0
  32. eval_studio_client/api/docs/DashboardServiceApi.md +4 -2
  33. eval_studio_client/api/docs/HumanCalibrationServiceApi.md +77 -0
  34. eval_studio_client/api/docs/LeaderboardReportServiceApi.md +75 -0
  35. eval_studio_client/api/docs/LeaderboardServiceApi.md +5 -5
  36. eval_studio_client/api/docs/ModelServiceApi.md +5 -5
  37. eval_studio_client/api/docs/OperationServiceApi.md +72 -5
  38. eval_studio_client/api/docs/PerturbationServiceCreatePerturbationRequest.md +1 -0
  39. eval_studio_client/api/docs/PerturbatorServiceApi.md +38 -8
  40. eval_studio_client/api/docs/PromptGenerationServiceAutoGeneratePromptsRequest.md +4 -2
  41. eval_studio_client/api/docs/PromptLibraryServiceApi.md +155 -0
  42. eval_studio_client/api/docs/ProtobufNullValue.md +12 -0
  43. eval_studio_client/api/docs/RequiredTheDashboardToUpdate.md +1 -0
  44. eval_studio_client/api/docs/RequiredTheTestCaseToUpdate.md +3 -0
  45. eval_studio_client/api/docs/RequiredTheTestToUpdate.md +1 -0
  46. eval_studio_client/api/docs/RequiredTheUpdatedWorkflow.md +47 -0
  47. eval_studio_client/api/docs/RequiredTheUpdatedWorkflowNode.md +44 -0
  48. eval_studio_client/api/docs/TestCaseRelationshipServiceApi.md +75 -0
  49. eval_studio_client/api/docs/TestCaseServiceApi.md +5 -5
  50. eval_studio_client/api/docs/TestClassServiceApi.md +5 -5
  51. eval_studio_client/api/docs/TestServiceApi.md +293 -9
  52. eval_studio_client/api/docs/TestServiceCloneTestRequest.md +30 -0
  53. eval_studio_client/api/docs/TestServiceGenerateTestCasesRequest.md +3 -1
  54. eval_studio_client/api/docs/TestServiceImportTestCasesFromLibraryRequest.md +32 -0
  55. eval_studio_client/api/docs/TestServiceListTestCaseLibraryItemsRequest.md +35 -0
  56. eval_studio_client/api/docs/TestServicePerturbTestInPlaceRequest.md +30 -0
  57. eval_studio_client/api/docs/TestServicePerturbTestRequest.md +1 -0
  58. eval_studio_client/api/docs/V1AbortOperationResponse.md +29 -0
  59. eval_studio_client/api/docs/V1BatchDeleteWorkflowsRequest.md +29 -0
  60. eval_studio_client/api/docs/V1BatchDeleteWorkflowsResponse.md +29 -0
  61. eval_studio_client/api/docs/V1BatchGetWorkflowEdgesResponse.md +29 -0
  62. eval_studio_client/api/docs/V1BatchGetWorkflowNodesResponse.md +29 -0
  63. eval_studio_client/api/docs/V1CloneTestResponse.md +29 -0
  64. eval_studio_client/api/docs/V1CloneWorkflowResponse.md +29 -0
  65. eval_studio_client/api/docs/V1Context.md +37 -0
  66. eval_studio_client/api/docs/V1CreateEvaluationRequest.md +1 -0
  67. eval_studio_client/api/docs/V1CreateWorkflowEdgeResponse.md +29 -0
  68. eval_studio_client/api/docs/V1CreateWorkflowNodeResponse.md +29 -0
  69. eval_studio_client/api/docs/V1CreateWorkflowResponse.md +29 -0
  70. eval_studio_client/api/docs/V1Dashboard.md +1 -0
  71. eval_studio_client/api/docs/V1DashboardType.md +12 -0
  72. eval_studio_client/api/docs/V1DeleteWorkflowEdgeResponse.md +29 -0
  73. eval_studio_client/api/docs/V1DeleteWorkflowNodeResponse.md +29 -0
  74. eval_studio_client/api/docs/V1DeleteWorkflowResponse.md +29 -0
  75. eval_studio_client/api/docs/V1DependencyList.md +30 -0
  76. eval_studio_client/api/docs/V1EstimateThresholdRequest.md +33 -0
  77. eval_studio_client/api/docs/V1Evaluator.md +2 -0
  78. eval_studio_client/api/docs/V1GetGuardrailsConfigurationResponse.md +29 -0
  79. eval_studio_client/api/docs/V1GetLeaderboardReportResponse.md +29 -0
  80. eval_studio_client/api/docs/V1GetWorkflowNodePrerequisitesResponse.md +30 -0
  81. eval_studio_client/api/docs/V1GetWorkflowNodeResponse.md +29 -0
  82. eval_studio_client/api/docs/V1GetWorkflowResponse.md +29 -0
  83. eval_studio_client/api/docs/V1ImportEvaluationRequest.md +1 -0
  84. eval_studio_client/api/docs/V1ImportTestCasesFromLibraryResponse.md +29 -0
  85. eval_studio_client/api/docs/V1ImportTestCasesRequest.md +33 -0
  86. eval_studio_client/api/docs/V1Info.md +3 -0
  87. eval_studio_client/api/docs/V1InitWorkflowNodeResponse.md +29 -0
  88. eval_studio_client/api/docs/V1LabeledTestCase.md +31 -0
  89. eval_studio_client/api/docs/V1LeaderboardReport.md +32 -0
  90. eval_studio_client/api/docs/V1LeaderboardReportActualOutputData.md +31 -0
  91. eval_studio_client/api/docs/V1LeaderboardReportActualOutputMeta.md +31 -0
  92. eval_studio_client/api/docs/V1LeaderboardReportEvaluator.md +42 -0
  93. eval_studio_client/api/docs/V1LeaderboardReportEvaluatorParameter.md +38 -0
  94. eval_studio_client/api/docs/V1LeaderboardReportExplanation.md +34 -0
  95. eval_studio_client/api/docs/V1LeaderboardReportMetricsMetaEntry.md +41 -0
  96. eval_studio_client/api/docs/V1LeaderboardReportModel.md +37 -0
  97. eval_studio_client/api/docs/V1LeaderboardReportResult.md +45 -0
  98. eval_studio_client/api/docs/V1LeaderboardReportResultRelationship.md +32 -0
  99. eval_studio_client/api/docs/V1ListPromptLibraryItemsResponse.md +29 -0
  100. eval_studio_client/api/docs/V1ListTestCaseLibraryItemsResponse.md +29 -0
  101. eval_studio_client/api/docs/V1ListTestCaseRelationshipsResponse.md +29 -0
  102. eval_studio_client/api/docs/V1ListWorkflowDependenciesResponse.md +30 -0
  103. eval_studio_client/api/docs/V1ListWorkflowsResponse.md +29 -0
  104. eval_studio_client/api/docs/V1MetricScore.md +31 -0
  105. eval_studio_client/api/docs/V1MetricScores.md +29 -0
  106. eval_studio_client/api/docs/V1PerturbTestInPlaceResponse.md +29 -0
  107. eval_studio_client/api/docs/V1ProcessWorkflowNodeResponse.md +29 -0
  108. eval_studio_client/api/docs/V1PromptLibraryItem.md +42 -0
  109. eval_studio_client/api/docs/V1RepeatedContext.md +29 -0
  110. eval_studio_client/api/docs/V1RepeatedString.md +29 -0
  111. eval_studio_client/api/docs/V1ResetWorkflowNodeResponse.md +29 -0
  112. eval_studio_client/api/docs/V1Test.md +1 -0
  113. eval_studio_client/api/docs/V1TestCase.md +3 -0
  114. eval_studio_client/api/docs/V1TestSuiteEvaluates.md +11 -0
  115. eval_studio_client/api/docs/V1TestType.md +12 -0
  116. eval_studio_client/api/docs/V1UpdateWorkflowNodeResponse.md +29 -0
  117. eval_studio_client/api/docs/V1UpdateWorkflowResponse.md +29 -0
  118. eval_studio_client/api/docs/V1Workflow.md +49 -0
  119. eval_studio_client/api/docs/V1WorkflowDependency.md +30 -0
  120. eval_studio_client/api/docs/V1WorkflowEdge.md +40 -0
  121. eval_studio_client/api/docs/V1WorkflowEdgeType.md +12 -0
  122. eval_studio_client/api/docs/V1WorkflowNode.md +46 -0
  123. eval_studio_client/api/docs/V1WorkflowNodeArtifact.md +41 -0
  124. eval_studio_client/api/docs/V1WorkflowNodeArtifacts.md +29 -0
  125. eval_studio_client/api/docs/V1WorkflowNodeAttributes.md +30 -0
  126. eval_studio_client/api/docs/V1WorkflowNodeStatus.md +12 -0
  127. eval_studio_client/api/docs/V1WorkflowNodeType.md +12 -0
  128. eval_studio_client/api/docs/V1WorkflowNodeView.md +12 -0
  129. eval_studio_client/api/docs/V1WorkflowType.md +12 -0
  130. eval_studio_client/api/docs/WorkflowEdgeServiceApi.md +215 -0
  131. eval_studio_client/api/docs/WorkflowNodeServiceApi.md +632 -0
  132. eval_studio_client/api/docs/WorkflowServiceApi.md +623 -0
  133. eval_studio_client/api/docs/WorkflowServiceCloneWorkflowRequest.md +33 -0
  134. eval_studio_client/api/exceptions.py +1 -1
  135. eval_studio_client/api/models/__init__.py +75 -1
  136. eval_studio_client/api/models/adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +143 -0
  137. eval_studio_client/api/models/perturbation_service_create_perturbation_request.py +9 -3
  138. eval_studio_client/api/models/prompt_generation_service_auto_generate_prompts_request.py +18 -6
  139. eval_studio_client/api/models/protobuf_any.py +1 -1
  140. eval_studio_client/api/models/protobuf_null_value.py +36 -0
  141. eval_studio_client/api/models/required_the_dashboard_to_update.py +6 -3
  142. eval_studio_client/api/models/required_the_document_to_update.py +1 -1
  143. eval_studio_client/api/models/required_the_leaderboard_to_update.py +1 -1
  144. eval_studio_client/api/models/required_the_model_to_update.py +1 -1
  145. eval_studio_client/api/models/required_the_operation_to_finalize.py +1 -1
  146. eval_studio_client/api/models/required_the_operation_to_update.py +1 -1
  147. eval_studio_client/api/models/required_the_test_case_to_update.py +14 -3
  148. eval_studio_client/api/models/required_the_test_to_update.py +6 -3
  149. eval_studio_client/api/models/required_the_updated_workflow.py +160 -0
  150. eval_studio_client/api/models/required_the_updated_workflow_node.py +152 -0
  151. eval_studio_client/api/models/rpc_status.py +1 -1
  152. eval_studio_client/api/models/test_case_service_batch_delete_test_cases_request.py +1 -1
  153. eval_studio_client/api/models/test_service_clone_test_request.py +89 -0
  154. eval_studio_client/api/models/test_service_generate_test_cases_request.py +16 -4
  155. eval_studio_client/api/models/test_service_import_test_cases_from_library_request.py +93 -0
  156. eval_studio_client/api/models/test_service_list_test_case_library_items_request.py +99 -0
  157. eval_studio_client/api/models/test_service_perturb_test_in_place_request.py +97 -0
  158. eval_studio_client/api/models/test_service_perturb_test_request.py +5 -3
  159. eval_studio_client/api/models/v1_abort_operation_response.py +91 -0
  160. eval_studio_client/api/models/v1_batch_create_leaderboards_request.py +1 -1
  161. eval_studio_client/api/models/v1_batch_create_leaderboards_response.py +1 -1
  162. eval_studio_client/api/models/v1_batch_delete_dashboards_request.py +1 -1
  163. eval_studio_client/api/models/v1_batch_delete_dashboards_response.py +1 -1
  164. eval_studio_client/api/models/v1_batch_delete_documents_request.py +1 -1
  165. eval_studio_client/api/models/v1_batch_delete_documents_response.py +1 -1
  166. eval_studio_client/api/models/v1_batch_delete_evaluators_request.py +1 -1
  167. eval_studio_client/api/models/v1_batch_delete_evaluators_response.py +1 -1
  168. eval_studio_client/api/models/v1_batch_delete_leaderboards_request.py +1 -1
  169. eval_studio_client/api/models/v1_batch_delete_leaderboards_response.py +1 -1
  170. eval_studio_client/api/models/v1_batch_delete_models_request.py +1 -1
  171. eval_studio_client/api/models/v1_batch_delete_models_response.py +1 -1
  172. eval_studio_client/api/models/v1_batch_delete_test_cases_response.py +1 -1
  173. eval_studio_client/api/models/v1_batch_delete_tests_request.py +1 -1
  174. eval_studio_client/api/models/v1_batch_delete_tests_response.py +1 -1
  175. eval_studio_client/api/models/v1_batch_delete_workflows_request.py +87 -0
  176. eval_studio_client/api/models/v1_batch_delete_workflows_response.py +95 -0
  177. eval_studio_client/api/models/v1_batch_get_dashboards_response.py +1 -1
  178. eval_studio_client/api/models/v1_batch_get_documents_response.py +1 -1
  179. eval_studio_client/api/models/v1_batch_get_leaderboards_response.py +1 -1
  180. eval_studio_client/api/models/v1_batch_get_models_response.py +1 -1
  181. eval_studio_client/api/models/v1_batch_get_operations_response.py +1 -1
  182. eval_studio_client/api/models/v1_batch_get_tests_response.py +1 -1
  183. eval_studio_client/api/models/v1_batch_get_workflow_edges_response.py +95 -0
  184. eval_studio_client/api/models/v1_batch_get_workflow_nodes_response.py +95 -0
  185. eval_studio_client/api/models/v1_batch_import_leaderboard_request.py +1 -1
  186. eval_studio_client/api/models/v1_batch_import_leaderboard_response.py +1 -1
  187. eval_studio_client/api/models/v1_batch_import_tests_request.py +1 -1
  188. eval_studio_client/api/models/v1_batch_import_tests_response.py +1 -1
  189. eval_studio_client/api/models/v1_check_base_models_response.py +1 -1
  190. eval_studio_client/api/models/v1_clone_test_response.py +91 -0
  191. eval_studio_client/api/models/v1_clone_workflow_response.py +91 -0
  192. eval_studio_client/api/models/v1_collection_info.py +1 -1
  193. eval_studio_client/api/models/v1_context.py +103 -0
  194. eval_studio_client/api/models/v1_create_dashboard_response.py +1 -1
  195. eval_studio_client/api/models/v1_create_document_response.py +1 -1
  196. eval_studio_client/api/models/v1_create_evaluation_request.py +8 -3
  197. eval_studio_client/api/models/v1_create_evaluator_response.py +1 -1
  198. eval_studio_client/api/models/v1_create_leaderboard_request.py +1 -1
  199. eval_studio_client/api/models/v1_create_leaderboard_response.py +1 -1
  200. eval_studio_client/api/models/v1_create_leaderboard_without_cache_response.py +1 -1
  201. eval_studio_client/api/models/v1_create_model_response.py +1 -1
  202. eval_studio_client/api/models/v1_create_perturbation_response.py +1 -1
  203. eval_studio_client/api/models/v1_create_test_case_response.py +1 -1
  204. eval_studio_client/api/models/v1_create_test_lab_response.py +1 -1
  205. eval_studio_client/api/models/v1_create_test_response.py +1 -1
  206. eval_studio_client/api/models/v1_create_workflow_edge_response.py +91 -0
  207. eval_studio_client/api/models/v1_create_workflow_node_response.py +91 -0
  208. eval_studio_client/api/models/v1_create_workflow_response.py +91 -0
  209. eval_studio_client/api/models/v1_dashboard.py +6 -3
  210. eval_studio_client/api/models/v1_dashboard_status.py +1 -1
  211. eval_studio_client/api/models/v1_dashboard_type.py +38 -0
  212. eval_studio_client/api/models/v1_delete_dashboard_response.py +1 -1
  213. eval_studio_client/api/models/v1_delete_document_response.py +1 -1
  214. eval_studio_client/api/models/v1_delete_evaluator_response.py +1 -1
  215. eval_studio_client/api/models/v1_delete_leaderboard_response.py +1 -1
  216. eval_studio_client/api/models/v1_delete_model_response.py +1 -1
  217. eval_studio_client/api/models/v1_delete_test_case_response.py +1 -1
  218. eval_studio_client/api/models/v1_delete_test_response.py +1 -1
  219. eval_studio_client/api/models/v1_delete_workflow_edge_response.py +91 -0
  220. eval_studio_client/api/models/v1_delete_workflow_node_response.py +91 -0
  221. eval_studio_client/api/models/v1_delete_workflow_response.py +91 -0
  222. eval_studio_client/api/models/v1_dependency_list.py +97 -0
  223. eval_studio_client/api/models/v1_document.py +1 -1
  224. eval_studio_client/api/models/v1_estimate_threshold_request.py +103 -0
  225. eval_studio_client/api/models/v1_evaluation_test.py +1 -1
  226. eval_studio_client/api/models/v1_evaluator.py +12 -4
  227. eval_studio_client/api/models/v1_evaluator_param_type.py +1 -1
  228. eval_studio_client/api/models/v1_evaluator_parameter.py +1 -1
  229. eval_studio_client/api/models/v1_evaluator_view.py +1 -1
  230. eval_studio_client/api/models/v1_finalize_operation_response.py +1 -1
  231. eval_studio_client/api/models/v1_find_all_test_cases_by_id_response.py +1 -1
  232. eval_studio_client/api/models/v1_find_test_lab_response.py +1 -1
  233. eval_studio_client/api/models/v1_generate_test_cases_response.py +1 -1
  234. eval_studio_client/api/models/v1_get_dashboard_response.py +1 -1
  235. eval_studio_client/api/models/v1_get_document_response.py +1 -1
  236. eval_studio_client/api/models/v1_get_evaluator_response.py +1 -1
  237. eval_studio_client/api/models/v1_get_guardrails_configuration_response.py +87 -0
  238. eval_studio_client/api/models/v1_get_info_response.py +1 -1
  239. eval_studio_client/api/models/v1_get_leaderboard_report_response.py +91 -0
  240. eval_studio_client/api/models/v1_get_leaderboard_response.py +1 -1
  241. eval_studio_client/api/models/v1_get_model_response.py +1 -1
  242. eval_studio_client/api/models/v1_get_operation_progress_by_parent_response.py +1 -1
  243. eval_studio_client/api/models/v1_get_operation_response.py +1 -1
  244. eval_studio_client/api/models/v1_get_perturbator_response.py +1 -1
  245. eval_studio_client/api/models/v1_get_test_case_response.py +1 -1
  246. eval_studio_client/api/models/v1_get_test_class_response.py +1 -1
  247. eval_studio_client/api/models/v1_get_test_response.py +1 -1
  248. eval_studio_client/api/models/v1_get_workflow_node_prerequisites_response.py +89 -0
  249. eval_studio_client/api/models/v1_get_workflow_node_response.py +91 -0
  250. eval_studio_client/api/models/v1_get_workflow_response.py +91 -0
  251. eval_studio_client/api/models/v1_import_evaluation_request.py +8 -3
  252. eval_studio_client/api/models/v1_import_leaderboard_request.py +1 -1
  253. eval_studio_client/api/models/v1_import_leaderboard_response.py +1 -1
  254. eval_studio_client/api/models/v1_import_test_cases_from_library_response.py +91 -0
  255. eval_studio_client/api/models/v1_import_test_cases_request.py +95 -0
  256. eval_studio_client/api/models/v1_info.py +10 -4
  257. eval_studio_client/api/models/v1_init_workflow_node_response.py +91 -0
  258. eval_studio_client/api/models/v1_insight.py +1 -1
  259. eval_studio_client/api/models/v1_labeled_test_case.py +91 -0
  260. eval_studio_client/api/models/v1_leaderboard.py +1 -1
  261. eval_studio_client/api/models/v1_leaderboard_report.py +115 -0
  262. eval_studio_client/api/models/v1_leaderboard_report_actual_output_data.py +93 -0
  263. eval_studio_client/api/models/v1_leaderboard_report_actual_output_meta.py +101 -0
  264. eval_studio_client/api/models/v1_leaderboard_report_evaluator.py +155 -0
  265. eval_studio_client/api/models/v1_leaderboard_report_evaluator_parameter.py +109 -0
  266. eval_studio_client/api/models/v1_leaderboard_report_explanation.py +103 -0
  267. eval_studio_client/api/models/v1_leaderboard_report_metrics_meta_entry.py +129 -0
  268. eval_studio_client/api/models/v1_leaderboard_report_model.py +113 -0
  269. eval_studio_client/api/models/v1_leaderboard_report_result.py +175 -0
  270. eval_studio_client/api/models/v1_leaderboard_report_result_relationship.py +97 -0
  271. eval_studio_client/api/models/v1_leaderboard_status.py +1 -1
  272. eval_studio_client/api/models/v1_leaderboard_type.py +1 -1
  273. eval_studio_client/api/models/v1_leaderboard_view.py +1 -1
  274. eval_studio_client/api/models/v1_list_base_models_response.py +1 -1
  275. eval_studio_client/api/models/v1_list_dashboards_response.py +1 -1
  276. eval_studio_client/api/models/v1_list_documents_response.py +1 -1
  277. eval_studio_client/api/models/v1_list_evaluators_response.py +1 -1
  278. eval_studio_client/api/models/v1_list_leaderboards_response.py +1 -1
  279. eval_studio_client/api/models/v1_list_llm_models_response.py +1 -1
  280. eval_studio_client/api/models/v1_list_model_collections_response.py +1 -1
  281. eval_studio_client/api/models/v1_list_models_response.py +1 -1
  282. eval_studio_client/api/models/v1_list_most_recent_dashboards_response.py +1 -1
  283. eval_studio_client/api/models/v1_list_most_recent_leaderboards_response.py +1 -1
  284. eval_studio_client/api/models/v1_list_most_recent_models_response.py +1 -1
  285. eval_studio_client/api/models/v1_list_most_recent_tests_response.py +1 -1
  286. eval_studio_client/api/models/v1_list_operations_response.py +1 -1
  287. eval_studio_client/api/models/v1_list_perturbators_response.py +1 -1
  288. eval_studio_client/api/models/v1_list_prompt_library_items_response.py +95 -0
  289. eval_studio_client/api/models/v1_list_rag_collections_response.py +1 -1
  290. eval_studio_client/api/models/v1_list_test_case_library_items_response.py +95 -0
  291. eval_studio_client/api/models/v1_list_test_case_relationships_response.py +95 -0
  292. eval_studio_client/api/models/v1_list_test_cases_response.py +1 -1
  293. eval_studio_client/api/models/v1_list_test_classes_response.py +1 -1
  294. eval_studio_client/api/models/v1_list_tests_response.py +1 -1
  295. eval_studio_client/api/models/v1_list_workflow_dependencies_response.py +105 -0
  296. eval_studio_client/api/models/v1_list_workflows_response.py +95 -0
  297. eval_studio_client/api/models/v1_metric_score.py +89 -0
  298. eval_studio_client/api/models/v1_metric_scores.py +95 -0
  299. eval_studio_client/api/models/v1_model.py +1 -1
  300. eval_studio_client/api/models/v1_model_type.py +1 -1
  301. eval_studio_client/api/models/v1_operation.py +1 -1
  302. eval_studio_client/api/models/v1_operation_progress.py +1 -1
  303. eval_studio_client/api/models/v1_perturb_test_in_place_response.py +91 -0
  304. eval_studio_client/api/models/v1_perturb_test_response.py +1 -1
  305. eval_studio_client/api/models/v1_perturbator.py +1 -1
  306. eval_studio_client/api/models/v1_perturbator_configuration.py +1 -1
  307. eval_studio_client/api/models/v1_perturbator_intensity.py +1 -1
  308. eval_studio_client/api/models/v1_problem_and_action.py +1 -1
  309. eval_studio_client/api/models/v1_process_workflow_node_response.py +91 -0
  310. eval_studio_client/api/models/v1_prompt_library_item.py +129 -0
  311. eval_studio_client/api/models/v1_repeated_context.py +95 -0
  312. eval_studio_client/api/models/v1_repeated_string.py +87 -0
  313. eval_studio_client/api/models/v1_reset_workflow_node_response.py +91 -0
  314. eval_studio_client/api/models/v1_test.py +6 -3
  315. eval_studio_client/api/models/v1_test_case.py +14 -3
  316. eval_studio_client/api/models/v1_test_case_relationship.py +1 -1
  317. eval_studio_client/api/models/v1_test_cases_generator.py +1 -1
  318. eval_studio_client/api/models/v1_test_class.py +1 -1
  319. eval_studio_client/api/models/v1_test_class_type.py +1 -1
  320. eval_studio_client/api/models/v1_test_lab.py +1 -1
  321. eval_studio_client/api/models/v1_test_suite_evaluates.py +39 -0
  322. eval_studio_client/api/models/v1_test_type.py +38 -0
  323. eval_studio_client/api/models/v1_update_dashboard_response.py +1 -1
  324. eval_studio_client/api/models/v1_update_document_response.py +1 -1
  325. eval_studio_client/api/models/v1_update_leaderboard_response.py +1 -1
  326. eval_studio_client/api/models/v1_update_model_response.py +1 -1
  327. eval_studio_client/api/models/v1_update_operation_response.py +1 -1
  328. eval_studio_client/api/models/v1_update_test_case_response.py +1 -1
  329. eval_studio_client/api/models/v1_update_test_response.py +1 -1
  330. eval_studio_client/api/models/v1_update_workflow_node_response.py +91 -0
  331. eval_studio_client/api/models/v1_update_workflow_response.py +91 -0
  332. eval_studio_client/api/models/v1_who_am_i_response.py +1 -1
  333. eval_studio_client/api/models/v1_workflow.py +164 -0
  334. eval_studio_client/api/models/v1_workflow_dependency.py +89 -0
  335. eval_studio_client/api/models/v1_workflow_edge.py +123 -0
  336. eval_studio_client/api/models/v1_workflow_edge_type.py +38 -0
  337. eval_studio_client/api/models/v1_workflow_node.py +156 -0
  338. eval_studio_client/api/models/v1_workflow_node_artifact.py +126 -0
  339. eval_studio_client/api/models/v1_workflow_node_artifacts.py +97 -0
  340. eval_studio_client/api/models/v1_workflow_node_attributes.py +87 -0
  341. eval_studio_client/api/models/v1_workflow_node_status.py +40 -0
  342. eval_studio_client/api/models/v1_workflow_node_type.py +44 -0
  343. eval_studio_client/api/models/v1_workflow_node_view.py +38 -0
  344. eval_studio_client/api/models/v1_workflow_type.py +37 -0
  345. eval_studio_client/api/models/workflow_service_clone_workflow_request.py +95 -0
  346. eval_studio_client/api/rest.py +1 -1
  347. eval_studio_client/api/test/test_adversarial_inputs_service_api.py +37 -0
  348. eval_studio_client/api/test/test_adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +128 -0
  349. eval_studio_client/api/test/test_dashboard_service_api.py +1 -1
  350. eval_studio_client/api/test/test_document_service_api.py +1 -1
  351. eval_studio_client/api/test/test_evaluation_service_api.py +1 -1
  352. eval_studio_client/api/test/test_evaluator_service_api.py +1 -1
  353. eval_studio_client/api/test/test_human_calibration_service_api.py +38 -0
  354. eval_studio_client/api/test/test_info_service_api.py +1 -1
  355. eval_studio_client/api/test/test_leaderboard_report_service_api.py +37 -0
  356. eval_studio_client/api/test/test_leaderboard_service_api.py +1 -1
  357. eval_studio_client/api/test/test_model_service_api.py +1 -1
  358. eval_studio_client/api/test/test_operation_progress_service_api.py +1 -1
  359. eval_studio_client/api/test/test_operation_service_api.py +7 -1
  360. eval_studio_client/api/test/test_perturbation_service_api.py +1 -1
  361. eval_studio_client/api/test/test_perturbation_service_create_perturbation_request.py +25 -3
  362. eval_studio_client/api/test/test_perturbator_service_api.py +1 -1
  363. eval_studio_client/api/test/test_prompt_generation_service_api.py +1 -1
  364. eval_studio_client/api/test/test_prompt_generation_service_auto_generate_prompts_request.py +21 -5
  365. eval_studio_client/api/test/test_prompt_library_service_api.py +43 -0
  366. eval_studio_client/api/test/test_protobuf_any.py +1 -1
  367. eval_studio_client/api/test/test_protobuf_null_value.py +33 -0
  368. eval_studio_client/api/test/test_required_the_dashboard_to_update.py +3 -2
  369. eval_studio_client/api/test/test_required_the_document_to_update.py +1 -1
  370. eval_studio_client/api/test/test_required_the_leaderboard_to_update.py +1 -1
  371. eval_studio_client/api/test/test_required_the_model_to_update.py +1 -1
  372. eval_studio_client/api/test/test_required_the_operation_to_finalize.py +1 -1
  373. eval_studio_client/api/test/test_required_the_operation_to_update.py +1 -1
  374. eval_studio_client/api/test/test_required_the_test_case_to_update.py +9 -2
  375. eval_studio_client/api/test/test_required_the_test_to_update.py +3 -2
  376. eval_studio_client/api/test/test_required_the_updated_workflow.py +92 -0
  377. eval_studio_client/api/test/test_required_the_updated_workflow_node.py +81 -0
  378. eval_studio_client/api/test/test_rpc_status.py +1 -1
  379. eval_studio_client/api/test/test_test_case_relationship_service_api.py +37 -0
  380. eval_studio_client/api/test/test_test_case_service_api.py +1 -1
  381. eval_studio_client/api/test/test_test_case_service_batch_delete_test_cases_request.py +1 -1
  382. eval_studio_client/api/test/test_test_class_service_api.py +1 -1
  383. eval_studio_client/api/test/test_test_lab_service_api.py +1 -1
  384. eval_studio_client/api/test/test_test_service_api.py +25 -1
  385. eval_studio_client/api/test/test_test_service_clone_test_request.py +52 -0
  386. eval_studio_client/api/test/test_test_service_generate_test_cases_request.py +17 -2
  387. eval_studio_client/api/test/test_test_service_import_test_cases_from_library_request.py +56 -0
  388. eval_studio_client/api/test/test_test_service_list_test_case_library_items_request.py +63 -0
  389. eval_studio_client/api/test/test_test_service_perturb_test_in_place_request.py +59 -0
  390. eval_studio_client/api/test/test_test_service_perturb_test_request.py +5 -2
  391. eval_studio_client/api/test/test_v1_abort_operation_response.py +71 -0
  392. eval_studio_client/api/test/test_v1_batch_create_leaderboards_request.py +1 -1
  393. eval_studio_client/api/test/test_v1_batch_create_leaderboards_response.py +1 -1
  394. eval_studio_client/api/test/test_v1_batch_delete_dashboards_request.py +1 -1
  395. eval_studio_client/api/test/test_v1_batch_delete_dashboards_response.py +3 -2
  396. eval_studio_client/api/test/test_v1_batch_delete_documents_request.py +1 -1
  397. eval_studio_client/api/test/test_v1_batch_delete_documents_response.py +1 -1
  398. eval_studio_client/api/test/test_v1_batch_delete_evaluators_request.py +1 -1
  399. eval_studio_client/api/test/test_v1_batch_delete_evaluators_response.py +4 -2
  400. eval_studio_client/api/test/test_v1_batch_delete_leaderboards_request.py +1 -1
  401. eval_studio_client/api/test/test_v1_batch_delete_leaderboards_response.py +1 -1
  402. eval_studio_client/api/test/test_v1_batch_delete_models_request.py +1 -1
  403. eval_studio_client/api/test/test_v1_batch_delete_models_response.py +1 -1
  404. eval_studio_client/api/test/test_v1_batch_delete_test_cases_response.py +9 -2
  405. eval_studio_client/api/test/test_v1_batch_delete_tests_request.py +1 -1
  406. eval_studio_client/api/test/test_v1_batch_delete_tests_response.py +3 -2
  407. eval_studio_client/api/test/test_v1_batch_delete_workflows_request.py +53 -0
  408. eval_studio_client/api/test/test_v1_batch_delete_workflows_response.py +95 -0
  409. eval_studio_client/api/test/test_v1_batch_get_dashboards_response.py +3 -2
  410. eval_studio_client/api/test/test_v1_batch_get_documents_response.py +1 -1
  411. eval_studio_client/api/test/test_v1_batch_get_leaderboards_response.py +1 -1
  412. eval_studio_client/api/test/test_v1_batch_get_models_response.py +1 -1
  413. eval_studio_client/api/test/test_v1_batch_get_operations_response.py +1 -1
  414. eval_studio_client/api/test/test_v1_batch_get_tests_response.py +3 -2
  415. eval_studio_client/api/test/test_v1_batch_get_workflow_edges_response.py +64 -0
  416. eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +84 -0
  417. eval_studio_client/api/test/test_v1_batch_import_leaderboard_request.py +1 -1
  418. eval_studio_client/api/test/test_v1_batch_import_leaderboard_response.py +1 -1
  419. eval_studio_client/api/test/test_v1_batch_import_tests_request.py +1 -1
  420. eval_studio_client/api/test/test_v1_batch_import_tests_response.py +3 -2
  421. eval_studio_client/api/test/test_v1_check_base_models_response.py +1 -1
  422. eval_studio_client/api/test/test_v1_clone_test_response.py +68 -0
  423. eval_studio_client/api/test/test_v1_clone_workflow_response.py +93 -0
  424. eval_studio_client/api/test/test_v1_collection_info.py +1 -1
  425. eval_studio_client/api/test/test_v1_context.py +59 -0
  426. eval_studio_client/api/test/test_v1_create_dashboard_response.py +3 -2
  427. eval_studio_client/api/test/test_v1_create_document_response.py +1 -1
  428. eval_studio_client/api/test/test_v1_create_evaluation_request.py +25 -3
  429. eval_studio_client/api/test/test_v1_create_evaluator_response.py +4 -2
  430. eval_studio_client/api/test/test_v1_create_leaderboard_request.py +1 -1
  431. eval_studio_client/api/test/test_v1_create_leaderboard_response.py +1 -1
  432. eval_studio_client/api/test/test_v1_create_leaderboard_without_cache_response.py +1 -1
  433. eval_studio_client/api/test/test_v1_create_model_response.py +1 -1
  434. eval_studio_client/api/test/test_v1_create_perturbation_response.py +1 -1
  435. eval_studio_client/api/test/test_v1_create_test_case_response.py +9 -2
  436. eval_studio_client/api/test/test_v1_create_test_lab_response.py +1 -1
  437. eval_studio_client/api/test/test_v1_create_test_response.py +3 -2
  438. eval_studio_client/api/test/test_v1_create_workflow_edge_response.py +62 -0
  439. eval_studio_client/api/test/test_v1_create_workflow_node_response.py +82 -0
  440. eval_studio_client/api/test/test_v1_create_workflow_response.py +93 -0
  441. eval_studio_client/api/test/test_v1_dashboard.py +3 -2
  442. eval_studio_client/api/test/test_v1_dashboard_status.py +1 -1
  443. eval_studio_client/api/test/test_v1_dashboard_type.py +33 -0
  444. eval_studio_client/api/test/test_v1_delete_dashboard_response.py +3 -2
  445. eval_studio_client/api/test/test_v1_delete_document_response.py +1 -1
  446. eval_studio_client/api/test/test_v1_delete_evaluator_response.py +4 -2
  447. eval_studio_client/api/test/test_v1_delete_leaderboard_response.py +1 -1
  448. eval_studio_client/api/test/test_v1_delete_model_response.py +1 -1
  449. eval_studio_client/api/test/test_v1_delete_test_case_response.py +9 -2
  450. eval_studio_client/api/test/test_v1_delete_test_response.py +3 -2
  451. eval_studio_client/api/test/test_v1_delete_workflow_edge_response.py +62 -0
  452. eval_studio_client/api/test/test_v1_delete_workflow_node_response.py +82 -0
  453. eval_studio_client/api/test/test_v1_delete_workflow_response.py +93 -0
  454. eval_studio_client/api/test/test_v1_dependency_list.py +56 -0
  455. eval_studio_client/api/test/test_v1_document.py +1 -1
  456. eval_studio_client/api/test/test_v1_estimate_threshold_request.py +60 -0
  457. eval_studio_client/api/test/test_v1_evaluation_test.py +9 -2
  458. eval_studio_client/api/test/test_v1_evaluator.py +4 -2
  459. eval_studio_client/api/test/test_v1_evaluator_param_type.py +1 -1
  460. eval_studio_client/api/test/test_v1_evaluator_parameter.py +1 -1
  461. eval_studio_client/api/test/test_v1_evaluator_view.py +1 -1
  462. eval_studio_client/api/test/test_v1_finalize_operation_response.py +1 -1
  463. eval_studio_client/api/test/test_v1_find_all_test_cases_by_id_response.py +9 -2
  464. eval_studio_client/api/test/test_v1_find_test_lab_response.py +1 -1
  465. eval_studio_client/api/test/test_v1_generate_test_cases_response.py +1 -1
  466. eval_studio_client/api/test/test_v1_get_dashboard_response.py +3 -2
  467. eval_studio_client/api/test/test_v1_get_document_response.py +1 -1
  468. eval_studio_client/api/test/test_v1_get_evaluator_response.py +4 -2
  469. eval_studio_client/api/test/test_v1_get_guardrails_configuration_response.py +51 -0
  470. eval_studio_client/api/test/test_v1_get_info_response.py +7 -2
  471. eval_studio_client/api/test/test_v1_get_leaderboard_report_response.py +173 -0
  472. eval_studio_client/api/test/test_v1_get_leaderboard_response.py +1 -1
  473. eval_studio_client/api/test/test_v1_get_model_response.py +1 -1
  474. eval_studio_client/api/test/test_v1_get_operation_progress_by_parent_response.py +1 -1
  475. eval_studio_client/api/test/test_v1_get_operation_response.py +1 -1
  476. eval_studio_client/api/test/test_v1_get_perturbator_response.py +1 -1
  477. eval_studio_client/api/test/test_v1_get_test_case_response.py +9 -2
  478. eval_studio_client/api/test/test_v1_get_test_class_response.py +1 -1
  479. eval_studio_client/api/test/test_v1_get_test_response.py +3 -2
  480. eval_studio_client/api/test/test_v1_get_workflow_node_prerequisites_response.py +56 -0
  481. eval_studio_client/api/test/test_v1_get_workflow_node_response.py +82 -0
  482. eval_studio_client/api/test/test_v1_get_workflow_response.py +93 -0
  483. eval_studio_client/api/test/test_v1_import_evaluation_request.py +17 -2
  484. eval_studio_client/api/test/test_v1_import_leaderboard_request.py +1 -1
  485. eval_studio_client/api/test/test_v1_import_leaderboard_response.py +1 -1
  486. eval_studio_client/api/test/test_v1_import_test_cases_from_library_response.py +71 -0
  487. eval_studio_client/api/test/test_v1_import_test_cases_request.py +57 -0
  488. eval_studio_client/api/test/test_v1_info.py +7 -2
  489. eval_studio_client/api/test/test_v1_init_workflow_node_response.py +82 -0
  490. eval_studio_client/api/test/test_v1_insight.py +1 -1
  491. eval_studio_client/api/test/test_v1_labeled_test_case.py +53 -0
  492. eval_studio_client/api/test/test_v1_leaderboard.py +1 -1
  493. eval_studio_client/api/test/test_v1_leaderboard_report.py +172 -0
  494. eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_data.py +52 -0
  495. eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_meta.py +56 -0
  496. eval_studio_client/api/test/test_v1_leaderboard_report_evaluator.py +114 -0
  497. eval_studio_client/api/test/test_v1_leaderboard_report_evaluator_parameter.py +63 -0
  498. eval_studio_client/api/test/test_v1_leaderboard_report_explanation.py +58 -0
  499. eval_studio_client/api/test/test_v1_leaderboard_report_metrics_meta_entry.py +66 -0
  500. eval_studio_client/api/test/test_v1_leaderboard_report_model.py +60 -0
  501. eval_studio_client/api/test/test_v1_leaderboard_report_result.py +92 -0
  502. eval_studio_client/api/test/test_v1_leaderboard_report_result_relationship.py +53 -0
  503. eval_studio_client/api/test/test_v1_leaderboard_status.py +1 -1
  504. eval_studio_client/api/test/test_v1_leaderboard_type.py +1 -1
  505. eval_studio_client/api/test/test_v1_leaderboard_view.py +1 -1
  506. eval_studio_client/api/test/test_v1_list_base_models_response.py +1 -1
  507. eval_studio_client/api/test/test_v1_list_dashboards_response.py +3 -2
  508. eval_studio_client/api/test/test_v1_list_documents_response.py +1 -1
  509. eval_studio_client/api/test/test_v1_list_evaluators_response.py +4 -2
  510. eval_studio_client/api/test/test_v1_list_leaderboards_response.py +1 -1
  511. eval_studio_client/api/test/test_v1_list_llm_models_response.py +1 -1
  512. eval_studio_client/api/test/test_v1_list_model_collections_response.py +1 -1
  513. eval_studio_client/api/test/test_v1_list_models_response.py +1 -1
  514. eval_studio_client/api/test/test_v1_list_most_recent_dashboards_response.py +3 -2
  515. eval_studio_client/api/test/test_v1_list_most_recent_leaderboards_response.py +1 -1
  516. eval_studio_client/api/test/test_v1_list_most_recent_models_response.py +1 -1
  517. eval_studio_client/api/test/test_v1_list_most_recent_tests_response.py +3 -2
  518. eval_studio_client/api/test/test_v1_list_operations_response.py +1 -1
  519. eval_studio_client/api/test/test_v1_list_perturbators_response.py +1 -1
  520. eval_studio_client/api/test/test_v1_list_prompt_library_items_response.py +71 -0
  521. eval_studio_client/api/test/test_v1_list_rag_collections_response.py +1 -1
  522. eval_studio_client/api/test/test_v1_list_test_case_library_items_response.py +71 -0
  523. eval_studio_client/api/test/test_v1_list_test_case_relationships_response.py +56 -0
  524. eval_studio_client/api/test/test_v1_list_test_cases_response.py +9 -2
  525. eval_studio_client/api/test/test_v1_list_test_classes_response.py +1 -1
  526. eval_studio_client/api/test/test_v1_list_tests_response.py +3 -2
  527. eval_studio_client/api/test/test_v1_list_workflow_dependencies_response.py +93 -0
  528. eval_studio_client/api/test/test_v1_list_workflows_response.py +95 -0
  529. eval_studio_client/api/test/test_v1_metric_score.py +52 -0
  530. eval_studio_client/api/test/test_v1_metric_scores.py +55 -0
  531. eval_studio_client/api/test/test_v1_model.py +1 -1
  532. eval_studio_client/api/test/test_v1_model_type.py +1 -1
  533. eval_studio_client/api/test/test_v1_operation.py +1 -1
  534. eval_studio_client/api/test/test_v1_operation_progress.py +1 -1
  535. eval_studio_client/api/test/test_v1_perturb_test_in_place_response.py +68 -0
  536. eval_studio_client/api/test/test_v1_perturb_test_response.py +3 -2
  537. eval_studio_client/api/test/test_v1_perturbator.py +1 -1
  538. eval_studio_client/api/test/test_v1_perturbator_configuration.py +1 -1
  539. eval_studio_client/api/test/test_v1_perturbator_intensity.py +1 -1
  540. eval_studio_client/api/test/test_v1_problem_and_action.py +1 -1
  541. eval_studio_client/api/test/test_v1_process_workflow_node_response.py +71 -0
  542. eval_studio_client/api/test/test_v1_prompt_library_item.py +68 -0
  543. eval_studio_client/api/test/test_v1_repeated_context.py +62 -0
  544. eval_studio_client/api/test/test_v1_repeated_string.py +53 -0
  545. eval_studio_client/api/test/test_v1_reset_workflow_node_response.py +82 -0
  546. eval_studio_client/api/test/test_v1_test.py +3 -2
  547. eval_studio_client/api/test/test_v1_test_case.py +9 -2
  548. eval_studio_client/api/test/test_v1_test_case_relationship.py +1 -1
  549. eval_studio_client/api/test/test_v1_test_cases_generator.py +1 -1
  550. eval_studio_client/api/test/test_v1_test_class.py +1 -1
  551. eval_studio_client/api/test/test_v1_test_class_type.py +1 -1
  552. eval_studio_client/api/test/test_v1_test_lab.py +1 -1
  553. eval_studio_client/api/test/test_v1_test_suite_evaluates.py +33 -0
  554. eval_studio_client/api/test/test_v1_test_type.py +33 -0
  555. eval_studio_client/api/test/test_v1_update_dashboard_response.py +3 -2
  556. eval_studio_client/api/test/test_v1_update_document_response.py +1 -1
  557. eval_studio_client/api/test/test_v1_update_leaderboard_response.py +1 -1
  558. eval_studio_client/api/test/test_v1_update_model_response.py +1 -1
  559. eval_studio_client/api/test/test_v1_update_operation_response.py +1 -1
  560. eval_studio_client/api/test/test_v1_update_test_case_response.py +9 -2
  561. eval_studio_client/api/test/test_v1_update_test_response.py +3 -2
  562. eval_studio_client/api/test/test_v1_update_workflow_node_response.py +82 -0
  563. eval_studio_client/api/test/test_v1_update_workflow_response.py +93 -0
  564. eval_studio_client/api/test/test_v1_who_am_i_response.py +1 -1
  565. eval_studio_client/api/test/test_v1_workflow.py +93 -0
  566. eval_studio_client/api/test/test_v1_workflow_dependency.py +52 -0
  567. eval_studio_client/api/test/test_v1_workflow_edge.py +61 -0
  568. eval_studio_client/api/test/test_v1_workflow_edge_type.py +33 -0
  569. eval_studio_client/api/test/test_v1_workflow_node.py +82 -0
  570. eval_studio_client/api/test/test_v1_workflow_node_artifact.py +62 -0
  571. eval_studio_client/api/test/test_v1_workflow_node_artifacts.py +65 -0
  572. eval_studio_client/api/test/test_v1_workflow_node_attributes.py +51 -0
  573. eval_studio_client/api/test/test_v1_workflow_node_status.py +33 -0
  574. eval_studio_client/api/test/test_v1_workflow_node_type.py +33 -0
  575. eval_studio_client/api/test/test_v1_workflow_node_view.py +33 -0
  576. eval_studio_client/api/test/test_v1_workflow_type.py +33 -0
  577. eval_studio_client/api/test/test_who_am_i_service_api.py +1 -1
  578. eval_studio_client/api/test/test_workflow_edge_service_api.py +52 -0
  579. eval_studio_client/api/test/test_workflow_node_service_api.py +94 -0
  580. eval_studio_client/api/test/test_workflow_service_api.py +93 -0
  581. eval_studio_client/api/test/test_workflow_service_clone_workflow_request.py +55 -0
  582. eval_studio_client/client.py +7 -0
  583. eval_studio_client/dashboards.py +29 -0
  584. eval_studio_client/gen/openapiv2/eval_studio.swagger.json +5318 -1884
  585. eval_studio_client/leaderboards.py +123 -0
  586. eval_studio_client/models.py +3 -42
  587. eval_studio_client/test_labs.py +49 -21
  588. eval_studio_client/tests.py +290 -8
  589. {eval_studio_client-1.0.3a1.dist-info → eval_studio_client-1.1.0a6.dist-info}/METADATA +1 -2
  590. eval_studio_client-1.1.0a6.dist-info/RECORD +732 -0
  591. eval_studio_client-1.0.3a1.dist-info/RECORD +0 -486
  592. {eval_studio_client-1.0.3a1.dist-info → eval_studio_client-1.1.0a6.dist-info}/WHEEL +0 -0
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- ai/h2o/eval_studio/v1/collection.proto
4
+ ai/h2o/eval_studio/v1/insight.proto
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
@@ -20,19 +20,27 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
20
20
  from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
22
  from eval_studio_client.api.models.required_the_test_to_update import RequiredTheTestToUpdate
23
+ from eval_studio_client.api.models.test_service_clone_test_request import TestServiceCloneTestRequest
23
24
  from eval_studio_client.api.models.test_service_generate_test_cases_request import TestServiceGenerateTestCasesRequest
25
+ from eval_studio_client.api.models.test_service_import_test_cases_from_library_request import TestServiceImportTestCasesFromLibraryRequest
26
+ from eval_studio_client.api.models.test_service_list_test_case_library_items_request import TestServiceListTestCaseLibraryItemsRequest
27
+ from eval_studio_client.api.models.test_service_perturb_test_in_place_request import TestServicePerturbTestInPlaceRequest
24
28
  from eval_studio_client.api.models.test_service_perturb_test_request import TestServicePerturbTestRequest
25
29
  from eval_studio_client.api.models.v1_batch_delete_tests_request import V1BatchDeleteTestsRequest
26
30
  from eval_studio_client.api.models.v1_batch_delete_tests_response import V1BatchDeleteTestsResponse
27
31
  from eval_studio_client.api.models.v1_batch_get_tests_response import V1BatchGetTestsResponse
28
32
  from eval_studio_client.api.models.v1_batch_import_tests_request import V1BatchImportTestsRequest
29
33
  from eval_studio_client.api.models.v1_batch_import_tests_response import V1BatchImportTestsResponse
34
+ from eval_studio_client.api.models.v1_clone_test_response import V1CloneTestResponse
30
35
  from eval_studio_client.api.models.v1_create_test_response import V1CreateTestResponse
31
36
  from eval_studio_client.api.models.v1_delete_test_response import V1DeleteTestResponse
32
37
  from eval_studio_client.api.models.v1_generate_test_cases_response import V1GenerateTestCasesResponse
33
38
  from eval_studio_client.api.models.v1_get_test_response import V1GetTestResponse
39
+ from eval_studio_client.api.models.v1_import_test_cases_from_library_response import V1ImportTestCasesFromLibraryResponse
34
40
  from eval_studio_client.api.models.v1_list_most_recent_tests_response import V1ListMostRecentTestsResponse
41
+ from eval_studio_client.api.models.v1_list_test_case_library_items_response import V1ListTestCaseLibraryItemsResponse
35
42
  from eval_studio_client.api.models.v1_list_tests_response import V1ListTestsResponse
43
+ from eval_studio_client.api.models.v1_perturb_test_in_place_response import V1PerturbTestInPlaceResponse
36
44
  from eval_studio_client.api.models.v1_perturb_test_response import V1PerturbTestResponse
37
45
  from eval_studio_client.api.models.v1_test import V1Test
38
46
  from eval_studio_client.api.models.v1_update_test_response import V1UpdateTestResponse
@@ -846,6 +854,288 @@ class TestServiceApi:
846
854
 
847
855
 
848
856
 
857
+ @validate_call
858
+ def test_service_clone_test(
859
+ self,
860
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to clone.")],
861
+ body: TestServiceCloneTestRequest,
862
+ _request_timeout: Union[
863
+ None,
864
+ Annotated[StrictFloat, Field(gt=0)],
865
+ Tuple[
866
+ Annotated[StrictFloat, Field(gt=0)],
867
+ Annotated[StrictFloat, Field(gt=0)]
868
+ ]
869
+ ] = None,
870
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
871
+ _content_type: Optional[StrictStr] = None,
872
+ _headers: Optional[Dict[StrictStr, Any]] = None,
873
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
874
+ ) -> V1CloneTestResponse:
875
+ """test_service_clone_test
876
+
877
+
878
+ :param name: Required. The name of the Test to clone. (required)
879
+ :type name: str
880
+ :param body: (required)
881
+ :type body: TestServiceCloneTestRequest
882
+ :param _request_timeout: timeout setting for this request. If one
883
+ number provided, it will be total request
884
+ timeout. It can also be a pair (tuple) of
885
+ (connection, read) timeouts.
886
+ :type _request_timeout: int, tuple(int, int), optional
887
+ :param _request_auth: set to override the auth_settings for an a single
888
+ request; this effectively ignores the
889
+ authentication in the spec for a single request.
890
+ :type _request_auth: dict, optional
891
+ :param _content_type: force content-type for the request.
892
+ :type _content_type: str, Optional
893
+ :param _headers: set to override the headers for a single
894
+ request; this effectively ignores the headers
895
+ in the spec for a single request.
896
+ :type _headers: dict, optional
897
+ :param _host_index: set to override the host_index for a single
898
+ request; this effectively ignores the host_index
899
+ in the spec for a single request.
900
+ :type _host_index: int, optional
901
+ :return: Returns the result object.
902
+ """ # noqa: E501
903
+
904
+ _param = self._test_service_clone_test_serialize(
905
+ name=name,
906
+ body=body,
907
+ _request_auth=_request_auth,
908
+ _content_type=_content_type,
909
+ _headers=_headers,
910
+ _host_index=_host_index
911
+ )
912
+
913
+ _response_types_map: Dict[str, Optional[str]] = {
914
+ '200': "V1CloneTestResponse",
915
+ }
916
+ response_data = self.api_client.call_api(
917
+ *_param,
918
+ _request_timeout=_request_timeout
919
+ )
920
+ response_data.read()
921
+ return self.api_client.response_deserialize(
922
+ response_data=response_data,
923
+ response_types_map=_response_types_map,
924
+ ).data
925
+
926
+
927
+ @validate_call
928
+ def test_service_clone_test_with_http_info(
929
+ self,
930
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to clone.")],
931
+ body: TestServiceCloneTestRequest,
932
+ _request_timeout: Union[
933
+ None,
934
+ Annotated[StrictFloat, Field(gt=0)],
935
+ Tuple[
936
+ Annotated[StrictFloat, Field(gt=0)],
937
+ Annotated[StrictFloat, Field(gt=0)]
938
+ ]
939
+ ] = None,
940
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
941
+ _content_type: Optional[StrictStr] = None,
942
+ _headers: Optional[Dict[StrictStr, Any]] = None,
943
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
944
+ ) -> ApiResponse[V1CloneTestResponse]:
945
+ """test_service_clone_test
946
+
947
+
948
+ :param name: Required. The name of the Test to clone. (required)
949
+ :type name: str
950
+ :param body: (required)
951
+ :type body: TestServiceCloneTestRequest
952
+ :param _request_timeout: timeout setting for this request. If one
953
+ number provided, it will be total request
954
+ timeout. It can also be a pair (tuple) of
955
+ (connection, read) timeouts.
956
+ :type _request_timeout: int, tuple(int, int), optional
957
+ :param _request_auth: set to override the auth_settings for an a single
958
+ request; this effectively ignores the
959
+ authentication in the spec for a single request.
960
+ :type _request_auth: dict, optional
961
+ :param _content_type: force content-type for the request.
962
+ :type _content_type: str, Optional
963
+ :param _headers: set to override the headers for a single
964
+ request; this effectively ignores the headers
965
+ in the spec for a single request.
966
+ :type _headers: dict, optional
967
+ :param _host_index: set to override the host_index for a single
968
+ request; this effectively ignores the host_index
969
+ in the spec for a single request.
970
+ :type _host_index: int, optional
971
+ :return: Returns the result object.
972
+ """ # noqa: E501
973
+
974
+ _param = self._test_service_clone_test_serialize(
975
+ name=name,
976
+ body=body,
977
+ _request_auth=_request_auth,
978
+ _content_type=_content_type,
979
+ _headers=_headers,
980
+ _host_index=_host_index
981
+ )
982
+
983
+ _response_types_map: Dict[str, Optional[str]] = {
984
+ '200': "V1CloneTestResponse",
985
+ }
986
+ response_data = self.api_client.call_api(
987
+ *_param,
988
+ _request_timeout=_request_timeout
989
+ )
990
+ response_data.read()
991
+ return self.api_client.response_deserialize(
992
+ response_data=response_data,
993
+ response_types_map=_response_types_map,
994
+ )
995
+
996
+
997
+ @validate_call
998
+ def test_service_clone_test_without_preload_content(
999
+ self,
1000
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to clone.")],
1001
+ body: TestServiceCloneTestRequest,
1002
+ _request_timeout: Union[
1003
+ None,
1004
+ Annotated[StrictFloat, Field(gt=0)],
1005
+ Tuple[
1006
+ Annotated[StrictFloat, Field(gt=0)],
1007
+ Annotated[StrictFloat, Field(gt=0)]
1008
+ ]
1009
+ ] = None,
1010
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1011
+ _content_type: Optional[StrictStr] = None,
1012
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1013
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1014
+ ) -> RESTResponseType:
1015
+ """test_service_clone_test
1016
+
1017
+
1018
+ :param name: Required. The name of the Test to clone. (required)
1019
+ :type name: str
1020
+ :param body: (required)
1021
+ :type body: TestServiceCloneTestRequest
1022
+ :param _request_timeout: timeout setting for this request. If one
1023
+ number provided, it will be total request
1024
+ timeout. It can also be a pair (tuple) of
1025
+ (connection, read) timeouts.
1026
+ :type _request_timeout: int, tuple(int, int), optional
1027
+ :param _request_auth: set to override the auth_settings for an a single
1028
+ request; this effectively ignores the
1029
+ authentication in the spec for a single request.
1030
+ :type _request_auth: dict, optional
1031
+ :param _content_type: force content-type for the request.
1032
+ :type _content_type: str, Optional
1033
+ :param _headers: set to override the headers for a single
1034
+ request; this effectively ignores the headers
1035
+ in the spec for a single request.
1036
+ :type _headers: dict, optional
1037
+ :param _host_index: set to override the host_index for a single
1038
+ request; this effectively ignores the host_index
1039
+ in the spec for a single request.
1040
+ :type _host_index: int, optional
1041
+ :return: Returns the result object.
1042
+ """ # noqa: E501
1043
+
1044
+ _param = self._test_service_clone_test_serialize(
1045
+ name=name,
1046
+ body=body,
1047
+ _request_auth=_request_auth,
1048
+ _content_type=_content_type,
1049
+ _headers=_headers,
1050
+ _host_index=_host_index
1051
+ )
1052
+
1053
+ _response_types_map: Dict[str, Optional[str]] = {
1054
+ '200': "V1CloneTestResponse",
1055
+ }
1056
+ response_data = self.api_client.call_api(
1057
+ *_param,
1058
+ _request_timeout=_request_timeout
1059
+ )
1060
+ return response_data.response
1061
+
1062
+
1063
+ def _test_service_clone_test_serialize(
1064
+ self,
1065
+ name,
1066
+ body,
1067
+ _request_auth,
1068
+ _content_type,
1069
+ _headers,
1070
+ _host_index,
1071
+ ) -> RequestSerialized:
1072
+
1073
+ _host = None
1074
+
1075
+ _collection_formats: Dict[str, str] = {
1076
+ }
1077
+
1078
+ _path_params: Dict[str, str] = {}
1079
+ _query_params: List[Tuple[str, str]] = []
1080
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1081
+ _form_params: List[Tuple[str, str]] = []
1082
+ _files: Dict[str, Union[str, bytes]] = {}
1083
+ _body_params: Optional[bytes] = None
1084
+
1085
+ # process the path parameters
1086
+ if name is not None:
1087
+ _path_params['name'] = name
1088
+ # process the query parameters
1089
+ # process the header parameters
1090
+ # process the form parameters
1091
+ # process the body parameter
1092
+ if body is not None:
1093
+ _body_params = body
1094
+
1095
+
1096
+ # set the HTTP header `Accept`
1097
+ _header_params['Accept'] = self.api_client.select_header_accept(
1098
+ [
1099
+ 'application/json'
1100
+ ]
1101
+ )
1102
+
1103
+ # set the HTTP header `Content-Type`
1104
+ if _content_type:
1105
+ _header_params['Content-Type'] = _content_type
1106
+ else:
1107
+ _default_content_type = (
1108
+ self.api_client.select_header_content_type(
1109
+ [
1110
+ 'application/json'
1111
+ ]
1112
+ )
1113
+ )
1114
+ if _default_content_type is not None:
1115
+ _header_params['Content-Type'] = _default_content_type
1116
+
1117
+ # authentication setting
1118
+ _auth_settings: List[str] = [
1119
+ ]
1120
+
1121
+ return self.api_client.param_serialize(
1122
+ method='POST',
1123
+ resource_path='/v1/{name}:clone',
1124
+ path_params=_path_params,
1125
+ query_params=_query_params,
1126
+ header_params=_header_params,
1127
+ body=_body_params,
1128
+ post_params=_form_params,
1129
+ files=_files,
1130
+ auth_settings=_auth_settings,
1131
+ collection_formats=_collection_formats,
1132
+ _host=_host,
1133
+ _request_auth=_request_auth
1134
+ )
1135
+
1136
+
1137
+
1138
+
849
1139
  @validate_call
850
1140
  def test_service_create_test(
851
1141
  self,
@@ -1669,7 +1959,7 @@ class TestServiceApi:
1669
1959
  @validate_call
1670
1960
  def test_service_get_test(
1671
1961
  self,
1672
- name_9: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
1962
+ name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
1673
1963
  _request_timeout: Union[
1674
1964
  None,
1675
1965
  Annotated[StrictFloat, Field(gt=0)],
@@ -1686,8 +1976,8 @@ class TestServiceApi:
1686
1976
  """test_service_get_test
1687
1977
 
1688
1978
 
1689
- :param name_9: Required. The name of the Test to retrieve. (required)
1690
- :type name_9: str
1979
+ :param name_10: Required. The name of the Test to retrieve. (required)
1980
+ :type name_10: str
1691
1981
  :param _request_timeout: timeout setting for this request. If one
1692
1982
  number provided, it will be total request
1693
1983
  timeout. It can also be a pair (tuple) of
@@ -1711,7 +2001,7 @@ class TestServiceApi:
1711
2001
  """ # noqa: E501
1712
2002
 
1713
2003
  _param = self._test_service_get_test_serialize(
1714
- name_9=name_9,
2004
+ name_10=name_10,
1715
2005
  _request_auth=_request_auth,
1716
2006
  _content_type=_content_type,
1717
2007
  _headers=_headers,
@@ -1735,7 +2025,7 @@ class TestServiceApi:
1735
2025
  @validate_call
1736
2026
  def test_service_get_test_with_http_info(
1737
2027
  self,
1738
- name_9: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
2028
+ name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
1739
2029
  _request_timeout: Union[
1740
2030
  None,
1741
2031
  Annotated[StrictFloat, Field(gt=0)],
@@ -1752,8 +2042,8 @@ class TestServiceApi:
1752
2042
  """test_service_get_test
1753
2043
 
1754
2044
 
1755
- :param name_9: Required. The name of the Test to retrieve. (required)
1756
- :type name_9: str
2045
+ :param name_10: Required. The name of the Test to retrieve. (required)
2046
+ :type name_10: str
1757
2047
  :param _request_timeout: timeout setting for this request. If one
1758
2048
  number provided, it will be total request
1759
2049
  timeout. It can also be a pair (tuple) of
@@ -1777,7 +2067,7 @@ class TestServiceApi:
1777
2067
  """ # noqa: E501
1778
2068
 
1779
2069
  _param = self._test_service_get_test_serialize(
1780
- name_9=name_9,
2070
+ name_10=name_10,
1781
2071
  _request_auth=_request_auth,
1782
2072
  _content_type=_content_type,
1783
2073
  _headers=_headers,
@@ -1801,7 +2091,7 @@ class TestServiceApi:
1801
2091
  @validate_call
1802
2092
  def test_service_get_test_without_preload_content(
1803
2093
  self,
1804
- name_9: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
2094
+ name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
1805
2095
  _request_timeout: Union[
1806
2096
  None,
1807
2097
  Annotated[StrictFloat, Field(gt=0)],
@@ -1818,8 +2108,8 @@ class TestServiceApi:
1818
2108
  """test_service_get_test
1819
2109
 
1820
2110
 
1821
- :param name_9: Required. The name of the Test to retrieve. (required)
1822
- :type name_9: str
2111
+ :param name_10: Required. The name of the Test to retrieve. (required)
2112
+ :type name_10: str
1823
2113
  :param _request_timeout: timeout setting for this request. If one
1824
2114
  number provided, it will be total request
1825
2115
  timeout. It can also be a pair (tuple) of
@@ -1843,7 +2133,7 @@ class TestServiceApi:
1843
2133
  """ # noqa: E501
1844
2134
 
1845
2135
  _param = self._test_service_get_test_serialize(
1846
- name_9=name_9,
2136
+ name_10=name_10,
1847
2137
  _request_auth=_request_auth,
1848
2138
  _content_type=_content_type,
1849
2139
  _headers=_headers,
@@ -1862,7 +2152,7 @@ class TestServiceApi:
1862
2152
 
1863
2153
  def _test_service_get_test_serialize(
1864
2154
  self,
1865
- name_9,
2155
+ name_10,
1866
2156
  _request_auth,
1867
2157
  _content_type,
1868
2158
  _headers,
@@ -1882,8 +2172,8 @@ class TestServiceApi:
1882
2172
  _body_params: Optional[bytes] = None
1883
2173
 
1884
2174
  # process the path parameters
1885
- if name_9 is not None:
1886
- _path_params['name_9'] = name_9
2175
+ if name_10 is not None:
2176
+ _path_params['name_10'] = name_10
1887
2177
  # process the query parameters
1888
2178
  # process the header parameters
1889
2179
  # process the form parameters
@@ -1904,7 +2194,7 @@ class TestServiceApi:
1904
2194
 
1905
2195
  return self.api_client.param_serialize(
1906
2196
  method='GET',
1907
- resource_path='/v1/{name_9}',
2197
+ resource_path='/v1/{name_10}',
1908
2198
  path_params=_path_params,
1909
2199
  query_params=_query_params,
1910
2200
  header_params=_header_params,
@@ -1921,9 +2211,292 @@ class TestServiceApi:
1921
2211
 
1922
2212
 
1923
2213
  @validate_call
1924
- def test_service_list_most_recent_tests(
2214
+ def test_service_import_test_cases_from_library(
1925
2215
  self,
1926
- limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
2216
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to get TestCases.")],
2217
+ body: TestServiceImportTestCasesFromLibraryRequest,
2218
+ _request_timeout: Union[
2219
+ None,
2220
+ Annotated[StrictFloat, Field(gt=0)],
2221
+ Tuple[
2222
+ Annotated[StrictFloat, Field(gt=0)],
2223
+ Annotated[StrictFloat, Field(gt=0)]
2224
+ ]
2225
+ ] = None,
2226
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2227
+ _content_type: Optional[StrictStr] = None,
2228
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2229
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2230
+ ) -> V1ImportTestCasesFromLibraryResponse:
2231
+ """test_service_import_test_cases_from_library
2232
+
2233
+
2234
+ :param name: Required. The Test for which to get TestCases. (required)
2235
+ :type name: str
2236
+ :param body: (required)
2237
+ :type body: TestServiceImportTestCasesFromLibraryRequest
2238
+ :param _request_timeout: timeout setting for this request. If one
2239
+ number provided, it will be total request
2240
+ timeout. It can also be a pair (tuple) of
2241
+ (connection, read) timeouts.
2242
+ :type _request_timeout: int, tuple(int, int), optional
2243
+ :param _request_auth: set to override the auth_settings for an a single
2244
+ request; this effectively ignores the
2245
+ authentication in the spec for a single request.
2246
+ :type _request_auth: dict, optional
2247
+ :param _content_type: force content-type for the request.
2248
+ :type _content_type: str, Optional
2249
+ :param _headers: set to override the headers for a single
2250
+ request; this effectively ignores the headers
2251
+ in the spec for a single request.
2252
+ :type _headers: dict, optional
2253
+ :param _host_index: set to override the host_index for a single
2254
+ request; this effectively ignores the host_index
2255
+ in the spec for a single request.
2256
+ :type _host_index: int, optional
2257
+ :return: Returns the result object.
2258
+ """ # noqa: E501
2259
+
2260
+ _param = self._test_service_import_test_cases_from_library_serialize(
2261
+ name=name,
2262
+ body=body,
2263
+ _request_auth=_request_auth,
2264
+ _content_type=_content_type,
2265
+ _headers=_headers,
2266
+ _host_index=_host_index
2267
+ )
2268
+
2269
+ _response_types_map: Dict[str, Optional[str]] = {
2270
+ '200': "V1ImportTestCasesFromLibraryResponse",
2271
+ }
2272
+ response_data = self.api_client.call_api(
2273
+ *_param,
2274
+ _request_timeout=_request_timeout
2275
+ )
2276
+ response_data.read()
2277
+ return self.api_client.response_deserialize(
2278
+ response_data=response_data,
2279
+ response_types_map=_response_types_map,
2280
+ ).data
2281
+
2282
+
2283
+ @validate_call
2284
+ def test_service_import_test_cases_from_library_with_http_info(
2285
+ self,
2286
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to get TestCases.")],
2287
+ body: TestServiceImportTestCasesFromLibraryRequest,
2288
+ _request_timeout: Union[
2289
+ None,
2290
+ Annotated[StrictFloat, Field(gt=0)],
2291
+ Tuple[
2292
+ Annotated[StrictFloat, Field(gt=0)],
2293
+ Annotated[StrictFloat, Field(gt=0)]
2294
+ ]
2295
+ ] = None,
2296
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2297
+ _content_type: Optional[StrictStr] = None,
2298
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2299
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2300
+ ) -> ApiResponse[V1ImportTestCasesFromLibraryResponse]:
2301
+ """test_service_import_test_cases_from_library
2302
+
2303
+
2304
+ :param name: Required. The Test for which to get TestCases. (required)
2305
+ :type name: str
2306
+ :param body: (required)
2307
+ :type body: TestServiceImportTestCasesFromLibraryRequest
2308
+ :param _request_timeout: timeout setting for this request. If one
2309
+ number provided, it will be total request
2310
+ timeout. It can also be a pair (tuple) of
2311
+ (connection, read) timeouts.
2312
+ :type _request_timeout: int, tuple(int, int), optional
2313
+ :param _request_auth: set to override the auth_settings for an a single
2314
+ request; this effectively ignores the
2315
+ authentication in the spec for a single request.
2316
+ :type _request_auth: dict, optional
2317
+ :param _content_type: force content-type for the request.
2318
+ :type _content_type: str, Optional
2319
+ :param _headers: set to override the headers for a single
2320
+ request; this effectively ignores the headers
2321
+ in the spec for a single request.
2322
+ :type _headers: dict, optional
2323
+ :param _host_index: set to override the host_index for a single
2324
+ request; this effectively ignores the host_index
2325
+ in the spec for a single request.
2326
+ :type _host_index: int, optional
2327
+ :return: Returns the result object.
2328
+ """ # noqa: E501
2329
+
2330
+ _param = self._test_service_import_test_cases_from_library_serialize(
2331
+ name=name,
2332
+ body=body,
2333
+ _request_auth=_request_auth,
2334
+ _content_type=_content_type,
2335
+ _headers=_headers,
2336
+ _host_index=_host_index
2337
+ )
2338
+
2339
+ _response_types_map: Dict[str, Optional[str]] = {
2340
+ '200': "V1ImportTestCasesFromLibraryResponse",
2341
+ }
2342
+ response_data = self.api_client.call_api(
2343
+ *_param,
2344
+ _request_timeout=_request_timeout
2345
+ )
2346
+ response_data.read()
2347
+ return self.api_client.response_deserialize(
2348
+ response_data=response_data,
2349
+ response_types_map=_response_types_map,
2350
+ )
2351
+
2352
+
2353
+ @validate_call
2354
+ def test_service_import_test_cases_from_library_without_preload_content(
2355
+ self,
2356
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to get TestCases.")],
2357
+ body: TestServiceImportTestCasesFromLibraryRequest,
2358
+ _request_timeout: Union[
2359
+ None,
2360
+ Annotated[StrictFloat, Field(gt=0)],
2361
+ Tuple[
2362
+ Annotated[StrictFloat, Field(gt=0)],
2363
+ Annotated[StrictFloat, Field(gt=0)]
2364
+ ]
2365
+ ] = None,
2366
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2367
+ _content_type: Optional[StrictStr] = None,
2368
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2369
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2370
+ ) -> RESTResponseType:
2371
+ """test_service_import_test_cases_from_library
2372
+
2373
+
2374
+ :param name: Required. The Test for which to get TestCases. (required)
2375
+ :type name: str
2376
+ :param body: (required)
2377
+ :type body: TestServiceImportTestCasesFromLibraryRequest
2378
+ :param _request_timeout: timeout setting for this request. If one
2379
+ number provided, it will be total request
2380
+ timeout. It can also be a pair (tuple) of
2381
+ (connection, read) timeouts.
2382
+ :type _request_timeout: int, tuple(int, int), optional
2383
+ :param _request_auth: set to override the auth_settings for an a single
2384
+ request; this effectively ignores the
2385
+ authentication in the spec for a single request.
2386
+ :type _request_auth: dict, optional
2387
+ :param _content_type: force content-type for the request.
2388
+ :type _content_type: str, Optional
2389
+ :param _headers: set to override the headers for a single
2390
+ request; this effectively ignores the headers
2391
+ in the spec for a single request.
2392
+ :type _headers: dict, optional
2393
+ :param _host_index: set to override the host_index for a single
2394
+ request; this effectively ignores the host_index
2395
+ in the spec for a single request.
2396
+ :type _host_index: int, optional
2397
+ :return: Returns the result object.
2398
+ """ # noqa: E501
2399
+
2400
+ _param = self._test_service_import_test_cases_from_library_serialize(
2401
+ name=name,
2402
+ body=body,
2403
+ _request_auth=_request_auth,
2404
+ _content_type=_content_type,
2405
+ _headers=_headers,
2406
+ _host_index=_host_index
2407
+ )
2408
+
2409
+ _response_types_map: Dict[str, Optional[str]] = {
2410
+ '200': "V1ImportTestCasesFromLibraryResponse",
2411
+ }
2412
+ response_data = self.api_client.call_api(
2413
+ *_param,
2414
+ _request_timeout=_request_timeout
2415
+ )
2416
+ return response_data.response
2417
+
2418
+
2419
+ def _test_service_import_test_cases_from_library_serialize(
2420
+ self,
2421
+ name,
2422
+ body,
2423
+ _request_auth,
2424
+ _content_type,
2425
+ _headers,
2426
+ _host_index,
2427
+ ) -> RequestSerialized:
2428
+
2429
+ _host = None
2430
+
2431
+ _collection_formats: Dict[str, str] = {
2432
+ }
2433
+
2434
+ _path_params: Dict[str, str] = {}
2435
+ _query_params: List[Tuple[str, str]] = []
2436
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2437
+ _form_params: List[Tuple[str, str]] = []
2438
+ _files: Dict[str, Union[str, bytes]] = {}
2439
+ _body_params: Optional[bytes] = None
2440
+
2441
+ # process the path parameters
2442
+ if name is not None:
2443
+ _path_params['name'] = name
2444
+ # process the query parameters
2445
+ # process the header parameters
2446
+ # process the form parameters
2447
+ # process the body parameter
2448
+ if body is not None:
2449
+ _body_params = body
2450
+
2451
+
2452
+ # set the HTTP header `Accept`
2453
+ _header_params['Accept'] = self.api_client.select_header_accept(
2454
+ [
2455
+ 'application/json'
2456
+ ]
2457
+ )
2458
+
2459
+ # set the HTTP header `Content-Type`
2460
+ if _content_type:
2461
+ _header_params['Content-Type'] = _content_type
2462
+ else:
2463
+ _default_content_type = (
2464
+ self.api_client.select_header_content_type(
2465
+ [
2466
+ 'application/json'
2467
+ ]
2468
+ )
2469
+ )
2470
+ if _default_content_type is not None:
2471
+ _header_params['Content-Type'] = _default_content_type
2472
+
2473
+ # authentication setting
2474
+ _auth_settings: List[str] = [
2475
+ ]
2476
+
2477
+ return self.api_client.param_serialize(
2478
+ method='POST',
2479
+ resource_path='/v1/{name}:importTestCasesFromLibrary',
2480
+ path_params=_path_params,
2481
+ query_params=_query_params,
2482
+ header_params=_header_params,
2483
+ body=_body_params,
2484
+ post_params=_form_params,
2485
+ files=_files,
2486
+ auth_settings=_auth_settings,
2487
+ collection_formats=_collection_formats,
2488
+ _host=_host,
2489
+ _request_auth=_request_auth
2490
+ )
2491
+
2492
+
2493
+
2494
+
2495
+ @validate_call
2496
+ def test_service_list_most_recent_tests(
2497
+ self,
2498
+ limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
2499
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
1927
2500
  _request_timeout: Union[
1928
2501
  None,
1929
2502
  Annotated[StrictFloat, Field(gt=0)],
@@ -1940,8 +2513,565 @@ class TestServiceApi:
1940
2513
  """test_service_list_most_recent_tests
1941
2514
 
1942
2515
 
1943
- :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
1944
- :type limit: int
2516
+ :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
2517
+ :type limit: int
2518
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
2519
+ :type filter: str
2520
+ :param _request_timeout: timeout setting for this request. If one
2521
+ number provided, it will be total request
2522
+ timeout. It can also be a pair (tuple) of
2523
+ (connection, read) timeouts.
2524
+ :type _request_timeout: int, tuple(int, int), optional
2525
+ :param _request_auth: set to override the auth_settings for an a single
2526
+ request; this effectively ignores the
2527
+ authentication in the spec for a single request.
2528
+ :type _request_auth: dict, optional
2529
+ :param _content_type: force content-type for the request.
2530
+ :type _content_type: str, Optional
2531
+ :param _headers: set to override the headers for a single
2532
+ request; this effectively ignores the headers
2533
+ in the spec for a single request.
2534
+ :type _headers: dict, optional
2535
+ :param _host_index: set to override the host_index for a single
2536
+ request; this effectively ignores the host_index
2537
+ in the spec for a single request.
2538
+ :type _host_index: int, optional
2539
+ :return: Returns the result object.
2540
+ """ # noqa: E501
2541
+
2542
+ _param = self._test_service_list_most_recent_tests_serialize(
2543
+ limit=limit,
2544
+ filter=filter,
2545
+ _request_auth=_request_auth,
2546
+ _content_type=_content_type,
2547
+ _headers=_headers,
2548
+ _host_index=_host_index
2549
+ )
2550
+
2551
+ _response_types_map: Dict[str, Optional[str]] = {
2552
+ '200': "V1ListMostRecentTestsResponse",
2553
+ }
2554
+ response_data = self.api_client.call_api(
2555
+ *_param,
2556
+ _request_timeout=_request_timeout
2557
+ )
2558
+ response_data.read()
2559
+ return self.api_client.response_deserialize(
2560
+ response_data=response_data,
2561
+ response_types_map=_response_types_map,
2562
+ ).data
2563
+
2564
+
2565
+ @validate_call
2566
+ def test_service_list_most_recent_tests_with_http_info(
2567
+ self,
2568
+ limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
2569
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
2570
+ _request_timeout: Union[
2571
+ None,
2572
+ Annotated[StrictFloat, Field(gt=0)],
2573
+ Tuple[
2574
+ Annotated[StrictFloat, Field(gt=0)],
2575
+ Annotated[StrictFloat, Field(gt=0)]
2576
+ ]
2577
+ ] = None,
2578
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2579
+ _content_type: Optional[StrictStr] = None,
2580
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2581
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2582
+ ) -> ApiResponse[V1ListMostRecentTestsResponse]:
2583
+ """test_service_list_most_recent_tests
2584
+
2585
+
2586
+ :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
2587
+ :type limit: int
2588
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
2589
+ :type filter: str
2590
+ :param _request_timeout: timeout setting for this request. If one
2591
+ number provided, it will be total request
2592
+ timeout. It can also be a pair (tuple) of
2593
+ (connection, read) timeouts.
2594
+ :type _request_timeout: int, tuple(int, int), optional
2595
+ :param _request_auth: set to override the auth_settings for an a single
2596
+ request; this effectively ignores the
2597
+ authentication in the spec for a single request.
2598
+ :type _request_auth: dict, optional
2599
+ :param _content_type: force content-type for the request.
2600
+ :type _content_type: str, Optional
2601
+ :param _headers: set to override the headers for a single
2602
+ request; this effectively ignores the headers
2603
+ in the spec for a single request.
2604
+ :type _headers: dict, optional
2605
+ :param _host_index: set to override the host_index for a single
2606
+ request; this effectively ignores the host_index
2607
+ in the spec for a single request.
2608
+ :type _host_index: int, optional
2609
+ :return: Returns the result object.
2610
+ """ # noqa: E501
2611
+
2612
+ _param = self._test_service_list_most_recent_tests_serialize(
2613
+ limit=limit,
2614
+ filter=filter,
2615
+ _request_auth=_request_auth,
2616
+ _content_type=_content_type,
2617
+ _headers=_headers,
2618
+ _host_index=_host_index
2619
+ )
2620
+
2621
+ _response_types_map: Dict[str, Optional[str]] = {
2622
+ '200': "V1ListMostRecentTestsResponse",
2623
+ }
2624
+ response_data = self.api_client.call_api(
2625
+ *_param,
2626
+ _request_timeout=_request_timeout
2627
+ )
2628
+ response_data.read()
2629
+ return self.api_client.response_deserialize(
2630
+ response_data=response_data,
2631
+ response_types_map=_response_types_map,
2632
+ )
2633
+
2634
+
2635
+ @validate_call
2636
+ def test_service_list_most_recent_tests_without_preload_content(
2637
+ self,
2638
+ limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
2639
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
2640
+ _request_timeout: Union[
2641
+ None,
2642
+ Annotated[StrictFloat, Field(gt=0)],
2643
+ Tuple[
2644
+ Annotated[StrictFloat, Field(gt=0)],
2645
+ Annotated[StrictFloat, Field(gt=0)]
2646
+ ]
2647
+ ] = None,
2648
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2649
+ _content_type: Optional[StrictStr] = None,
2650
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2651
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2652
+ ) -> RESTResponseType:
2653
+ """test_service_list_most_recent_tests
2654
+
2655
+
2656
+ :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
2657
+ :type limit: int
2658
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
2659
+ :type filter: str
2660
+ :param _request_timeout: timeout setting for this request. If one
2661
+ number provided, it will be total request
2662
+ timeout. It can also be a pair (tuple) of
2663
+ (connection, read) timeouts.
2664
+ :type _request_timeout: int, tuple(int, int), optional
2665
+ :param _request_auth: set to override the auth_settings for an a single
2666
+ request; this effectively ignores the
2667
+ authentication in the spec for a single request.
2668
+ :type _request_auth: dict, optional
2669
+ :param _content_type: force content-type for the request.
2670
+ :type _content_type: str, Optional
2671
+ :param _headers: set to override the headers for a single
2672
+ request; this effectively ignores the headers
2673
+ in the spec for a single request.
2674
+ :type _headers: dict, optional
2675
+ :param _host_index: set to override the host_index for a single
2676
+ request; this effectively ignores the host_index
2677
+ in the spec for a single request.
2678
+ :type _host_index: int, optional
2679
+ :return: Returns the result object.
2680
+ """ # noqa: E501
2681
+
2682
+ _param = self._test_service_list_most_recent_tests_serialize(
2683
+ limit=limit,
2684
+ filter=filter,
2685
+ _request_auth=_request_auth,
2686
+ _content_type=_content_type,
2687
+ _headers=_headers,
2688
+ _host_index=_host_index
2689
+ )
2690
+
2691
+ _response_types_map: Dict[str, Optional[str]] = {
2692
+ '200': "V1ListMostRecentTestsResponse",
2693
+ }
2694
+ response_data = self.api_client.call_api(
2695
+ *_param,
2696
+ _request_timeout=_request_timeout
2697
+ )
2698
+ return response_data.response
2699
+
2700
+
2701
+ def _test_service_list_most_recent_tests_serialize(
2702
+ self,
2703
+ limit,
2704
+ filter,
2705
+ _request_auth,
2706
+ _content_type,
2707
+ _headers,
2708
+ _host_index,
2709
+ ) -> RequestSerialized:
2710
+
2711
+ _host = None
2712
+
2713
+ _collection_formats: Dict[str, str] = {
2714
+ }
2715
+
2716
+ _path_params: Dict[str, str] = {}
2717
+ _query_params: List[Tuple[str, str]] = []
2718
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2719
+ _form_params: List[Tuple[str, str]] = []
2720
+ _files: Dict[str, Union[str, bytes]] = {}
2721
+ _body_params: Optional[bytes] = None
2722
+
2723
+ # process the path parameters
2724
+ # process the query parameters
2725
+ if limit is not None:
2726
+
2727
+ _query_params.append(('limit', limit))
2728
+
2729
+ if filter is not None:
2730
+
2731
+ _query_params.append(('filter', filter))
2732
+
2733
+ # process the header parameters
2734
+ # process the form parameters
2735
+ # process the body parameter
2736
+
2737
+
2738
+ # set the HTTP header `Accept`
2739
+ _header_params['Accept'] = self.api_client.select_header_accept(
2740
+ [
2741
+ 'application/json'
2742
+ ]
2743
+ )
2744
+
2745
+
2746
+ # authentication setting
2747
+ _auth_settings: List[str] = [
2748
+ ]
2749
+
2750
+ return self.api_client.param_serialize(
2751
+ method='GET',
2752
+ resource_path='/v1/tests:mostRecent',
2753
+ path_params=_path_params,
2754
+ query_params=_query_params,
2755
+ header_params=_header_params,
2756
+ body=_body_params,
2757
+ post_params=_form_params,
2758
+ files=_files,
2759
+ auth_settings=_auth_settings,
2760
+ collection_formats=_collection_formats,
2761
+ _host=_host,
2762
+ _request_auth=_request_auth
2763
+ )
2764
+
2765
+
2766
+
2767
+
2768
+ @validate_call
2769
+ def test_service_list_test_case_library_items(
2770
+ self,
2771
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
2772
+ body: TestServiceListTestCaseLibraryItemsRequest,
2773
+ _request_timeout: Union[
2774
+ None,
2775
+ Annotated[StrictFloat, Field(gt=0)],
2776
+ Tuple[
2777
+ Annotated[StrictFloat, Field(gt=0)],
2778
+ Annotated[StrictFloat, Field(gt=0)]
2779
+ ]
2780
+ ] = None,
2781
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2782
+ _content_type: Optional[StrictStr] = None,
2783
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2784
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2785
+ ) -> V1ListTestCaseLibraryItemsResponse:
2786
+ """test_service_list_test_case_library_items
2787
+
2788
+
2789
+ :param name: Required. The Test for which to list the items. (required)
2790
+ :type name: str
2791
+ :param body: (required)
2792
+ :type body: TestServiceListTestCaseLibraryItemsRequest
2793
+ :param _request_timeout: timeout setting for this request. If one
2794
+ number provided, it will be total request
2795
+ timeout. It can also be a pair (tuple) of
2796
+ (connection, read) timeouts.
2797
+ :type _request_timeout: int, tuple(int, int), optional
2798
+ :param _request_auth: set to override the auth_settings for an a single
2799
+ request; this effectively ignores the
2800
+ authentication in the spec for a single request.
2801
+ :type _request_auth: dict, optional
2802
+ :param _content_type: force content-type for the request.
2803
+ :type _content_type: str, Optional
2804
+ :param _headers: set to override the headers for a single
2805
+ request; this effectively ignores the headers
2806
+ in the spec for a single request.
2807
+ :type _headers: dict, optional
2808
+ :param _host_index: set to override the host_index for a single
2809
+ request; this effectively ignores the host_index
2810
+ in the spec for a single request.
2811
+ :type _host_index: int, optional
2812
+ :return: Returns the result object.
2813
+ """ # noqa: E501
2814
+
2815
+ _param = self._test_service_list_test_case_library_items_serialize(
2816
+ name=name,
2817
+ body=body,
2818
+ _request_auth=_request_auth,
2819
+ _content_type=_content_type,
2820
+ _headers=_headers,
2821
+ _host_index=_host_index
2822
+ )
2823
+
2824
+ _response_types_map: Dict[str, Optional[str]] = {
2825
+ '200': "V1ListTestCaseLibraryItemsResponse",
2826
+ }
2827
+ response_data = self.api_client.call_api(
2828
+ *_param,
2829
+ _request_timeout=_request_timeout
2830
+ )
2831
+ response_data.read()
2832
+ return self.api_client.response_deserialize(
2833
+ response_data=response_data,
2834
+ response_types_map=_response_types_map,
2835
+ ).data
2836
+
2837
+
2838
+ @validate_call
2839
+ def test_service_list_test_case_library_items_with_http_info(
2840
+ self,
2841
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
2842
+ body: TestServiceListTestCaseLibraryItemsRequest,
2843
+ _request_timeout: Union[
2844
+ None,
2845
+ Annotated[StrictFloat, Field(gt=0)],
2846
+ Tuple[
2847
+ Annotated[StrictFloat, Field(gt=0)],
2848
+ Annotated[StrictFloat, Field(gt=0)]
2849
+ ]
2850
+ ] = None,
2851
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2852
+ _content_type: Optional[StrictStr] = None,
2853
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2854
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2855
+ ) -> ApiResponse[V1ListTestCaseLibraryItemsResponse]:
2856
+ """test_service_list_test_case_library_items
2857
+
2858
+
2859
+ :param name: Required. The Test for which to list the items. (required)
2860
+ :type name: str
2861
+ :param body: (required)
2862
+ :type body: TestServiceListTestCaseLibraryItemsRequest
2863
+ :param _request_timeout: timeout setting for this request. If one
2864
+ number provided, it will be total request
2865
+ timeout. It can also be a pair (tuple) of
2866
+ (connection, read) timeouts.
2867
+ :type _request_timeout: int, tuple(int, int), optional
2868
+ :param _request_auth: set to override the auth_settings for an a single
2869
+ request; this effectively ignores the
2870
+ authentication in the spec for a single request.
2871
+ :type _request_auth: dict, optional
2872
+ :param _content_type: force content-type for the request.
2873
+ :type _content_type: str, Optional
2874
+ :param _headers: set to override the headers for a single
2875
+ request; this effectively ignores the headers
2876
+ in the spec for a single request.
2877
+ :type _headers: dict, optional
2878
+ :param _host_index: set to override the host_index for a single
2879
+ request; this effectively ignores the host_index
2880
+ in the spec for a single request.
2881
+ :type _host_index: int, optional
2882
+ :return: Returns the result object.
2883
+ """ # noqa: E501
2884
+
2885
+ _param = self._test_service_list_test_case_library_items_serialize(
2886
+ name=name,
2887
+ body=body,
2888
+ _request_auth=_request_auth,
2889
+ _content_type=_content_type,
2890
+ _headers=_headers,
2891
+ _host_index=_host_index
2892
+ )
2893
+
2894
+ _response_types_map: Dict[str, Optional[str]] = {
2895
+ '200': "V1ListTestCaseLibraryItemsResponse",
2896
+ }
2897
+ response_data = self.api_client.call_api(
2898
+ *_param,
2899
+ _request_timeout=_request_timeout
2900
+ )
2901
+ response_data.read()
2902
+ return self.api_client.response_deserialize(
2903
+ response_data=response_data,
2904
+ response_types_map=_response_types_map,
2905
+ )
2906
+
2907
+
2908
+ @validate_call
2909
+ def test_service_list_test_case_library_items_without_preload_content(
2910
+ self,
2911
+ name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
2912
+ body: TestServiceListTestCaseLibraryItemsRequest,
2913
+ _request_timeout: Union[
2914
+ None,
2915
+ Annotated[StrictFloat, Field(gt=0)],
2916
+ Tuple[
2917
+ Annotated[StrictFloat, Field(gt=0)],
2918
+ Annotated[StrictFloat, Field(gt=0)]
2919
+ ]
2920
+ ] = None,
2921
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2922
+ _content_type: Optional[StrictStr] = None,
2923
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2924
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2925
+ ) -> RESTResponseType:
2926
+ """test_service_list_test_case_library_items
2927
+
2928
+
2929
+ :param name: Required. The Test for which to list the items. (required)
2930
+ :type name: str
2931
+ :param body: (required)
2932
+ :type body: TestServiceListTestCaseLibraryItemsRequest
2933
+ :param _request_timeout: timeout setting for this request. If one
2934
+ number provided, it will be total request
2935
+ timeout. It can also be a pair (tuple) of
2936
+ (connection, read) timeouts.
2937
+ :type _request_timeout: int, tuple(int, int), optional
2938
+ :param _request_auth: set to override the auth_settings for an a single
2939
+ request; this effectively ignores the
2940
+ authentication in the spec for a single request.
2941
+ :type _request_auth: dict, optional
2942
+ :param _content_type: force content-type for the request.
2943
+ :type _content_type: str, Optional
2944
+ :param _headers: set to override the headers for a single
2945
+ request; this effectively ignores the headers
2946
+ in the spec for a single request.
2947
+ :type _headers: dict, optional
2948
+ :param _host_index: set to override the host_index for a single
2949
+ request; this effectively ignores the host_index
2950
+ in the spec for a single request.
2951
+ :type _host_index: int, optional
2952
+ :return: Returns the result object.
2953
+ """ # noqa: E501
2954
+
2955
+ _param = self._test_service_list_test_case_library_items_serialize(
2956
+ name=name,
2957
+ body=body,
2958
+ _request_auth=_request_auth,
2959
+ _content_type=_content_type,
2960
+ _headers=_headers,
2961
+ _host_index=_host_index
2962
+ )
2963
+
2964
+ _response_types_map: Dict[str, Optional[str]] = {
2965
+ '200': "V1ListTestCaseLibraryItemsResponse",
2966
+ }
2967
+ response_data = self.api_client.call_api(
2968
+ *_param,
2969
+ _request_timeout=_request_timeout
2970
+ )
2971
+ return response_data.response
2972
+
2973
+
2974
+ def _test_service_list_test_case_library_items_serialize(
2975
+ self,
2976
+ name,
2977
+ body,
2978
+ _request_auth,
2979
+ _content_type,
2980
+ _headers,
2981
+ _host_index,
2982
+ ) -> RequestSerialized:
2983
+
2984
+ _host = None
2985
+
2986
+ _collection_formats: Dict[str, str] = {
2987
+ }
2988
+
2989
+ _path_params: Dict[str, str] = {}
2990
+ _query_params: List[Tuple[str, str]] = []
2991
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2992
+ _form_params: List[Tuple[str, str]] = []
2993
+ _files: Dict[str, Union[str, bytes]] = {}
2994
+ _body_params: Optional[bytes] = None
2995
+
2996
+ # process the path parameters
2997
+ if name is not None:
2998
+ _path_params['name'] = name
2999
+ # process the query parameters
3000
+ # process the header parameters
3001
+ # process the form parameters
3002
+ # process the body parameter
3003
+ if body is not None:
3004
+ _body_params = body
3005
+
3006
+
3007
+ # set the HTTP header `Accept`
3008
+ _header_params['Accept'] = self.api_client.select_header_accept(
3009
+ [
3010
+ 'application/json'
3011
+ ]
3012
+ )
3013
+
3014
+ # set the HTTP header `Content-Type`
3015
+ if _content_type:
3016
+ _header_params['Content-Type'] = _content_type
3017
+ else:
3018
+ _default_content_type = (
3019
+ self.api_client.select_header_content_type(
3020
+ [
3021
+ 'application/json'
3022
+ ]
3023
+ )
3024
+ )
3025
+ if _default_content_type is not None:
3026
+ _header_params['Content-Type'] = _default_content_type
3027
+
3028
+ # authentication setting
3029
+ _auth_settings: List[str] = [
3030
+ ]
3031
+
3032
+ return self.api_client.param_serialize(
3033
+ method='POST',
3034
+ resource_path='/v1/{name}:listTestCaseLibraryItems',
3035
+ path_params=_path_params,
3036
+ query_params=_query_params,
3037
+ header_params=_header_params,
3038
+ body=_body_params,
3039
+ post_params=_form_params,
3040
+ files=_files,
3041
+ auth_settings=_auth_settings,
3042
+ collection_formats=_collection_formats,
3043
+ _host=_host,
3044
+ _request_auth=_request_auth
3045
+ )
3046
+
3047
+
3048
+
3049
+
3050
+ @validate_call
3051
+ def test_service_list_tests(
3052
+ self,
3053
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
3054
+ order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
3055
+ _request_timeout: Union[
3056
+ None,
3057
+ Annotated[StrictFloat, Field(gt=0)],
3058
+ Tuple[
3059
+ Annotated[StrictFloat, Field(gt=0)],
3060
+ Annotated[StrictFloat, Field(gt=0)]
3061
+ ]
3062
+ ] = None,
3063
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3064
+ _content_type: Optional[StrictStr] = None,
3065
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3066
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3067
+ ) -> V1ListTestsResponse:
3068
+ """test_service_list_tests
3069
+
3070
+
3071
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
3072
+ :type filter: str
3073
+ :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
3074
+ :type order_by: str
1945
3075
  :param _request_timeout: timeout setting for this request. If one
1946
3076
  number provided, it will be total request
1947
3077
  timeout. It can also be a pair (tuple) of
@@ -1964,8 +3094,9 @@ class TestServiceApi:
1964
3094
  :return: Returns the result object.
1965
3095
  """ # noqa: E501
1966
3096
 
1967
- _param = self._test_service_list_most_recent_tests_serialize(
1968
- limit=limit,
3097
+ _param = self._test_service_list_tests_serialize(
3098
+ filter=filter,
3099
+ order_by=order_by,
1969
3100
  _request_auth=_request_auth,
1970
3101
  _content_type=_content_type,
1971
3102
  _headers=_headers,
@@ -1973,7 +3104,7 @@ class TestServiceApi:
1973
3104
  )
1974
3105
 
1975
3106
  _response_types_map: Dict[str, Optional[str]] = {
1976
- '200': "V1ListMostRecentTestsResponse",
3107
+ '200': "V1ListTestsResponse",
1977
3108
  }
1978
3109
  response_data = self.api_client.call_api(
1979
3110
  *_param,
@@ -1987,9 +3118,10 @@ class TestServiceApi:
1987
3118
 
1988
3119
 
1989
3120
  @validate_call
1990
- def test_service_list_most_recent_tests_with_http_info(
3121
+ def test_service_list_tests_with_http_info(
1991
3122
  self,
1992
- limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
3123
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
3124
+ order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
1993
3125
  _request_timeout: Union[
1994
3126
  None,
1995
3127
  Annotated[StrictFloat, Field(gt=0)],
@@ -2002,12 +3134,14 @@ class TestServiceApi:
2002
3134
  _content_type: Optional[StrictStr] = None,
2003
3135
  _headers: Optional[Dict[StrictStr, Any]] = None,
2004
3136
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2005
- ) -> ApiResponse[V1ListMostRecentTestsResponse]:
2006
- """test_service_list_most_recent_tests
3137
+ ) -> ApiResponse[V1ListTestsResponse]:
3138
+ """test_service_list_tests
2007
3139
 
2008
3140
 
2009
- :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
2010
- :type limit: int
3141
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
3142
+ :type filter: str
3143
+ :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
3144
+ :type order_by: str
2011
3145
  :param _request_timeout: timeout setting for this request. If one
2012
3146
  number provided, it will be total request
2013
3147
  timeout. It can also be a pair (tuple) of
@@ -2030,8 +3164,9 @@ class TestServiceApi:
2030
3164
  :return: Returns the result object.
2031
3165
  """ # noqa: E501
2032
3166
 
2033
- _param = self._test_service_list_most_recent_tests_serialize(
2034
- limit=limit,
3167
+ _param = self._test_service_list_tests_serialize(
3168
+ filter=filter,
3169
+ order_by=order_by,
2035
3170
  _request_auth=_request_auth,
2036
3171
  _content_type=_content_type,
2037
3172
  _headers=_headers,
@@ -2039,7 +3174,7 @@ class TestServiceApi:
2039
3174
  )
2040
3175
 
2041
3176
  _response_types_map: Dict[str, Optional[str]] = {
2042
- '200': "V1ListMostRecentTestsResponse",
3177
+ '200': "V1ListTestsResponse",
2043
3178
  }
2044
3179
  response_data = self.api_client.call_api(
2045
3180
  *_param,
@@ -2053,9 +3188,10 @@ class TestServiceApi:
2053
3188
 
2054
3189
 
2055
3190
  @validate_call
2056
- def test_service_list_most_recent_tests_without_preload_content(
3191
+ def test_service_list_tests_without_preload_content(
2057
3192
  self,
2058
- limit: Annotated[Optional[StrictInt], Field(description="Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.")] = None,
3193
+ filter: Annotated[Optional[StrictStr], Field(description="Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported")] = None,
3194
+ order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
2059
3195
  _request_timeout: Union[
2060
3196
  None,
2061
3197
  Annotated[StrictFloat, Field(gt=0)],
@@ -2069,11 +3205,13 @@ class TestServiceApi:
2069
3205
  _headers: Optional[Dict[StrictStr, Any]] = None,
2070
3206
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2071
3207
  ) -> RESTResponseType:
2072
- """test_service_list_most_recent_tests
3208
+ """test_service_list_tests
2073
3209
 
2074
3210
 
2075
- :param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
2076
- :type limit: int
3211
+ :param filter: Optional. If specified, only leaderboards matching the filter will be returned. Attempts to implement AIP-160 (https://aip.dev/160), although not all fields, operators and features are supported. Supported fields: - type - only '=' operator is supported
3212
+ :type filter: str
3213
+ :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
3214
+ :type order_by: str
2077
3215
  :param _request_timeout: timeout setting for this request. If one
2078
3216
  number provided, it will be total request
2079
3217
  timeout. It can also be a pair (tuple) of
@@ -2096,8 +3234,9 @@ class TestServiceApi:
2096
3234
  :return: Returns the result object.
2097
3235
  """ # noqa: E501
2098
3236
 
2099
- _param = self._test_service_list_most_recent_tests_serialize(
2100
- limit=limit,
3237
+ _param = self._test_service_list_tests_serialize(
3238
+ filter=filter,
3239
+ order_by=order_by,
2101
3240
  _request_auth=_request_auth,
2102
3241
  _content_type=_content_type,
2103
3242
  _headers=_headers,
@@ -2105,7 +3244,7 @@ class TestServiceApi:
2105
3244
  )
2106
3245
 
2107
3246
  _response_types_map: Dict[str, Optional[str]] = {
2108
- '200': "V1ListMostRecentTestsResponse",
3247
+ '200': "V1ListTestsResponse",
2109
3248
  }
2110
3249
  response_data = self.api_client.call_api(
2111
3250
  *_param,
@@ -2114,9 +3253,10 @@ class TestServiceApi:
2114
3253
  return response_data.response
2115
3254
 
2116
3255
 
2117
- def _test_service_list_most_recent_tests_serialize(
3256
+ def _test_service_list_tests_serialize(
2118
3257
  self,
2119
- limit,
3258
+ filter,
3259
+ order_by,
2120
3260
  _request_auth,
2121
3261
  _content_type,
2122
3262
  _headers,
@@ -2137,9 +3277,13 @@ class TestServiceApi:
2137
3277
 
2138
3278
  # process the path parameters
2139
3279
  # process the query parameters
2140
- if limit is not None:
3280
+ if filter is not None:
2141
3281
 
2142
- _query_params.append(('limit', limit))
3282
+ _query_params.append(('filter', filter))
3283
+
3284
+ if order_by is not None:
3285
+
3286
+ _query_params.append(('orderBy', order_by))
2143
3287
 
2144
3288
  # process the header parameters
2145
3289
  # process the form parameters
@@ -2160,7 +3304,7 @@ class TestServiceApi:
2160
3304
 
2161
3305
  return self.api_client.param_serialize(
2162
3306
  method='GET',
2163
- resource_path='/v1/tests:mostRecent',
3307
+ resource_path='/v1/tests',
2164
3308
  path_params=_path_params,
2165
3309
  query_params=_query_params,
2166
3310
  header_params=_header_params,
@@ -2177,9 +3321,10 @@ class TestServiceApi:
2177
3321
 
2178
3322
 
2179
3323
  @validate_call
2180
- def test_service_list_tests(
3324
+ def test_service_perturb_test(
2181
3325
  self,
2182
- order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
3326
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
3327
+ body: TestServicePerturbTestRequest,
2183
3328
  _request_timeout: Union[
2184
3329
  None,
2185
3330
  Annotated[StrictFloat, Field(gt=0)],
@@ -2192,12 +3337,14 @@ class TestServiceApi:
2192
3337
  _content_type: Optional[StrictStr] = None,
2193
3338
  _headers: Optional[Dict[StrictStr, Any]] = None,
2194
3339
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2195
- ) -> V1ListTestsResponse:
2196
- """test_service_list_tests
3340
+ ) -> V1PerturbTestResponse:
3341
+ """test_service_perturb_test
2197
3342
 
2198
3343
 
2199
- :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
2200
- :type order_by: str
3344
+ :param name: Required. The name of the Test to perturb. (required)
3345
+ :type name: str
3346
+ :param body: (required)
3347
+ :type body: TestServicePerturbTestRequest
2201
3348
  :param _request_timeout: timeout setting for this request. If one
2202
3349
  number provided, it will be total request
2203
3350
  timeout. It can also be a pair (tuple) of
@@ -2220,8 +3367,9 @@ class TestServiceApi:
2220
3367
  :return: Returns the result object.
2221
3368
  """ # noqa: E501
2222
3369
 
2223
- _param = self._test_service_list_tests_serialize(
2224
- order_by=order_by,
3370
+ _param = self._test_service_perturb_test_serialize(
3371
+ name=name,
3372
+ body=body,
2225
3373
  _request_auth=_request_auth,
2226
3374
  _content_type=_content_type,
2227
3375
  _headers=_headers,
@@ -2229,7 +3377,7 @@ class TestServiceApi:
2229
3377
  )
2230
3378
 
2231
3379
  _response_types_map: Dict[str, Optional[str]] = {
2232
- '200': "V1ListTestsResponse",
3380
+ '200': "V1PerturbTestResponse",
2233
3381
  }
2234
3382
  response_data = self.api_client.call_api(
2235
3383
  *_param,
@@ -2243,9 +3391,10 @@ class TestServiceApi:
2243
3391
 
2244
3392
 
2245
3393
  @validate_call
2246
- def test_service_list_tests_with_http_info(
3394
+ def test_service_perturb_test_with_http_info(
2247
3395
  self,
2248
- order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
3396
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
3397
+ body: TestServicePerturbTestRequest,
2249
3398
  _request_timeout: Union[
2250
3399
  None,
2251
3400
  Annotated[StrictFloat, Field(gt=0)],
@@ -2258,12 +3407,14 @@ class TestServiceApi:
2258
3407
  _content_type: Optional[StrictStr] = None,
2259
3408
  _headers: Optional[Dict[StrictStr, Any]] = None,
2260
3409
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2261
- ) -> ApiResponse[V1ListTestsResponse]:
2262
- """test_service_list_tests
3410
+ ) -> ApiResponse[V1PerturbTestResponse]:
3411
+ """test_service_perturb_test
2263
3412
 
2264
3413
 
2265
- :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
2266
- :type order_by: str
3414
+ :param name: Required. The name of the Test to perturb. (required)
3415
+ :type name: str
3416
+ :param body: (required)
3417
+ :type body: TestServicePerturbTestRequest
2267
3418
  :param _request_timeout: timeout setting for this request. If one
2268
3419
  number provided, it will be total request
2269
3420
  timeout. It can also be a pair (tuple) of
@@ -2286,8 +3437,9 @@ class TestServiceApi:
2286
3437
  :return: Returns the result object.
2287
3438
  """ # noqa: E501
2288
3439
 
2289
- _param = self._test_service_list_tests_serialize(
2290
- order_by=order_by,
3440
+ _param = self._test_service_perturb_test_serialize(
3441
+ name=name,
3442
+ body=body,
2291
3443
  _request_auth=_request_auth,
2292
3444
  _content_type=_content_type,
2293
3445
  _headers=_headers,
@@ -2295,7 +3447,7 @@ class TestServiceApi:
2295
3447
  )
2296
3448
 
2297
3449
  _response_types_map: Dict[str, Optional[str]] = {
2298
- '200': "V1ListTestsResponse",
3450
+ '200': "V1PerturbTestResponse",
2299
3451
  }
2300
3452
  response_data = self.api_client.call_api(
2301
3453
  *_param,
@@ -2309,9 +3461,10 @@ class TestServiceApi:
2309
3461
 
2310
3462
 
2311
3463
  @validate_call
2312
- def test_service_list_tests_without_preload_content(
3464
+ def test_service_perturb_test_without_preload_content(
2313
3465
  self,
2314
- order_by: Annotated[Optional[StrictStr], Field(description="If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time")] = None,
3466
+ name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
3467
+ body: TestServicePerturbTestRequest,
2315
3468
  _request_timeout: Union[
2316
3469
  None,
2317
3470
  Annotated[StrictFloat, Field(gt=0)],
@@ -2325,11 +3478,13 @@ class TestServiceApi:
2325
3478
  _headers: Optional[Dict[StrictStr, Any]] = None,
2326
3479
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2327
3480
  ) -> RESTResponseType:
2328
- """test_service_list_tests
3481
+ """test_service_perturb_test
2329
3482
 
2330
3483
 
2331
- :param order_by: If specified, the returned tests will be ordered by the specified field. Attempts to implement AIP-130 (https://google.aip.dev/132#ordering), although not all features are supported yet. Supported fields: - create_time - update_time
2332
- :type order_by: str
3484
+ :param name: Required. The name of the Test to perturb. (required)
3485
+ :type name: str
3486
+ :param body: (required)
3487
+ :type body: TestServicePerturbTestRequest
2333
3488
  :param _request_timeout: timeout setting for this request. If one
2334
3489
  number provided, it will be total request
2335
3490
  timeout. It can also be a pair (tuple) of
@@ -2352,8 +3507,9 @@ class TestServiceApi:
2352
3507
  :return: Returns the result object.
2353
3508
  """ # noqa: E501
2354
3509
 
2355
- _param = self._test_service_list_tests_serialize(
2356
- order_by=order_by,
3510
+ _param = self._test_service_perturb_test_serialize(
3511
+ name=name,
3512
+ body=body,
2357
3513
  _request_auth=_request_auth,
2358
3514
  _content_type=_content_type,
2359
3515
  _headers=_headers,
@@ -2361,7 +3517,7 @@ class TestServiceApi:
2361
3517
  )
2362
3518
 
2363
3519
  _response_types_map: Dict[str, Optional[str]] = {
2364
- '200': "V1ListTestsResponse",
3520
+ '200': "V1PerturbTestResponse",
2365
3521
  }
2366
3522
  response_data = self.api_client.call_api(
2367
3523
  *_param,
@@ -2370,9 +3526,10 @@ class TestServiceApi:
2370
3526
  return response_data.response
2371
3527
 
2372
3528
 
2373
- def _test_service_list_tests_serialize(
3529
+ def _test_service_perturb_test_serialize(
2374
3530
  self,
2375
- order_by,
3531
+ name,
3532
+ body,
2376
3533
  _request_auth,
2377
3534
  _content_type,
2378
3535
  _headers,
@@ -2392,14 +3549,14 @@ class TestServiceApi:
2392
3549
  _body_params: Optional[bytes] = None
2393
3550
 
2394
3551
  # process the path parameters
3552
+ if name is not None:
3553
+ _path_params['name'] = name
2395
3554
  # process the query parameters
2396
- if order_by is not None:
2397
-
2398
- _query_params.append(('orderBy', order_by))
2399
-
2400
3555
  # process the header parameters
2401
3556
  # process the form parameters
2402
3557
  # process the body parameter
3558
+ if body is not None:
3559
+ _body_params = body
2403
3560
 
2404
3561
 
2405
3562
  # set the HTTP header `Accept`
@@ -2409,14 +3566,27 @@ class TestServiceApi:
2409
3566
  ]
2410
3567
  )
2411
3568
 
3569
+ # set the HTTP header `Content-Type`
3570
+ if _content_type:
3571
+ _header_params['Content-Type'] = _content_type
3572
+ else:
3573
+ _default_content_type = (
3574
+ self.api_client.select_header_content_type(
3575
+ [
3576
+ 'application/json'
3577
+ ]
3578
+ )
3579
+ )
3580
+ if _default_content_type is not None:
3581
+ _header_params['Content-Type'] = _default_content_type
2412
3582
 
2413
3583
  # authentication setting
2414
3584
  _auth_settings: List[str] = [
2415
3585
  ]
2416
3586
 
2417
3587
  return self.api_client.param_serialize(
2418
- method='GET',
2419
- resource_path='/v1/tests',
3588
+ method='POST',
3589
+ resource_path='/v1/{name}:perturb',
2420
3590
  path_params=_path_params,
2421
3591
  query_params=_query_params,
2422
3592
  header_params=_header_params,
@@ -2433,10 +3603,10 @@ class TestServiceApi:
2433
3603
 
2434
3604
 
2435
3605
  @validate_call
2436
- def test_service_perturb_test(
3606
+ def test_service_perturb_test_in_place(
2437
3607
  self,
2438
3608
  name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
2439
- body: TestServicePerturbTestRequest,
3609
+ body: TestServicePerturbTestInPlaceRequest,
2440
3610
  _request_timeout: Union[
2441
3611
  None,
2442
3612
  Annotated[StrictFloat, Field(gt=0)],
@@ -2449,14 +3619,14 @@ class TestServiceApi:
2449
3619
  _content_type: Optional[StrictStr] = None,
2450
3620
  _headers: Optional[Dict[StrictStr, Any]] = None,
2451
3621
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2452
- ) -> V1PerturbTestResponse:
2453
- """test_service_perturb_test
3622
+ ) -> V1PerturbTestInPlaceResponse:
3623
+ """test_service_perturb_test_in_place
2454
3624
 
2455
3625
 
2456
3626
  :param name: Required. The name of the Test to perturb. (required)
2457
3627
  :type name: str
2458
3628
  :param body: (required)
2459
- :type body: TestServicePerturbTestRequest
3629
+ :type body: TestServicePerturbTestInPlaceRequest
2460
3630
  :param _request_timeout: timeout setting for this request. If one
2461
3631
  number provided, it will be total request
2462
3632
  timeout. It can also be a pair (tuple) of
@@ -2479,7 +3649,7 @@ class TestServiceApi:
2479
3649
  :return: Returns the result object.
2480
3650
  """ # noqa: E501
2481
3651
 
2482
- _param = self._test_service_perturb_test_serialize(
3652
+ _param = self._test_service_perturb_test_in_place_serialize(
2483
3653
  name=name,
2484
3654
  body=body,
2485
3655
  _request_auth=_request_auth,
@@ -2489,7 +3659,7 @@ class TestServiceApi:
2489
3659
  )
2490
3660
 
2491
3661
  _response_types_map: Dict[str, Optional[str]] = {
2492
- '200': "V1PerturbTestResponse",
3662
+ '200': "V1PerturbTestInPlaceResponse",
2493
3663
  }
2494
3664
  response_data = self.api_client.call_api(
2495
3665
  *_param,
@@ -2503,10 +3673,10 @@ class TestServiceApi:
2503
3673
 
2504
3674
 
2505
3675
  @validate_call
2506
- def test_service_perturb_test_with_http_info(
3676
+ def test_service_perturb_test_in_place_with_http_info(
2507
3677
  self,
2508
3678
  name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
2509
- body: TestServicePerturbTestRequest,
3679
+ body: TestServicePerturbTestInPlaceRequest,
2510
3680
  _request_timeout: Union[
2511
3681
  None,
2512
3682
  Annotated[StrictFloat, Field(gt=0)],
@@ -2519,14 +3689,14 @@ class TestServiceApi:
2519
3689
  _content_type: Optional[StrictStr] = None,
2520
3690
  _headers: Optional[Dict[StrictStr, Any]] = None,
2521
3691
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2522
- ) -> ApiResponse[V1PerturbTestResponse]:
2523
- """test_service_perturb_test
3692
+ ) -> ApiResponse[V1PerturbTestInPlaceResponse]:
3693
+ """test_service_perturb_test_in_place
2524
3694
 
2525
3695
 
2526
3696
  :param name: Required. The name of the Test to perturb. (required)
2527
3697
  :type name: str
2528
3698
  :param body: (required)
2529
- :type body: TestServicePerturbTestRequest
3699
+ :type body: TestServicePerturbTestInPlaceRequest
2530
3700
  :param _request_timeout: timeout setting for this request. If one
2531
3701
  number provided, it will be total request
2532
3702
  timeout. It can also be a pair (tuple) of
@@ -2549,7 +3719,7 @@ class TestServiceApi:
2549
3719
  :return: Returns the result object.
2550
3720
  """ # noqa: E501
2551
3721
 
2552
- _param = self._test_service_perturb_test_serialize(
3722
+ _param = self._test_service_perturb_test_in_place_serialize(
2553
3723
  name=name,
2554
3724
  body=body,
2555
3725
  _request_auth=_request_auth,
@@ -2559,7 +3729,7 @@ class TestServiceApi:
2559
3729
  )
2560
3730
 
2561
3731
  _response_types_map: Dict[str, Optional[str]] = {
2562
- '200': "V1PerturbTestResponse",
3732
+ '200': "V1PerturbTestInPlaceResponse",
2563
3733
  }
2564
3734
  response_data = self.api_client.call_api(
2565
3735
  *_param,
@@ -2573,10 +3743,10 @@ class TestServiceApi:
2573
3743
 
2574
3744
 
2575
3745
  @validate_call
2576
- def test_service_perturb_test_without_preload_content(
3746
+ def test_service_perturb_test_in_place_without_preload_content(
2577
3747
  self,
2578
3748
  name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
2579
- body: TestServicePerturbTestRequest,
3749
+ body: TestServicePerturbTestInPlaceRequest,
2580
3750
  _request_timeout: Union[
2581
3751
  None,
2582
3752
  Annotated[StrictFloat, Field(gt=0)],
@@ -2590,13 +3760,13 @@ class TestServiceApi:
2590
3760
  _headers: Optional[Dict[StrictStr, Any]] = None,
2591
3761
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2592
3762
  ) -> RESTResponseType:
2593
- """test_service_perturb_test
3763
+ """test_service_perturb_test_in_place
2594
3764
 
2595
3765
 
2596
3766
  :param name: Required. The name of the Test to perturb. (required)
2597
3767
  :type name: str
2598
3768
  :param body: (required)
2599
- :type body: TestServicePerturbTestRequest
3769
+ :type body: TestServicePerturbTestInPlaceRequest
2600
3770
  :param _request_timeout: timeout setting for this request. If one
2601
3771
  number provided, it will be total request
2602
3772
  timeout. It can also be a pair (tuple) of
@@ -2619,7 +3789,7 @@ class TestServiceApi:
2619
3789
  :return: Returns the result object.
2620
3790
  """ # noqa: E501
2621
3791
 
2622
- _param = self._test_service_perturb_test_serialize(
3792
+ _param = self._test_service_perturb_test_in_place_serialize(
2623
3793
  name=name,
2624
3794
  body=body,
2625
3795
  _request_auth=_request_auth,
@@ -2629,7 +3799,7 @@ class TestServiceApi:
2629
3799
  )
2630
3800
 
2631
3801
  _response_types_map: Dict[str, Optional[str]] = {
2632
- '200': "V1PerturbTestResponse",
3802
+ '200': "V1PerturbTestInPlaceResponse",
2633
3803
  }
2634
3804
  response_data = self.api_client.call_api(
2635
3805
  *_param,
@@ -2638,7 +3808,7 @@ class TestServiceApi:
2638
3808
  return response_data.response
2639
3809
 
2640
3810
 
2641
- def _test_service_perturb_test_serialize(
3811
+ def _test_service_perturb_test_in_place_serialize(
2642
3812
  self,
2643
3813
  name,
2644
3814
  body,
@@ -2698,7 +3868,7 @@ class TestServiceApi:
2698
3868
 
2699
3869
  return self.api_client.param_serialize(
2700
3870
  method='POST',
2701
- resource_path='/v1/{name}:perturb',
3871
+ resource_path='/v1/{name}:perturbInPlace',
2702
3872
  path_params=_path_params,
2703
3873
  query_params=_query_params,
2704
3874
  header_params=_header_params,