eval-studio-client 1.0.0a1__py3-none-any.whl → 1.1.0a5__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.
- eval_studio_client/api/__init__.py +79 -1
- eval_studio_client/api/api/__init__.py +9 -0
- eval_studio_client/api/api/adversarial_inputs_service_api.py +321 -0
- eval_studio_client/api/api/dashboard_service_api.py +1 -1
- eval_studio_client/api/api/document_service_api.py +1 -1
- eval_studio_client/api/api/evaluation_service_api.py +1 -1
- eval_studio_client/api/api/evaluator_service_api.py +1 -1
- eval_studio_client/api/api/generated_questions_validation_service_api.py +321 -0
- eval_studio_client/api/api/human_calibration_service_api.py +304 -0
- eval_studio_client/api/api/info_service_api.py +1 -1
- eval_studio_client/api/api/leaderboard_report_service_api.py +292 -0
- eval_studio_client/api/api/leaderboard_service_api.py +17 -17
- eval_studio_client/api/api/model_service_api.py +17 -17
- eval_studio_client/api/api/operation_progress_service_api.py +1 -1
- eval_studio_client/api/api/operation_service_api.py +272 -17
- eval_studio_client/api/api/perturbation_service_api.py +1 -1
- eval_studio_client/api/api/perturbator_service_api.py +285 -18
- eval_studio_client/api/api/prompt_generation_service_api.py +1 -1
- eval_studio_client/api/api/prompt_library_service_api.py +669 -0
- eval_studio_client/api/api/test_case_relationship_service_api.py +292 -0
- eval_studio_client/api/api/test_case_service_api.py +17 -17
- eval_studio_client/api/api/test_class_service_api.py +17 -17
- eval_studio_client/api/api/test_lab_service_api.py +1 -1
- eval_studio_client/api/api/test_service_api.py +1238 -102
- eval_studio_client/api/api/who_am_i_service_api.py +1 -1
- eval_studio_client/api/api/workflow_edge_service_api.py +835 -0
- eval_studio_client/api/api/workflow_node_service_api.py +2431 -0
- eval_studio_client/api/api/workflow_service_api.py +1893 -0
- eval_studio_client/api/api_client.py +1 -1
- eval_studio_client/api/configuration.py +1 -1
- eval_studio_client/api/docs/AdversarialInputsServiceApi.md +78 -0
- eval_studio_client/api/docs/AdversarialInputsServiceTestAdversarialInputsRobustnessRequest.md +45 -0
- eval_studio_client/api/docs/GeneratedQuestionsValidationServiceApi.md +78 -0
- eval_studio_client/api/docs/GeneratedQuestionsValidationServiceValidateGeneratedQuestionsRequest.md +30 -0
- eval_studio_client/api/docs/HumanCalibrationServiceApi.md +77 -0
- eval_studio_client/api/docs/LeaderboardReportServiceApi.md +75 -0
- eval_studio_client/api/docs/LeaderboardServiceApi.md +5 -5
- eval_studio_client/api/docs/ModelServiceApi.md +5 -5
- eval_studio_client/api/docs/OperationServiceApi.md +72 -5
- eval_studio_client/api/docs/PerturbationServiceCreatePerturbationRequest.md +1 -0
- eval_studio_client/api/docs/PerturbatorServiceApi.md +38 -8
- eval_studio_client/api/docs/PromptGenerationServiceAutoGeneratePromptsRequest.md +4 -2
- eval_studio_client/api/docs/PromptLibraryServiceApi.md +155 -0
- eval_studio_client/api/docs/ProtobufNullValue.md +12 -0
- eval_studio_client/api/docs/RequiredTheTestCaseToUpdate.md +3 -0
- eval_studio_client/api/docs/RequiredTheUpdatedWorkflow.md +47 -0
- eval_studio_client/api/docs/RequiredTheUpdatedWorkflowNode.md +44 -0
- eval_studio_client/api/docs/TestCaseRelationshipServiceApi.md +75 -0
- eval_studio_client/api/docs/TestCaseServiceApi.md +5 -5
- eval_studio_client/api/docs/TestClassServiceApi.md +5 -5
- eval_studio_client/api/docs/TestServiceApi.md +285 -5
- eval_studio_client/api/docs/TestServiceCloneTestRequest.md +30 -0
- eval_studio_client/api/docs/TestServiceGenerateTestCasesRequest.md +3 -1
- eval_studio_client/api/docs/TestServiceImportTestCasesFromLibraryRequest.md +32 -0
- eval_studio_client/api/docs/TestServiceListTestCaseLibraryItemsRequest.md +35 -0
- eval_studio_client/api/docs/TestServicePerturbTestInPlaceRequest.md +30 -0
- eval_studio_client/api/docs/TestServicePerturbTestRequest.md +1 -0
- eval_studio_client/api/docs/V1AbortOperationResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchDeleteWorkflowsRequest.md +29 -0
- eval_studio_client/api/docs/V1BatchDeleteWorkflowsResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchGetWorkflowEdgesResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchGetWorkflowNodesResponse.md +29 -0
- eval_studio_client/api/docs/V1CloneTestResponse.md +29 -0
- eval_studio_client/api/docs/V1CloneWorkflowResponse.md +29 -0
- eval_studio_client/api/docs/V1Context.md +32 -0
- eval_studio_client/api/docs/V1CreateEvaluationRequest.md +1 -0
- eval_studio_client/api/docs/V1CreateWorkflowEdgeResponse.md +29 -0
- eval_studio_client/api/docs/V1CreateWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1CreateWorkflowResponse.md +29 -0
- eval_studio_client/api/docs/V1DeleteWorkflowEdgeResponse.md +29 -0
- eval_studio_client/api/docs/V1DeleteWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1DeleteWorkflowResponse.md +29 -0
- eval_studio_client/api/docs/V1EstimateThresholdRequest.md +33 -0
- eval_studio_client/api/docs/V1GeneratedTestCase.md +30 -0
- eval_studio_client/api/docs/V1GetLeaderboardReportResponse.md +29 -0
- eval_studio_client/api/docs/V1GetWorkflowNodePrerequisitesResponse.md +30 -0
- eval_studio_client/api/docs/V1GetWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1GetWorkflowResponse.md +29 -0
- eval_studio_client/api/docs/V1ImportEvaluationRequest.md +1 -0
- eval_studio_client/api/docs/V1ImportTestCasesFromLibraryResponse.md +29 -0
- eval_studio_client/api/docs/V1ImportTestCasesRequest.md +33 -0
- eval_studio_client/api/docs/V1Info.md +3 -0
- eval_studio_client/api/docs/V1InitWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1LabeledTestCase.md +31 -0
- eval_studio_client/api/docs/V1LeaderboardReport.md +32 -0
- eval_studio_client/api/docs/V1LeaderboardReportActualOutputData.md +31 -0
- eval_studio_client/api/docs/V1LeaderboardReportActualOutputMeta.md +31 -0
- eval_studio_client/api/docs/V1LeaderboardReportEvaluator.md +42 -0
- eval_studio_client/api/docs/V1LeaderboardReportEvaluatorParameter.md +38 -0
- eval_studio_client/api/docs/V1LeaderboardReportExplanation.md +34 -0
- eval_studio_client/api/docs/V1LeaderboardReportMetricsMetaEntry.md +41 -0
- eval_studio_client/api/docs/V1LeaderboardReportModel.md +39 -0
- eval_studio_client/api/docs/V1LeaderboardReportResult.md +45 -0
- eval_studio_client/api/docs/V1LeaderboardReportResultRelationship.md +32 -0
- eval_studio_client/api/docs/V1ListPromptLibraryItemsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListTestCaseLibraryItemsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListTestCaseRelationshipsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListWorkflowsResponse.md +29 -0
- eval_studio_client/api/docs/V1MetricScore.md +31 -0
- eval_studio_client/api/docs/V1MetricScores.md +29 -0
- eval_studio_client/api/docs/V1PerturbTestInPlaceResponse.md +29 -0
- eval_studio_client/api/docs/V1ProcessWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1PromptLibraryItem.md +42 -0
- eval_studio_client/api/docs/V1RepeatedString.md +29 -0
- eval_studio_client/api/docs/V1ResetWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1TestCase.md +3 -0
- eval_studio_client/api/docs/V1TestSuiteEvaluates.md +11 -0
- eval_studio_client/api/docs/V1UpdateWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1UpdateWorkflowResponse.md +29 -0
- eval_studio_client/api/docs/V1Workflow.md +49 -0
- eval_studio_client/api/docs/V1WorkflowEdge.md +40 -0
- eval_studio_client/api/docs/V1WorkflowEdgeType.md +12 -0
- eval_studio_client/api/docs/V1WorkflowNode.md +46 -0
- eval_studio_client/api/docs/V1WorkflowNodeArtifact.md +40 -0
- eval_studio_client/api/docs/V1WorkflowNodeArtifacts.md +29 -0
- eval_studio_client/api/docs/V1WorkflowNodeAttributes.md +30 -0
- eval_studio_client/api/docs/V1WorkflowNodeStatus.md +12 -0
- eval_studio_client/api/docs/V1WorkflowNodeType.md +12 -0
- eval_studio_client/api/docs/V1WorkflowNodeView.md +12 -0
- eval_studio_client/api/docs/V1WorkflowType.md +12 -0
- eval_studio_client/api/docs/WorkflowEdgeServiceApi.md +215 -0
- eval_studio_client/api/docs/WorkflowNodeServiceApi.md +632 -0
- eval_studio_client/api/docs/WorkflowServiceApi.md +488 -0
- eval_studio_client/api/docs/WorkflowServiceCloneWorkflowRequest.md +33 -0
- eval_studio_client/api/exceptions.py +1 -1
- eval_studio_client/api/models/__init__.py +70 -1
- eval_studio_client/api/models/adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +143 -0
- eval_studio_client/api/models/generated_questions_validation_service_validate_generated_questions_request.py +97 -0
- eval_studio_client/api/models/perturbation_service_create_perturbation_request.py +9 -3
- eval_studio_client/api/models/prompt_generation_service_auto_generate_prompts_request.py +17 -6
- eval_studio_client/api/models/protobuf_any.py +1 -1
- eval_studio_client/api/models/protobuf_null_value.py +36 -0
- eval_studio_client/api/models/required_the_dashboard_to_update.py +1 -1
- eval_studio_client/api/models/required_the_document_to_update.py +1 -1
- eval_studio_client/api/models/required_the_leaderboard_to_update.py +1 -1
- eval_studio_client/api/models/required_the_model_to_update.py +1 -1
- eval_studio_client/api/models/required_the_operation_to_finalize.py +1 -1
- eval_studio_client/api/models/required_the_operation_to_update.py +1 -1
- eval_studio_client/api/models/required_the_test_case_to_update.py +14 -3
- eval_studio_client/api/models/required_the_test_to_update.py +1 -1
- eval_studio_client/api/models/required_the_updated_workflow.py +160 -0
- eval_studio_client/api/models/required_the_updated_workflow_node.py +152 -0
- eval_studio_client/api/models/rpc_status.py +1 -1
- eval_studio_client/api/models/test_case_service_batch_delete_test_cases_request.py +1 -1
- eval_studio_client/api/models/test_service_clone_test_request.py +89 -0
- eval_studio_client/api/models/test_service_generate_test_cases_request.py +8 -4
- eval_studio_client/api/models/test_service_import_test_cases_from_library_request.py +93 -0
- eval_studio_client/api/models/test_service_list_test_case_library_items_request.py +99 -0
- eval_studio_client/api/models/test_service_perturb_test_in_place_request.py +97 -0
- eval_studio_client/api/models/test_service_perturb_test_request.py +5 -3
- eval_studio_client/api/models/v1_abort_operation_response.py +91 -0
- eval_studio_client/api/models/v1_batch_create_leaderboards_request.py +1 -1
- eval_studio_client/api/models/v1_batch_create_leaderboards_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_dashboards_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_dashboards_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_documents_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_documents_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_evaluators_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_evaluators_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_leaderboards_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_leaderboards_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_models_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_models_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_test_cases_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_tests_request.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_tests_response.py +1 -1
- eval_studio_client/api/models/v1_batch_delete_workflows_request.py +87 -0
- eval_studio_client/api/models/v1_batch_delete_workflows_response.py +95 -0
- eval_studio_client/api/models/v1_batch_get_dashboards_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_documents_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_leaderboards_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_models_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_operations_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_tests_response.py +1 -1
- eval_studio_client/api/models/v1_batch_get_workflow_edges_response.py +95 -0
- eval_studio_client/api/models/v1_batch_get_workflow_nodes_response.py +95 -0
- eval_studio_client/api/models/v1_batch_import_leaderboard_request.py +1 -1
- eval_studio_client/api/models/v1_batch_import_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_batch_import_tests_request.py +1 -1
- eval_studio_client/api/models/v1_batch_import_tests_response.py +1 -1
- eval_studio_client/api/models/v1_check_base_models_response.py +1 -1
- eval_studio_client/api/models/v1_clone_test_response.py +91 -0
- eval_studio_client/api/models/v1_clone_workflow_response.py +91 -0
- eval_studio_client/api/models/v1_collection_info.py +1 -1
- eval_studio_client/api/models/v1_context.py +93 -0
- eval_studio_client/api/models/v1_create_dashboard_response.py +1 -1
- eval_studio_client/api/models/v1_create_document_response.py +1 -1
- eval_studio_client/api/models/v1_create_evaluation_request.py +8 -3
- eval_studio_client/api/models/v1_create_evaluator_response.py +1 -1
- eval_studio_client/api/models/v1_create_leaderboard_request.py +1 -1
- eval_studio_client/api/models/v1_create_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_create_leaderboard_without_cache_response.py +1 -1
- eval_studio_client/api/models/v1_create_model_response.py +1 -1
- eval_studio_client/api/models/v1_create_perturbation_response.py +1 -1
- eval_studio_client/api/models/v1_create_test_case_response.py +1 -1
- eval_studio_client/api/models/v1_create_test_lab_response.py +1 -1
- eval_studio_client/api/models/v1_create_test_response.py +1 -1
- eval_studio_client/api/models/v1_create_workflow_edge_response.py +91 -0
- eval_studio_client/api/models/v1_create_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_create_workflow_response.py +91 -0
- eval_studio_client/api/models/v1_dashboard.py +1 -1
- eval_studio_client/api/models/v1_dashboard_status.py +1 -1
- eval_studio_client/api/models/v1_delete_dashboard_response.py +1 -1
- eval_studio_client/api/models/v1_delete_document_response.py +1 -1
- eval_studio_client/api/models/v1_delete_evaluator_response.py +1 -1
- eval_studio_client/api/models/v1_delete_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_delete_model_response.py +1 -1
- eval_studio_client/api/models/v1_delete_test_case_response.py +1 -1
- eval_studio_client/api/models/v1_delete_test_response.py +1 -1
- eval_studio_client/api/models/v1_delete_workflow_edge_response.py +91 -0
- eval_studio_client/api/models/v1_delete_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_delete_workflow_response.py +91 -0
- eval_studio_client/api/models/v1_document.py +1 -1
- eval_studio_client/api/models/v1_estimate_threshold_request.py +103 -0
- eval_studio_client/api/models/v1_evaluation_test.py +1 -1
- eval_studio_client/api/models/v1_evaluator.py +1 -1
- eval_studio_client/api/models/v1_evaluator_param_type.py +1 -1
- eval_studio_client/api/models/v1_evaluator_parameter.py +1 -1
- eval_studio_client/api/models/v1_evaluator_view.py +1 -1
- eval_studio_client/api/models/v1_finalize_operation_response.py +1 -1
- eval_studio_client/api/models/v1_find_all_test_cases_by_id_response.py +1 -1
- eval_studio_client/api/models/v1_find_test_lab_response.py +1 -1
- eval_studio_client/api/models/v1_generate_test_cases_response.py +1 -1
- eval_studio_client/api/models/v1_generated_test_case.py +101 -0
- eval_studio_client/api/models/v1_get_dashboard_response.py +1 -1
- eval_studio_client/api/models/v1_get_document_response.py +1 -1
- eval_studio_client/api/models/v1_get_evaluator_response.py +1 -1
- eval_studio_client/api/models/v1_get_info_response.py +1 -1
- eval_studio_client/api/models/v1_get_leaderboard_report_response.py +91 -0
- eval_studio_client/api/models/v1_get_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_get_model_response.py +1 -1
- eval_studio_client/api/models/v1_get_operation_progress_by_parent_response.py +1 -1
- eval_studio_client/api/models/v1_get_operation_response.py +1 -1
- eval_studio_client/api/models/v1_get_perturbator_response.py +1 -1
- eval_studio_client/api/models/v1_get_test_case_response.py +1 -1
- eval_studio_client/api/models/v1_get_test_class_response.py +1 -1
- eval_studio_client/api/models/v1_get_test_response.py +1 -1
- eval_studio_client/api/models/v1_get_workflow_node_prerequisites_response.py +89 -0
- eval_studio_client/api/models/v1_get_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_get_workflow_response.py +91 -0
- eval_studio_client/api/models/v1_import_evaluation_request.py +8 -3
- eval_studio_client/api/models/v1_import_leaderboard_request.py +1 -1
- eval_studio_client/api/models/v1_import_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_import_test_cases_from_library_response.py +91 -0
- eval_studio_client/api/models/v1_import_test_cases_request.py +95 -0
- eval_studio_client/api/models/v1_info.py +10 -4
- eval_studio_client/api/models/v1_init_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_insight.py +1 -1
- eval_studio_client/api/models/v1_labeled_test_case.py +91 -0
- eval_studio_client/api/models/v1_leaderboard.py +1 -1
- eval_studio_client/api/models/v1_leaderboard_report.py +115 -0
- eval_studio_client/api/models/v1_leaderboard_report_actual_output_data.py +93 -0
- eval_studio_client/api/models/v1_leaderboard_report_actual_output_meta.py +101 -0
- eval_studio_client/api/models/v1_leaderboard_report_evaluator.py +155 -0
- eval_studio_client/api/models/v1_leaderboard_report_evaluator_parameter.py +109 -0
- eval_studio_client/api/models/v1_leaderboard_report_explanation.py +103 -0
- eval_studio_client/api/models/v1_leaderboard_report_metrics_meta_entry.py +129 -0
- eval_studio_client/api/models/v1_leaderboard_report_model.py +121 -0
- eval_studio_client/api/models/v1_leaderboard_report_result.py +175 -0
- eval_studio_client/api/models/v1_leaderboard_report_result_relationship.py +97 -0
- eval_studio_client/api/models/v1_leaderboard_status.py +1 -1
- eval_studio_client/api/models/v1_leaderboard_type.py +1 -1
- eval_studio_client/api/models/v1_leaderboard_view.py +1 -1
- eval_studio_client/api/models/v1_list_base_models_response.py +1 -1
- eval_studio_client/api/models/v1_list_dashboards_response.py +1 -1
- eval_studio_client/api/models/v1_list_documents_response.py +1 -1
- eval_studio_client/api/models/v1_list_evaluators_response.py +1 -1
- eval_studio_client/api/models/v1_list_leaderboards_response.py +1 -1
- eval_studio_client/api/models/v1_list_llm_models_response.py +1 -1
- eval_studio_client/api/models/v1_list_model_collections_response.py +1 -1
- eval_studio_client/api/models/v1_list_models_response.py +1 -1
- eval_studio_client/api/models/v1_list_most_recent_dashboards_response.py +1 -1
- eval_studio_client/api/models/v1_list_most_recent_leaderboards_response.py +1 -1
- eval_studio_client/api/models/v1_list_most_recent_models_response.py +1 -1
- eval_studio_client/api/models/v1_list_most_recent_tests_response.py +1 -1
- eval_studio_client/api/models/v1_list_operations_response.py +1 -1
- eval_studio_client/api/models/v1_list_perturbators_response.py +1 -1
- eval_studio_client/api/models/v1_list_prompt_library_items_response.py +95 -0
- eval_studio_client/api/models/v1_list_rag_collections_response.py +1 -1
- eval_studio_client/api/models/v1_list_test_case_library_items_response.py +95 -0
- eval_studio_client/api/models/v1_list_test_case_relationships_response.py +95 -0
- eval_studio_client/api/models/v1_list_test_cases_response.py +1 -1
- eval_studio_client/api/models/v1_list_test_classes_response.py +1 -1
- eval_studio_client/api/models/v1_list_tests_response.py +1 -1
- eval_studio_client/api/models/v1_list_workflows_response.py +95 -0
- eval_studio_client/api/models/v1_metric_score.py +89 -0
- eval_studio_client/api/models/v1_metric_scores.py +95 -0
- eval_studio_client/api/models/v1_model.py +1 -1
- eval_studio_client/api/models/v1_model_type.py +1 -1
- eval_studio_client/api/models/v1_operation.py +1 -1
- eval_studio_client/api/models/v1_operation_progress.py +1 -1
- eval_studio_client/api/models/v1_perturb_test_in_place_response.py +91 -0
- eval_studio_client/api/models/v1_perturb_test_response.py +1 -1
- eval_studio_client/api/models/v1_perturbator.py +1 -1
- eval_studio_client/api/models/v1_perturbator_configuration.py +1 -1
- eval_studio_client/api/models/v1_perturbator_intensity.py +1 -1
- eval_studio_client/api/models/v1_problem_and_action.py +1 -1
- eval_studio_client/api/models/v1_process_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_prompt_library_item.py +129 -0
- eval_studio_client/api/models/v1_repeated_string.py +87 -0
- eval_studio_client/api/models/v1_reset_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_test.py +1 -1
- eval_studio_client/api/models/v1_test_case.py +14 -3
- eval_studio_client/api/models/v1_test_case_relationship.py +1 -1
- eval_studio_client/api/models/v1_test_cases_generator.py +1 -1
- eval_studio_client/api/models/v1_test_class.py +1 -1
- eval_studio_client/api/models/v1_test_class_type.py +1 -1
- eval_studio_client/api/models/v1_test_lab.py +1 -1
- eval_studio_client/api/models/v1_test_suite_evaluates.py +39 -0
- eval_studio_client/api/models/v1_update_dashboard_response.py +1 -1
- eval_studio_client/api/models/v1_update_document_response.py +1 -1
- eval_studio_client/api/models/v1_update_leaderboard_response.py +1 -1
- eval_studio_client/api/models/v1_update_model_response.py +1 -1
- eval_studio_client/api/models/v1_update_operation_response.py +1 -1
- eval_studio_client/api/models/v1_update_test_case_response.py +1 -1
- eval_studio_client/api/models/v1_update_test_response.py +1 -1
- eval_studio_client/api/models/v1_update_workflow_node_response.py +91 -0
- eval_studio_client/api/models/v1_update_workflow_response.py +91 -0
- eval_studio_client/api/models/v1_who_am_i_response.py +1 -1
- eval_studio_client/api/models/v1_workflow.py +164 -0
- eval_studio_client/api/models/v1_workflow_edge.py +123 -0
- eval_studio_client/api/models/v1_workflow_edge_type.py +37 -0
- eval_studio_client/api/models/v1_workflow_node.py +156 -0
- eval_studio_client/api/models/v1_workflow_node_artifact.py +122 -0
- eval_studio_client/api/models/v1_workflow_node_artifacts.py +97 -0
- eval_studio_client/api/models/v1_workflow_node_attributes.py +87 -0
- eval_studio_client/api/models/v1_workflow_node_status.py +40 -0
- eval_studio_client/api/models/v1_workflow_node_type.py +44 -0
- eval_studio_client/api/models/v1_workflow_node_view.py +38 -0
- eval_studio_client/api/models/v1_workflow_type.py +37 -0
- eval_studio_client/api/models/workflow_service_clone_workflow_request.py +95 -0
- eval_studio_client/api/rest.py +1 -1
- eval_studio_client/api/test/test_adversarial_inputs_service_api.py +37 -0
- eval_studio_client/api/test/test_adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +128 -0
- eval_studio_client/api/test/test_dashboard_service_api.py +1 -1
- eval_studio_client/api/test/test_document_service_api.py +1 -1
- eval_studio_client/api/test/test_evaluation_service_api.py +1 -1
- eval_studio_client/api/test/test_evaluator_service_api.py +1 -1
- eval_studio_client/api/test/test_generated_questions_validation_service_api.py +37 -0
- eval_studio_client/api/test/test_generated_questions_validation_service_validate_generated_questions_request.py +83 -0
- eval_studio_client/api/test/test_human_calibration_service_api.py +38 -0
- eval_studio_client/api/test/test_info_service_api.py +1 -1
- eval_studio_client/api/test/test_leaderboard_report_service_api.py +37 -0
- eval_studio_client/api/test/test_leaderboard_service_api.py +1 -1
- eval_studio_client/api/test/test_model_service_api.py +1 -1
- eval_studio_client/api/test/test_operation_progress_service_api.py +1 -1
- eval_studio_client/api/test/test_operation_service_api.py +7 -1
- eval_studio_client/api/test/test_perturbation_service_api.py +1 -1
- eval_studio_client/api/test/test_perturbation_service_create_perturbation_request.py +25 -3
- eval_studio_client/api/test/test_perturbator_service_api.py +1 -1
- eval_studio_client/api/test/test_prompt_generation_service_api.py +1 -1
- eval_studio_client/api/test/test_prompt_generation_service_auto_generate_prompts_request.py +13 -5
- eval_studio_client/api/test/test_prompt_library_service_api.py +43 -0
- eval_studio_client/api/test/test_protobuf_any.py +1 -1
- eval_studio_client/api/test/test_protobuf_null_value.py +33 -0
- eval_studio_client/api/test/test_required_the_dashboard_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_document_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_leaderboard_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_model_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_operation_to_finalize.py +1 -1
- eval_studio_client/api/test/test_required_the_operation_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_test_case_to_update.py +9 -2
- eval_studio_client/api/test/test_required_the_test_to_update.py +1 -1
- eval_studio_client/api/test/test_required_the_updated_workflow.py +91 -0
- eval_studio_client/api/test/test_required_the_updated_workflow_node.py +80 -0
- eval_studio_client/api/test/test_rpc_status.py +1 -1
- eval_studio_client/api/test/test_test_case_relationship_service_api.py +37 -0
- eval_studio_client/api/test/test_test_case_service_api.py +1 -1
- eval_studio_client/api/test/test_test_case_service_batch_delete_test_cases_request.py +1 -1
- eval_studio_client/api/test/test_test_class_service_api.py +1 -1
- eval_studio_client/api/test/test_test_lab_service_api.py +1 -1
- eval_studio_client/api/test/test_test_service_api.py +25 -1
- eval_studio_client/api/test/test_test_service_clone_test_request.py +52 -0
- eval_studio_client/api/test/test_test_service_generate_test_cases_request.py +8 -2
- eval_studio_client/api/test/test_test_service_import_test_cases_from_library_request.py +56 -0
- eval_studio_client/api/test/test_test_service_list_test_case_library_items_request.py +63 -0
- eval_studio_client/api/test/test_test_service_perturb_test_in_place_request.py +59 -0
- eval_studio_client/api/test/test_test_service_perturb_test_request.py +5 -2
- eval_studio_client/api/test/test_v1_abort_operation_response.py +71 -0
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_dashboards_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_dashboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_documents_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_documents_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_evaluators_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_evaluators_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_leaderboards_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_leaderboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_models_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_test_cases_response.py +9 -2
- eval_studio_client/api/test/test_v1_batch_delete_tests_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_tests_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_workflows_request.py +53 -0
- eval_studio_client/api/test/test_v1_batch_delete_workflows_response.py +95 -0
- eval_studio_client/api/test/test_v1_batch_get_dashboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_documents_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_leaderboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_operations_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_tests_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_get_workflow_edges_response.py +64 -0
- eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +84 -0
- eval_studio_client/api/test/test_v1_batch_import_leaderboard_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_import_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_batch_import_tests_request.py +1 -1
- eval_studio_client/api/test/test_v1_batch_import_tests_response.py +1 -1
- eval_studio_client/api/test/test_v1_check_base_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_clone_test_response.py +67 -0
- eval_studio_client/api/test/test_v1_clone_workflow_response.py +93 -0
- eval_studio_client/api/test/test_v1_collection_info.py +1 -1
- eval_studio_client/api/test/test_v1_context.py +54 -0
- eval_studio_client/api/test/test_v1_create_dashboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_document_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_evaluation_request.py +25 -3
- eval_studio_client/api/test/test_v1_create_evaluator_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_request.py +1 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_without_cache_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_model_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_perturbation_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_test_case_response.py +9 -2
- eval_studio_client/api/test/test_v1_create_test_lab_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_test_response.py +1 -1
- eval_studio_client/api/test/test_v1_create_workflow_edge_response.py +62 -0
- eval_studio_client/api/test/test_v1_create_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_create_workflow_response.py +93 -0
- eval_studio_client/api/test/test_v1_dashboard.py +1 -1
- eval_studio_client/api/test/test_v1_dashboard_status.py +1 -1
- eval_studio_client/api/test/test_v1_delete_dashboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_document_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_evaluator_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_model_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_test_case_response.py +9 -2
- eval_studio_client/api/test/test_v1_delete_test_response.py +1 -1
- eval_studio_client/api/test/test_v1_delete_workflow_edge_response.py +62 -0
- eval_studio_client/api/test/test_v1_delete_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_delete_workflow_response.py +93 -0
- eval_studio_client/api/test/test_v1_document.py +1 -1
- eval_studio_client/api/test/test_v1_estimate_threshold_request.py +60 -0
- eval_studio_client/api/test/test_v1_evaluation_test.py +9 -2
- eval_studio_client/api/test/test_v1_evaluator.py +1 -1
- eval_studio_client/api/test/test_v1_evaluator_param_type.py +1 -1
- eval_studio_client/api/test/test_v1_evaluator_parameter.py +1 -1
- eval_studio_client/api/test/test_v1_evaluator_view.py +1 -1
- eval_studio_client/api/test/test_v1_finalize_operation_response.py +1 -1
- eval_studio_client/api/test/test_v1_find_all_test_cases_by_id_response.py +9 -2
- eval_studio_client/api/test/test_v1_find_test_lab_response.py +1 -1
- eval_studio_client/api/test/test_v1_generate_test_cases_response.py +1 -1
- eval_studio_client/api/test/test_v1_generated_test_case.py +79 -0
- eval_studio_client/api/test/test_v1_get_dashboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_document_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_evaluator_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_info_response.py +7 -2
- eval_studio_client/api/test/test_v1_get_leaderboard_report_response.py +175 -0
- eval_studio_client/api/test/test_v1_get_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_model_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_operation_progress_by_parent_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_operation_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_perturbator_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_test_case_response.py +9 -2
- eval_studio_client/api/test/test_v1_get_test_class_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_test_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_workflow_node_prerequisites_response.py +56 -0
- eval_studio_client/api/test/test_v1_get_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_get_workflow_response.py +93 -0
- eval_studio_client/api/test/test_v1_import_evaluation_request.py +17 -2
- eval_studio_client/api/test/test_v1_import_leaderboard_request.py +1 -1
- eval_studio_client/api/test/test_v1_import_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_import_test_cases_from_library_response.py +71 -0
- eval_studio_client/api/test/test_v1_import_test_cases_request.py +57 -0
- eval_studio_client/api/test/test_v1_info.py +7 -2
- eval_studio_client/api/test/test_v1_init_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_insight.py +1 -1
- eval_studio_client/api/test/test_v1_labeled_test_case.py +53 -0
- eval_studio_client/api/test/test_v1_leaderboard.py +1 -1
- eval_studio_client/api/test/test_v1_leaderboard_report.py +174 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_data.py +52 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_meta.py +56 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_evaluator.py +114 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_evaluator_parameter.py +63 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_explanation.py +58 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_metrics_meta_entry.py +66 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_model.py +62 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_result.py +92 -0
- eval_studio_client/api/test/test_v1_leaderboard_report_result_relationship.py +53 -0
- eval_studio_client/api/test/test_v1_leaderboard_status.py +1 -1
- eval_studio_client/api/test/test_v1_leaderboard_type.py +1 -1
- eval_studio_client/api/test/test_v1_leaderboard_view.py +1 -1
- eval_studio_client/api/test/test_v1_list_base_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_dashboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_documents_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_evaluators_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_leaderboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_llm_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_model_collections_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_most_recent_dashboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_most_recent_leaderboards_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_most_recent_models_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_most_recent_tests_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_operations_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_perturbators_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_prompt_library_items_response.py +71 -0
- eval_studio_client/api/test/test_v1_list_rag_collections_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_test_case_library_items_response.py +71 -0
- eval_studio_client/api/test/test_v1_list_test_case_relationships_response.py +56 -0
- eval_studio_client/api/test/test_v1_list_test_cases_response.py +9 -2
- eval_studio_client/api/test/test_v1_list_test_classes_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_tests_response.py +1 -1
- eval_studio_client/api/test/test_v1_list_workflows_response.py +95 -0
- eval_studio_client/api/test/test_v1_metric_score.py +52 -0
- eval_studio_client/api/test/test_v1_metric_scores.py +55 -0
- eval_studio_client/api/test/test_v1_model.py +1 -1
- eval_studio_client/api/test/test_v1_model_type.py +1 -1
- eval_studio_client/api/test/test_v1_operation.py +1 -1
- eval_studio_client/api/test/test_v1_operation_progress.py +1 -1
- eval_studio_client/api/test/test_v1_perturb_test_in_place_response.py +67 -0
- eval_studio_client/api/test/test_v1_perturb_test_response.py +1 -1
- eval_studio_client/api/test/test_v1_perturbator.py +1 -1
- eval_studio_client/api/test/test_v1_perturbator_configuration.py +1 -1
- eval_studio_client/api/test/test_v1_perturbator_intensity.py +1 -1
- eval_studio_client/api/test/test_v1_problem_and_action.py +1 -1
- eval_studio_client/api/test/test_v1_process_workflow_node_response.py +71 -0
- eval_studio_client/api/test/test_v1_prompt_library_item.py +68 -0
- eval_studio_client/api/test/test_v1_repeated_string.py +53 -0
- eval_studio_client/api/test/test_v1_reset_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_test.py +1 -1
- eval_studio_client/api/test/test_v1_test_case.py +9 -2
- eval_studio_client/api/test/test_v1_test_case_relationship.py +1 -1
- eval_studio_client/api/test/test_v1_test_cases_generator.py +1 -1
- eval_studio_client/api/test/test_v1_test_class.py +1 -1
- eval_studio_client/api/test/test_v1_test_class_type.py +1 -1
- eval_studio_client/api/test/test_v1_test_lab.py +1 -1
- eval_studio_client/api/test/test_v1_test_suite_evaluates.py +33 -0
- eval_studio_client/api/test/test_v1_update_dashboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_document_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_leaderboard_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_model_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_operation_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_test_case_response.py +9 -2
- eval_studio_client/api/test/test_v1_update_test_response.py +1 -1
- eval_studio_client/api/test/test_v1_update_workflow_node_response.py +82 -0
- eval_studio_client/api/test/test_v1_update_workflow_response.py +93 -0
- eval_studio_client/api/test/test_v1_who_am_i_response.py +1 -1
- eval_studio_client/api/test/test_v1_workflow.py +92 -0
- eval_studio_client/api/test/test_v1_workflow_edge.py +61 -0
- eval_studio_client/api/test/test_v1_workflow_edge_type.py +33 -0
- eval_studio_client/api/test/test_v1_workflow_node.py +81 -0
- eval_studio_client/api/test/test_v1_workflow_node_artifact.py +61 -0
- eval_studio_client/api/test/test_v1_workflow_node_artifacts.py +64 -0
- eval_studio_client/api/test/test_v1_workflow_node_attributes.py +51 -0
- eval_studio_client/api/test/test_v1_workflow_node_status.py +33 -0
- eval_studio_client/api/test/test_v1_workflow_node_type.py +33 -0
- eval_studio_client/api/test/test_v1_workflow_node_view.py +33 -0
- eval_studio_client/api/test/test_v1_workflow_type.py +33 -0
- eval_studio_client/api/test/test_who_am_i_service_api.py +1 -1
- eval_studio_client/api/test/test_workflow_edge_service_api.py +52 -0
- eval_studio_client/api/test/test_workflow_node_service_api.py +94 -0
- eval_studio_client/api/test/test_workflow_service_api.py +80 -0
- eval_studio_client/api/test/test_workflow_service_clone_workflow_request.py +55 -0
- eval_studio_client/client.py +7 -0
- eval_studio_client/dashboards.py +66 -18
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +5132 -1847
- eval_studio_client/leaderboards.py +125 -0
- eval_studio_client/models.py +3 -42
- eval_studio_client/test_labs.py +49 -21
- eval_studio_client/tests.py +323 -58
- eval_studio_client/utils.py +26 -0
- {eval_studio_client-1.0.0a1.dist-info → eval_studio_client-1.1.0a5.dist-info}/METADATA +2 -3
- eval_studio_client-1.1.0a5.dist-info/RECORD +720 -0
- {eval_studio_client-1.0.0a1.dist-info → eval_studio_client-1.1.0a5.dist-info}/WHEEL +1 -1
- eval_studio_client-1.0.0a1.dist-info/RECORD +0 -485
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
ai/h2o/eval_studio/v1/
|
|
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
|
-
|
|
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
|
|
1690
|
-
:type
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1756
|
-
:type
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1822
|
-
:type
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1886
|
-
_path_params['
|
|
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/{
|
|
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,291 @@ class TestServiceApi:
|
|
|
1921
2211
|
|
|
1922
2212
|
|
|
1923
2213
|
@validate_call
|
|
1924
|
-
def
|
|
2214
|
+
def test_service_import_test_cases_from_library(
|
|
1925
2215
|
self,
|
|
1926
|
-
|
|
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,
|
|
1927
2499
|
_request_timeout: Union[
|
|
1928
2500
|
None,
|
|
1929
2501
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1940,8 +2512,546 @@ class TestServiceApi:
|
|
|
1940
2512
|
"""test_service_list_most_recent_tests
|
|
1941
2513
|
|
|
1942
2514
|
|
|
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
|
|
2515
|
+
:param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
|
|
2516
|
+
:type limit: int
|
|
2517
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2518
|
+
number provided, it will be total request
|
|
2519
|
+
timeout. It can also be a pair (tuple) of
|
|
2520
|
+
(connection, read) timeouts.
|
|
2521
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2522
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2523
|
+
request; this effectively ignores the
|
|
2524
|
+
authentication in the spec for a single request.
|
|
2525
|
+
:type _request_auth: dict, optional
|
|
2526
|
+
:param _content_type: force content-type for the request.
|
|
2527
|
+
:type _content_type: str, Optional
|
|
2528
|
+
:param _headers: set to override the headers for a single
|
|
2529
|
+
request; this effectively ignores the headers
|
|
2530
|
+
in the spec for a single request.
|
|
2531
|
+
:type _headers: dict, optional
|
|
2532
|
+
:param _host_index: set to override the host_index for a single
|
|
2533
|
+
request; this effectively ignores the host_index
|
|
2534
|
+
in the spec for a single request.
|
|
2535
|
+
:type _host_index: int, optional
|
|
2536
|
+
:return: Returns the result object.
|
|
2537
|
+
""" # noqa: E501
|
|
2538
|
+
|
|
2539
|
+
_param = self._test_service_list_most_recent_tests_serialize(
|
|
2540
|
+
limit=limit,
|
|
2541
|
+
_request_auth=_request_auth,
|
|
2542
|
+
_content_type=_content_type,
|
|
2543
|
+
_headers=_headers,
|
|
2544
|
+
_host_index=_host_index
|
|
2545
|
+
)
|
|
2546
|
+
|
|
2547
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2548
|
+
'200': "V1ListMostRecentTestsResponse",
|
|
2549
|
+
}
|
|
2550
|
+
response_data = self.api_client.call_api(
|
|
2551
|
+
*_param,
|
|
2552
|
+
_request_timeout=_request_timeout
|
|
2553
|
+
)
|
|
2554
|
+
response_data.read()
|
|
2555
|
+
return self.api_client.response_deserialize(
|
|
2556
|
+
response_data=response_data,
|
|
2557
|
+
response_types_map=_response_types_map,
|
|
2558
|
+
).data
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
@validate_call
|
|
2562
|
+
def test_service_list_most_recent_tests_with_http_info(
|
|
2563
|
+
self,
|
|
2564
|
+
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,
|
|
2565
|
+
_request_timeout: Union[
|
|
2566
|
+
None,
|
|
2567
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2568
|
+
Tuple[
|
|
2569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2570
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2571
|
+
]
|
|
2572
|
+
] = None,
|
|
2573
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2574
|
+
_content_type: Optional[StrictStr] = None,
|
|
2575
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2576
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2577
|
+
) -> ApiResponse[V1ListMostRecentTestsResponse]:
|
|
2578
|
+
"""test_service_list_most_recent_tests
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
:param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
|
|
2582
|
+
:type limit: int
|
|
2583
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2584
|
+
number provided, it will be total request
|
|
2585
|
+
timeout. It can also be a pair (tuple) of
|
|
2586
|
+
(connection, read) timeouts.
|
|
2587
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2588
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2589
|
+
request; this effectively ignores the
|
|
2590
|
+
authentication in the spec for a single request.
|
|
2591
|
+
:type _request_auth: dict, optional
|
|
2592
|
+
:param _content_type: force content-type for the request.
|
|
2593
|
+
:type _content_type: str, Optional
|
|
2594
|
+
:param _headers: set to override the headers for a single
|
|
2595
|
+
request; this effectively ignores the headers
|
|
2596
|
+
in the spec for a single request.
|
|
2597
|
+
:type _headers: dict, optional
|
|
2598
|
+
:param _host_index: set to override the host_index for a single
|
|
2599
|
+
request; this effectively ignores the host_index
|
|
2600
|
+
in the spec for a single request.
|
|
2601
|
+
:type _host_index: int, optional
|
|
2602
|
+
:return: Returns the result object.
|
|
2603
|
+
""" # noqa: E501
|
|
2604
|
+
|
|
2605
|
+
_param = self._test_service_list_most_recent_tests_serialize(
|
|
2606
|
+
limit=limit,
|
|
2607
|
+
_request_auth=_request_auth,
|
|
2608
|
+
_content_type=_content_type,
|
|
2609
|
+
_headers=_headers,
|
|
2610
|
+
_host_index=_host_index
|
|
2611
|
+
)
|
|
2612
|
+
|
|
2613
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2614
|
+
'200': "V1ListMostRecentTestsResponse",
|
|
2615
|
+
}
|
|
2616
|
+
response_data = self.api_client.call_api(
|
|
2617
|
+
*_param,
|
|
2618
|
+
_request_timeout=_request_timeout
|
|
2619
|
+
)
|
|
2620
|
+
response_data.read()
|
|
2621
|
+
return self.api_client.response_deserialize(
|
|
2622
|
+
response_data=response_data,
|
|
2623
|
+
response_types_map=_response_types_map,
|
|
2624
|
+
)
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
@validate_call
|
|
2628
|
+
def test_service_list_most_recent_tests_without_preload_content(
|
|
2629
|
+
self,
|
|
2630
|
+
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,
|
|
2631
|
+
_request_timeout: Union[
|
|
2632
|
+
None,
|
|
2633
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2634
|
+
Tuple[
|
|
2635
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2636
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2637
|
+
]
|
|
2638
|
+
] = None,
|
|
2639
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2640
|
+
_content_type: Optional[StrictStr] = None,
|
|
2641
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2642
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2643
|
+
) -> RESTResponseType:
|
|
2644
|
+
"""test_service_list_most_recent_tests
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
:param limit: Optional. The max number of the most recent Tests to retrieve. Use -1 to retrieve all. Defaults to 3.
|
|
2648
|
+
:type limit: int
|
|
2649
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2650
|
+
number provided, it will be total request
|
|
2651
|
+
timeout. It can also be a pair (tuple) of
|
|
2652
|
+
(connection, read) timeouts.
|
|
2653
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2654
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2655
|
+
request; this effectively ignores the
|
|
2656
|
+
authentication in the spec for a single request.
|
|
2657
|
+
:type _request_auth: dict, optional
|
|
2658
|
+
:param _content_type: force content-type for the request.
|
|
2659
|
+
:type _content_type: str, Optional
|
|
2660
|
+
:param _headers: set to override the headers for a single
|
|
2661
|
+
request; this effectively ignores the headers
|
|
2662
|
+
in the spec for a single request.
|
|
2663
|
+
:type _headers: dict, optional
|
|
2664
|
+
:param _host_index: set to override the host_index for a single
|
|
2665
|
+
request; this effectively ignores the host_index
|
|
2666
|
+
in the spec for a single request.
|
|
2667
|
+
:type _host_index: int, optional
|
|
2668
|
+
:return: Returns the result object.
|
|
2669
|
+
""" # noqa: E501
|
|
2670
|
+
|
|
2671
|
+
_param = self._test_service_list_most_recent_tests_serialize(
|
|
2672
|
+
limit=limit,
|
|
2673
|
+
_request_auth=_request_auth,
|
|
2674
|
+
_content_type=_content_type,
|
|
2675
|
+
_headers=_headers,
|
|
2676
|
+
_host_index=_host_index
|
|
2677
|
+
)
|
|
2678
|
+
|
|
2679
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2680
|
+
'200': "V1ListMostRecentTestsResponse",
|
|
2681
|
+
}
|
|
2682
|
+
response_data = self.api_client.call_api(
|
|
2683
|
+
*_param,
|
|
2684
|
+
_request_timeout=_request_timeout
|
|
2685
|
+
)
|
|
2686
|
+
return response_data.response
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
def _test_service_list_most_recent_tests_serialize(
|
|
2690
|
+
self,
|
|
2691
|
+
limit,
|
|
2692
|
+
_request_auth,
|
|
2693
|
+
_content_type,
|
|
2694
|
+
_headers,
|
|
2695
|
+
_host_index,
|
|
2696
|
+
) -> RequestSerialized:
|
|
2697
|
+
|
|
2698
|
+
_host = None
|
|
2699
|
+
|
|
2700
|
+
_collection_formats: Dict[str, str] = {
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
_path_params: Dict[str, str] = {}
|
|
2704
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2705
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2706
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2707
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2708
|
+
_body_params: Optional[bytes] = None
|
|
2709
|
+
|
|
2710
|
+
# process the path parameters
|
|
2711
|
+
# process the query parameters
|
|
2712
|
+
if limit is not None:
|
|
2713
|
+
|
|
2714
|
+
_query_params.append(('limit', limit))
|
|
2715
|
+
|
|
2716
|
+
# process the header parameters
|
|
2717
|
+
# process the form parameters
|
|
2718
|
+
# process the body parameter
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
# set the HTTP header `Accept`
|
|
2722
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2723
|
+
[
|
|
2724
|
+
'application/json'
|
|
2725
|
+
]
|
|
2726
|
+
)
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
# authentication setting
|
|
2730
|
+
_auth_settings: List[str] = [
|
|
2731
|
+
]
|
|
2732
|
+
|
|
2733
|
+
return self.api_client.param_serialize(
|
|
2734
|
+
method='GET',
|
|
2735
|
+
resource_path='/v1/tests:mostRecent',
|
|
2736
|
+
path_params=_path_params,
|
|
2737
|
+
query_params=_query_params,
|
|
2738
|
+
header_params=_header_params,
|
|
2739
|
+
body=_body_params,
|
|
2740
|
+
post_params=_form_params,
|
|
2741
|
+
files=_files,
|
|
2742
|
+
auth_settings=_auth_settings,
|
|
2743
|
+
collection_formats=_collection_formats,
|
|
2744
|
+
_host=_host,
|
|
2745
|
+
_request_auth=_request_auth
|
|
2746
|
+
)
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
@validate_call
|
|
2752
|
+
def test_service_list_test_case_library_items(
|
|
2753
|
+
self,
|
|
2754
|
+
name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
|
|
2755
|
+
body: TestServiceListTestCaseLibraryItemsRequest,
|
|
2756
|
+
_request_timeout: Union[
|
|
2757
|
+
None,
|
|
2758
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2759
|
+
Tuple[
|
|
2760
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2761
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2762
|
+
]
|
|
2763
|
+
] = None,
|
|
2764
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2765
|
+
_content_type: Optional[StrictStr] = None,
|
|
2766
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2767
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2768
|
+
) -> V1ListTestCaseLibraryItemsResponse:
|
|
2769
|
+
"""test_service_list_test_case_library_items
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
:param name: Required. The Test for which to list the items. (required)
|
|
2773
|
+
:type name: str
|
|
2774
|
+
:param body: (required)
|
|
2775
|
+
:type body: TestServiceListTestCaseLibraryItemsRequest
|
|
2776
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2777
|
+
number provided, it will be total request
|
|
2778
|
+
timeout. It can also be a pair (tuple) of
|
|
2779
|
+
(connection, read) timeouts.
|
|
2780
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2781
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2782
|
+
request; this effectively ignores the
|
|
2783
|
+
authentication in the spec for a single request.
|
|
2784
|
+
:type _request_auth: dict, optional
|
|
2785
|
+
:param _content_type: force content-type for the request.
|
|
2786
|
+
:type _content_type: str, Optional
|
|
2787
|
+
:param _headers: set to override the headers for a single
|
|
2788
|
+
request; this effectively ignores the headers
|
|
2789
|
+
in the spec for a single request.
|
|
2790
|
+
:type _headers: dict, optional
|
|
2791
|
+
:param _host_index: set to override the host_index for a single
|
|
2792
|
+
request; this effectively ignores the host_index
|
|
2793
|
+
in the spec for a single request.
|
|
2794
|
+
:type _host_index: int, optional
|
|
2795
|
+
:return: Returns the result object.
|
|
2796
|
+
""" # noqa: E501
|
|
2797
|
+
|
|
2798
|
+
_param = self._test_service_list_test_case_library_items_serialize(
|
|
2799
|
+
name=name,
|
|
2800
|
+
body=body,
|
|
2801
|
+
_request_auth=_request_auth,
|
|
2802
|
+
_content_type=_content_type,
|
|
2803
|
+
_headers=_headers,
|
|
2804
|
+
_host_index=_host_index
|
|
2805
|
+
)
|
|
2806
|
+
|
|
2807
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2808
|
+
'200': "V1ListTestCaseLibraryItemsResponse",
|
|
2809
|
+
}
|
|
2810
|
+
response_data = self.api_client.call_api(
|
|
2811
|
+
*_param,
|
|
2812
|
+
_request_timeout=_request_timeout
|
|
2813
|
+
)
|
|
2814
|
+
response_data.read()
|
|
2815
|
+
return self.api_client.response_deserialize(
|
|
2816
|
+
response_data=response_data,
|
|
2817
|
+
response_types_map=_response_types_map,
|
|
2818
|
+
).data
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
@validate_call
|
|
2822
|
+
def test_service_list_test_case_library_items_with_http_info(
|
|
2823
|
+
self,
|
|
2824
|
+
name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
|
|
2825
|
+
body: TestServiceListTestCaseLibraryItemsRequest,
|
|
2826
|
+
_request_timeout: Union[
|
|
2827
|
+
None,
|
|
2828
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2829
|
+
Tuple[
|
|
2830
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2831
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2832
|
+
]
|
|
2833
|
+
] = None,
|
|
2834
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2835
|
+
_content_type: Optional[StrictStr] = None,
|
|
2836
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2837
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2838
|
+
) -> ApiResponse[V1ListTestCaseLibraryItemsResponse]:
|
|
2839
|
+
"""test_service_list_test_case_library_items
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
:param name: Required. The Test for which to list the items. (required)
|
|
2843
|
+
:type name: str
|
|
2844
|
+
:param body: (required)
|
|
2845
|
+
:type body: TestServiceListTestCaseLibraryItemsRequest
|
|
2846
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2847
|
+
number provided, it will be total request
|
|
2848
|
+
timeout. It can also be a pair (tuple) of
|
|
2849
|
+
(connection, read) timeouts.
|
|
2850
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2851
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2852
|
+
request; this effectively ignores the
|
|
2853
|
+
authentication in the spec for a single request.
|
|
2854
|
+
:type _request_auth: dict, optional
|
|
2855
|
+
:param _content_type: force content-type for the request.
|
|
2856
|
+
:type _content_type: str, Optional
|
|
2857
|
+
:param _headers: set to override the headers for a single
|
|
2858
|
+
request; this effectively ignores the headers
|
|
2859
|
+
in the spec for a single request.
|
|
2860
|
+
:type _headers: dict, optional
|
|
2861
|
+
:param _host_index: set to override the host_index for a single
|
|
2862
|
+
request; this effectively ignores the host_index
|
|
2863
|
+
in the spec for a single request.
|
|
2864
|
+
:type _host_index: int, optional
|
|
2865
|
+
:return: Returns the result object.
|
|
2866
|
+
""" # noqa: E501
|
|
2867
|
+
|
|
2868
|
+
_param = self._test_service_list_test_case_library_items_serialize(
|
|
2869
|
+
name=name,
|
|
2870
|
+
body=body,
|
|
2871
|
+
_request_auth=_request_auth,
|
|
2872
|
+
_content_type=_content_type,
|
|
2873
|
+
_headers=_headers,
|
|
2874
|
+
_host_index=_host_index
|
|
2875
|
+
)
|
|
2876
|
+
|
|
2877
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2878
|
+
'200': "V1ListTestCaseLibraryItemsResponse",
|
|
2879
|
+
}
|
|
2880
|
+
response_data = self.api_client.call_api(
|
|
2881
|
+
*_param,
|
|
2882
|
+
_request_timeout=_request_timeout
|
|
2883
|
+
)
|
|
2884
|
+
response_data.read()
|
|
2885
|
+
return self.api_client.response_deserialize(
|
|
2886
|
+
response_data=response_data,
|
|
2887
|
+
response_types_map=_response_types_map,
|
|
2888
|
+
)
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
@validate_call
|
|
2892
|
+
def test_service_list_test_case_library_items_without_preload_content(
|
|
2893
|
+
self,
|
|
2894
|
+
name: Annotated[str, Field(strict=True, description="Required. The Test for which to list the items.")],
|
|
2895
|
+
body: TestServiceListTestCaseLibraryItemsRequest,
|
|
2896
|
+
_request_timeout: Union[
|
|
2897
|
+
None,
|
|
2898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2899
|
+
Tuple[
|
|
2900
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2901
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2902
|
+
]
|
|
2903
|
+
] = None,
|
|
2904
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2905
|
+
_content_type: Optional[StrictStr] = None,
|
|
2906
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2907
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2908
|
+
) -> RESTResponseType:
|
|
2909
|
+
"""test_service_list_test_case_library_items
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
:param name: Required. The Test for which to list the items. (required)
|
|
2913
|
+
:type name: str
|
|
2914
|
+
:param body: (required)
|
|
2915
|
+
:type body: TestServiceListTestCaseLibraryItemsRequest
|
|
2916
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2917
|
+
number provided, it will be total request
|
|
2918
|
+
timeout. It can also be a pair (tuple) of
|
|
2919
|
+
(connection, read) timeouts.
|
|
2920
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2921
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2922
|
+
request; this effectively ignores the
|
|
2923
|
+
authentication in the spec for a single request.
|
|
2924
|
+
:type _request_auth: dict, optional
|
|
2925
|
+
:param _content_type: force content-type for the request.
|
|
2926
|
+
:type _content_type: str, Optional
|
|
2927
|
+
:param _headers: set to override the headers for a single
|
|
2928
|
+
request; this effectively ignores the headers
|
|
2929
|
+
in the spec for a single request.
|
|
2930
|
+
:type _headers: dict, optional
|
|
2931
|
+
:param _host_index: set to override the host_index for a single
|
|
2932
|
+
request; this effectively ignores the host_index
|
|
2933
|
+
in the spec for a single request.
|
|
2934
|
+
:type _host_index: int, optional
|
|
2935
|
+
:return: Returns the result object.
|
|
2936
|
+
""" # noqa: E501
|
|
2937
|
+
|
|
2938
|
+
_param = self._test_service_list_test_case_library_items_serialize(
|
|
2939
|
+
name=name,
|
|
2940
|
+
body=body,
|
|
2941
|
+
_request_auth=_request_auth,
|
|
2942
|
+
_content_type=_content_type,
|
|
2943
|
+
_headers=_headers,
|
|
2944
|
+
_host_index=_host_index
|
|
2945
|
+
)
|
|
2946
|
+
|
|
2947
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2948
|
+
'200': "V1ListTestCaseLibraryItemsResponse",
|
|
2949
|
+
}
|
|
2950
|
+
response_data = self.api_client.call_api(
|
|
2951
|
+
*_param,
|
|
2952
|
+
_request_timeout=_request_timeout
|
|
2953
|
+
)
|
|
2954
|
+
return response_data.response
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
def _test_service_list_test_case_library_items_serialize(
|
|
2958
|
+
self,
|
|
2959
|
+
name,
|
|
2960
|
+
body,
|
|
2961
|
+
_request_auth,
|
|
2962
|
+
_content_type,
|
|
2963
|
+
_headers,
|
|
2964
|
+
_host_index,
|
|
2965
|
+
) -> RequestSerialized:
|
|
2966
|
+
|
|
2967
|
+
_host = None
|
|
2968
|
+
|
|
2969
|
+
_collection_formats: Dict[str, str] = {
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
_path_params: Dict[str, str] = {}
|
|
2973
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2974
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2975
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2976
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2977
|
+
_body_params: Optional[bytes] = None
|
|
2978
|
+
|
|
2979
|
+
# process the path parameters
|
|
2980
|
+
if name is not None:
|
|
2981
|
+
_path_params['name'] = name
|
|
2982
|
+
# process the query parameters
|
|
2983
|
+
# process the header parameters
|
|
2984
|
+
# process the form parameters
|
|
2985
|
+
# process the body parameter
|
|
2986
|
+
if body is not None:
|
|
2987
|
+
_body_params = body
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
# set the HTTP header `Accept`
|
|
2991
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2992
|
+
[
|
|
2993
|
+
'application/json'
|
|
2994
|
+
]
|
|
2995
|
+
)
|
|
2996
|
+
|
|
2997
|
+
# set the HTTP header `Content-Type`
|
|
2998
|
+
if _content_type:
|
|
2999
|
+
_header_params['Content-Type'] = _content_type
|
|
3000
|
+
else:
|
|
3001
|
+
_default_content_type = (
|
|
3002
|
+
self.api_client.select_header_content_type(
|
|
3003
|
+
[
|
|
3004
|
+
'application/json'
|
|
3005
|
+
]
|
|
3006
|
+
)
|
|
3007
|
+
)
|
|
3008
|
+
if _default_content_type is not None:
|
|
3009
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3010
|
+
|
|
3011
|
+
# authentication setting
|
|
3012
|
+
_auth_settings: List[str] = [
|
|
3013
|
+
]
|
|
3014
|
+
|
|
3015
|
+
return self.api_client.param_serialize(
|
|
3016
|
+
method='POST',
|
|
3017
|
+
resource_path='/v1/{name}:listTestCaseLibraryItems',
|
|
3018
|
+
path_params=_path_params,
|
|
3019
|
+
query_params=_query_params,
|
|
3020
|
+
header_params=_header_params,
|
|
3021
|
+
body=_body_params,
|
|
3022
|
+
post_params=_form_params,
|
|
3023
|
+
files=_files,
|
|
3024
|
+
auth_settings=_auth_settings,
|
|
3025
|
+
collection_formats=_collection_formats,
|
|
3026
|
+
_host=_host,
|
|
3027
|
+
_request_auth=_request_auth
|
|
3028
|
+
)
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
|
|
3033
|
+
@validate_call
|
|
3034
|
+
def test_service_list_tests(
|
|
3035
|
+
self,
|
|
3036
|
+
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,
|
|
3037
|
+
_request_timeout: Union[
|
|
3038
|
+
None,
|
|
3039
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3040
|
+
Tuple[
|
|
3041
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3042
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3043
|
+
]
|
|
3044
|
+
] = None,
|
|
3045
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3046
|
+
_content_type: Optional[StrictStr] = None,
|
|
3047
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3048
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3049
|
+
) -> V1ListTestsResponse:
|
|
3050
|
+
"""test_service_list_tests
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
: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
|
|
3054
|
+
:type order_by: str
|
|
1945
3055
|
:param _request_timeout: timeout setting for this request. If one
|
|
1946
3056
|
number provided, it will be total request
|
|
1947
3057
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1964,8 +3074,8 @@ class TestServiceApi:
|
|
|
1964
3074
|
:return: Returns the result object.
|
|
1965
3075
|
""" # noqa: E501
|
|
1966
3076
|
|
|
1967
|
-
_param = self.
|
|
1968
|
-
|
|
3077
|
+
_param = self._test_service_list_tests_serialize(
|
|
3078
|
+
order_by=order_by,
|
|
1969
3079
|
_request_auth=_request_auth,
|
|
1970
3080
|
_content_type=_content_type,
|
|
1971
3081
|
_headers=_headers,
|
|
@@ -1973,7 +3083,7 @@ class TestServiceApi:
|
|
|
1973
3083
|
)
|
|
1974
3084
|
|
|
1975
3085
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1976
|
-
'200': "
|
|
3086
|
+
'200': "V1ListTestsResponse",
|
|
1977
3087
|
}
|
|
1978
3088
|
response_data = self.api_client.call_api(
|
|
1979
3089
|
*_param,
|
|
@@ -1987,9 +3097,9 @@ class TestServiceApi:
|
|
|
1987
3097
|
|
|
1988
3098
|
|
|
1989
3099
|
@validate_call
|
|
1990
|
-
def
|
|
3100
|
+
def test_service_list_tests_with_http_info(
|
|
1991
3101
|
self,
|
|
1992
|
-
|
|
3102
|
+
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
3103
|
_request_timeout: Union[
|
|
1994
3104
|
None,
|
|
1995
3105
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2002,12 +3112,12 @@ class TestServiceApi:
|
|
|
2002
3112
|
_content_type: Optional[StrictStr] = None,
|
|
2003
3113
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2004
3114
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2005
|
-
) -> ApiResponse[
|
|
2006
|
-
"""
|
|
3115
|
+
) -> ApiResponse[V1ListTestsResponse]:
|
|
3116
|
+
"""test_service_list_tests
|
|
2007
3117
|
|
|
2008
3118
|
|
|
2009
|
-
:param
|
|
2010
|
-
:type
|
|
3119
|
+
: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
|
|
3120
|
+
:type order_by: str
|
|
2011
3121
|
:param _request_timeout: timeout setting for this request. If one
|
|
2012
3122
|
number provided, it will be total request
|
|
2013
3123
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2030,8 +3140,8 @@ class TestServiceApi:
|
|
|
2030
3140
|
:return: Returns the result object.
|
|
2031
3141
|
""" # noqa: E501
|
|
2032
3142
|
|
|
2033
|
-
_param = self.
|
|
2034
|
-
|
|
3143
|
+
_param = self._test_service_list_tests_serialize(
|
|
3144
|
+
order_by=order_by,
|
|
2035
3145
|
_request_auth=_request_auth,
|
|
2036
3146
|
_content_type=_content_type,
|
|
2037
3147
|
_headers=_headers,
|
|
@@ -2039,7 +3149,7 @@ class TestServiceApi:
|
|
|
2039
3149
|
)
|
|
2040
3150
|
|
|
2041
3151
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2042
|
-
'200': "
|
|
3152
|
+
'200': "V1ListTestsResponse",
|
|
2043
3153
|
}
|
|
2044
3154
|
response_data = self.api_client.call_api(
|
|
2045
3155
|
*_param,
|
|
@@ -2053,9 +3163,9 @@ class TestServiceApi:
|
|
|
2053
3163
|
|
|
2054
3164
|
|
|
2055
3165
|
@validate_call
|
|
2056
|
-
def
|
|
3166
|
+
def test_service_list_tests_without_preload_content(
|
|
2057
3167
|
self,
|
|
2058
|
-
|
|
3168
|
+
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
3169
|
_request_timeout: Union[
|
|
2060
3170
|
None,
|
|
2061
3171
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2069,11 +3179,11 @@ class TestServiceApi:
|
|
|
2069
3179
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2070
3180
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2071
3181
|
) -> RESTResponseType:
|
|
2072
|
-
"""
|
|
3182
|
+
"""test_service_list_tests
|
|
2073
3183
|
|
|
2074
3184
|
|
|
2075
|
-
:param
|
|
2076
|
-
:type
|
|
3185
|
+
: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
|
|
3186
|
+
:type order_by: str
|
|
2077
3187
|
:param _request_timeout: timeout setting for this request. If one
|
|
2078
3188
|
number provided, it will be total request
|
|
2079
3189
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2096,8 +3206,8 @@ class TestServiceApi:
|
|
|
2096
3206
|
:return: Returns the result object.
|
|
2097
3207
|
""" # noqa: E501
|
|
2098
3208
|
|
|
2099
|
-
_param = self.
|
|
2100
|
-
|
|
3209
|
+
_param = self._test_service_list_tests_serialize(
|
|
3210
|
+
order_by=order_by,
|
|
2101
3211
|
_request_auth=_request_auth,
|
|
2102
3212
|
_content_type=_content_type,
|
|
2103
3213
|
_headers=_headers,
|
|
@@ -2105,7 +3215,7 @@ class TestServiceApi:
|
|
|
2105
3215
|
)
|
|
2106
3216
|
|
|
2107
3217
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2108
|
-
'200': "
|
|
3218
|
+
'200': "V1ListTestsResponse",
|
|
2109
3219
|
}
|
|
2110
3220
|
response_data = self.api_client.call_api(
|
|
2111
3221
|
*_param,
|
|
@@ -2114,9 +3224,9 @@ class TestServiceApi:
|
|
|
2114
3224
|
return response_data.response
|
|
2115
3225
|
|
|
2116
3226
|
|
|
2117
|
-
def
|
|
3227
|
+
def _test_service_list_tests_serialize(
|
|
2118
3228
|
self,
|
|
2119
|
-
|
|
3229
|
+
order_by,
|
|
2120
3230
|
_request_auth,
|
|
2121
3231
|
_content_type,
|
|
2122
3232
|
_headers,
|
|
@@ -2137,9 +3247,9 @@ class TestServiceApi:
|
|
|
2137
3247
|
|
|
2138
3248
|
# process the path parameters
|
|
2139
3249
|
# process the query parameters
|
|
2140
|
-
if
|
|
3250
|
+
if order_by is not None:
|
|
2141
3251
|
|
|
2142
|
-
_query_params.append(('
|
|
3252
|
+
_query_params.append(('orderBy', order_by))
|
|
2143
3253
|
|
|
2144
3254
|
# process the header parameters
|
|
2145
3255
|
# process the form parameters
|
|
@@ -2160,7 +3270,7 @@ class TestServiceApi:
|
|
|
2160
3270
|
|
|
2161
3271
|
return self.api_client.param_serialize(
|
|
2162
3272
|
method='GET',
|
|
2163
|
-
resource_path='/v1/tests
|
|
3273
|
+
resource_path='/v1/tests',
|
|
2164
3274
|
path_params=_path_params,
|
|
2165
3275
|
query_params=_query_params,
|
|
2166
3276
|
header_params=_header_params,
|
|
@@ -2177,9 +3287,10 @@ class TestServiceApi:
|
|
|
2177
3287
|
|
|
2178
3288
|
|
|
2179
3289
|
@validate_call
|
|
2180
|
-
def
|
|
3290
|
+
def test_service_perturb_test(
|
|
2181
3291
|
self,
|
|
2182
|
-
|
|
3292
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3293
|
+
body: TestServicePerturbTestRequest,
|
|
2183
3294
|
_request_timeout: Union[
|
|
2184
3295
|
None,
|
|
2185
3296
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2192,12 +3303,14 @@ class TestServiceApi:
|
|
|
2192
3303
|
_content_type: Optional[StrictStr] = None,
|
|
2193
3304
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2194
3305
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2195
|
-
) ->
|
|
2196
|
-
"""
|
|
3306
|
+
) -> V1PerturbTestResponse:
|
|
3307
|
+
"""test_service_perturb_test
|
|
2197
3308
|
|
|
2198
3309
|
|
|
2199
|
-
:param
|
|
2200
|
-
:type
|
|
3310
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3311
|
+
:type name: str
|
|
3312
|
+
:param body: (required)
|
|
3313
|
+
:type body: TestServicePerturbTestRequest
|
|
2201
3314
|
:param _request_timeout: timeout setting for this request. If one
|
|
2202
3315
|
number provided, it will be total request
|
|
2203
3316
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2220,8 +3333,9 @@ class TestServiceApi:
|
|
|
2220
3333
|
:return: Returns the result object.
|
|
2221
3334
|
""" # noqa: E501
|
|
2222
3335
|
|
|
2223
|
-
_param = self.
|
|
2224
|
-
|
|
3336
|
+
_param = self._test_service_perturb_test_serialize(
|
|
3337
|
+
name=name,
|
|
3338
|
+
body=body,
|
|
2225
3339
|
_request_auth=_request_auth,
|
|
2226
3340
|
_content_type=_content_type,
|
|
2227
3341
|
_headers=_headers,
|
|
@@ -2229,7 +3343,7 @@ class TestServiceApi:
|
|
|
2229
3343
|
)
|
|
2230
3344
|
|
|
2231
3345
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2232
|
-
'200': "
|
|
3346
|
+
'200': "V1PerturbTestResponse",
|
|
2233
3347
|
}
|
|
2234
3348
|
response_data = self.api_client.call_api(
|
|
2235
3349
|
*_param,
|
|
@@ -2243,9 +3357,10 @@ class TestServiceApi:
|
|
|
2243
3357
|
|
|
2244
3358
|
|
|
2245
3359
|
@validate_call
|
|
2246
|
-
def
|
|
3360
|
+
def test_service_perturb_test_with_http_info(
|
|
2247
3361
|
self,
|
|
2248
|
-
|
|
3362
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3363
|
+
body: TestServicePerturbTestRequest,
|
|
2249
3364
|
_request_timeout: Union[
|
|
2250
3365
|
None,
|
|
2251
3366
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2258,12 +3373,14 @@ class TestServiceApi:
|
|
|
2258
3373
|
_content_type: Optional[StrictStr] = None,
|
|
2259
3374
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2260
3375
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2261
|
-
) -> ApiResponse[
|
|
2262
|
-
"""
|
|
3376
|
+
) -> ApiResponse[V1PerturbTestResponse]:
|
|
3377
|
+
"""test_service_perturb_test
|
|
2263
3378
|
|
|
2264
3379
|
|
|
2265
|
-
:param
|
|
2266
|
-
:type
|
|
3380
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3381
|
+
:type name: str
|
|
3382
|
+
:param body: (required)
|
|
3383
|
+
:type body: TestServicePerturbTestRequest
|
|
2267
3384
|
:param _request_timeout: timeout setting for this request. If one
|
|
2268
3385
|
number provided, it will be total request
|
|
2269
3386
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2286,8 +3403,9 @@ class TestServiceApi:
|
|
|
2286
3403
|
:return: Returns the result object.
|
|
2287
3404
|
""" # noqa: E501
|
|
2288
3405
|
|
|
2289
|
-
_param = self.
|
|
2290
|
-
|
|
3406
|
+
_param = self._test_service_perturb_test_serialize(
|
|
3407
|
+
name=name,
|
|
3408
|
+
body=body,
|
|
2291
3409
|
_request_auth=_request_auth,
|
|
2292
3410
|
_content_type=_content_type,
|
|
2293
3411
|
_headers=_headers,
|
|
@@ -2295,7 +3413,7 @@ class TestServiceApi:
|
|
|
2295
3413
|
)
|
|
2296
3414
|
|
|
2297
3415
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2298
|
-
'200': "
|
|
3416
|
+
'200': "V1PerturbTestResponse",
|
|
2299
3417
|
}
|
|
2300
3418
|
response_data = self.api_client.call_api(
|
|
2301
3419
|
*_param,
|
|
@@ -2309,9 +3427,10 @@ class TestServiceApi:
|
|
|
2309
3427
|
|
|
2310
3428
|
|
|
2311
3429
|
@validate_call
|
|
2312
|
-
def
|
|
3430
|
+
def test_service_perturb_test_without_preload_content(
|
|
2313
3431
|
self,
|
|
2314
|
-
|
|
3432
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3433
|
+
body: TestServicePerturbTestRequest,
|
|
2315
3434
|
_request_timeout: Union[
|
|
2316
3435
|
None,
|
|
2317
3436
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2325,11 +3444,13 @@ class TestServiceApi:
|
|
|
2325
3444
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2326
3445
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2327
3446
|
) -> RESTResponseType:
|
|
2328
|
-
"""
|
|
3447
|
+
"""test_service_perturb_test
|
|
2329
3448
|
|
|
2330
3449
|
|
|
2331
|
-
:param
|
|
2332
|
-
:type
|
|
3450
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3451
|
+
:type name: str
|
|
3452
|
+
:param body: (required)
|
|
3453
|
+
:type body: TestServicePerturbTestRequest
|
|
2333
3454
|
:param _request_timeout: timeout setting for this request. If one
|
|
2334
3455
|
number provided, it will be total request
|
|
2335
3456
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2352,8 +3473,9 @@ class TestServiceApi:
|
|
|
2352
3473
|
:return: Returns the result object.
|
|
2353
3474
|
""" # noqa: E501
|
|
2354
3475
|
|
|
2355
|
-
_param = self.
|
|
2356
|
-
|
|
3476
|
+
_param = self._test_service_perturb_test_serialize(
|
|
3477
|
+
name=name,
|
|
3478
|
+
body=body,
|
|
2357
3479
|
_request_auth=_request_auth,
|
|
2358
3480
|
_content_type=_content_type,
|
|
2359
3481
|
_headers=_headers,
|
|
@@ -2361,7 +3483,7 @@ class TestServiceApi:
|
|
|
2361
3483
|
)
|
|
2362
3484
|
|
|
2363
3485
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2364
|
-
'200': "
|
|
3486
|
+
'200': "V1PerturbTestResponse",
|
|
2365
3487
|
}
|
|
2366
3488
|
response_data = self.api_client.call_api(
|
|
2367
3489
|
*_param,
|
|
@@ -2370,9 +3492,10 @@ class TestServiceApi:
|
|
|
2370
3492
|
return response_data.response
|
|
2371
3493
|
|
|
2372
3494
|
|
|
2373
|
-
def
|
|
3495
|
+
def _test_service_perturb_test_serialize(
|
|
2374
3496
|
self,
|
|
2375
|
-
|
|
3497
|
+
name,
|
|
3498
|
+
body,
|
|
2376
3499
|
_request_auth,
|
|
2377
3500
|
_content_type,
|
|
2378
3501
|
_headers,
|
|
@@ -2392,14 +3515,14 @@ class TestServiceApi:
|
|
|
2392
3515
|
_body_params: Optional[bytes] = None
|
|
2393
3516
|
|
|
2394
3517
|
# process the path parameters
|
|
3518
|
+
if name is not None:
|
|
3519
|
+
_path_params['name'] = name
|
|
2395
3520
|
# process the query parameters
|
|
2396
|
-
if order_by is not None:
|
|
2397
|
-
|
|
2398
|
-
_query_params.append(('orderBy', order_by))
|
|
2399
|
-
|
|
2400
3521
|
# process the header parameters
|
|
2401
3522
|
# process the form parameters
|
|
2402
3523
|
# process the body parameter
|
|
3524
|
+
if body is not None:
|
|
3525
|
+
_body_params = body
|
|
2403
3526
|
|
|
2404
3527
|
|
|
2405
3528
|
# set the HTTP header `Accept`
|
|
@@ -2409,14 +3532,27 @@ class TestServiceApi:
|
|
|
2409
3532
|
]
|
|
2410
3533
|
)
|
|
2411
3534
|
|
|
3535
|
+
# set the HTTP header `Content-Type`
|
|
3536
|
+
if _content_type:
|
|
3537
|
+
_header_params['Content-Type'] = _content_type
|
|
3538
|
+
else:
|
|
3539
|
+
_default_content_type = (
|
|
3540
|
+
self.api_client.select_header_content_type(
|
|
3541
|
+
[
|
|
3542
|
+
'application/json'
|
|
3543
|
+
]
|
|
3544
|
+
)
|
|
3545
|
+
)
|
|
3546
|
+
if _default_content_type is not None:
|
|
3547
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2412
3548
|
|
|
2413
3549
|
# authentication setting
|
|
2414
3550
|
_auth_settings: List[str] = [
|
|
2415
3551
|
]
|
|
2416
3552
|
|
|
2417
3553
|
return self.api_client.param_serialize(
|
|
2418
|
-
method='
|
|
2419
|
-
resource_path='/v1/
|
|
3554
|
+
method='POST',
|
|
3555
|
+
resource_path='/v1/{name}:perturb',
|
|
2420
3556
|
path_params=_path_params,
|
|
2421
3557
|
query_params=_query_params,
|
|
2422
3558
|
header_params=_header_params,
|
|
@@ -2433,10 +3569,10 @@ class TestServiceApi:
|
|
|
2433
3569
|
|
|
2434
3570
|
|
|
2435
3571
|
@validate_call
|
|
2436
|
-
def
|
|
3572
|
+
def test_service_perturb_test_in_place(
|
|
2437
3573
|
self,
|
|
2438
3574
|
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
2439
|
-
body:
|
|
3575
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
2440
3576
|
_request_timeout: Union[
|
|
2441
3577
|
None,
|
|
2442
3578
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2449,14 +3585,14 @@ class TestServiceApi:
|
|
|
2449
3585
|
_content_type: Optional[StrictStr] = None,
|
|
2450
3586
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2451
3587
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2452
|
-
) ->
|
|
2453
|
-
"""
|
|
3588
|
+
) -> V1PerturbTestInPlaceResponse:
|
|
3589
|
+
"""test_service_perturb_test_in_place
|
|
2454
3590
|
|
|
2455
3591
|
|
|
2456
3592
|
:param name: Required. The name of the Test to perturb. (required)
|
|
2457
3593
|
:type name: str
|
|
2458
3594
|
:param body: (required)
|
|
2459
|
-
:type body:
|
|
3595
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
2460
3596
|
:param _request_timeout: timeout setting for this request. If one
|
|
2461
3597
|
number provided, it will be total request
|
|
2462
3598
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2479,7 +3615,7 @@ class TestServiceApi:
|
|
|
2479
3615
|
:return: Returns the result object.
|
|
2480
3616
|
""" # noqa: E501
|
|
2481
3617
|
|
|
2482
|
-
_param = self.
|
|
3618
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
2483
3619
|
name=name,
|
|
2484
3620
|
body=body,
|
|
2485
3621
|
_request_auth=_request_auth,
|
|
@@ -2489,7 +3625,7 @@ class TestServiceApi:
|
|
|
2489
3625
|
)
|
|
2490
3626
|
|
|
2491
3627
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2492
|
-
'200': "
|
|
3628
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
2493
3629
|
}
|
|
2494
3630
|
response_data = self.api_client.call_api(
|
|
2495
3631
|
*_param,
|
|
@@ -2503,10 +3639,10 @@ class TestServiceApi:
|
|
|
2503
3639
|
|
|
2504
3640
|
|
|
2505
3641
|
@validate_call
|
|
2506
|
-
def
|
|
3642
|
+
def test_service_perturb_test_in_place_with_http_info(
|
|
2507
3643
|
self,
|
|
2508
3644
|
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
2509
|
-
body:
|
|
3645
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
2510
3646
|
_request_timeout: Union[
|
|
2511
3647
|
None,
|
|
2512
3648
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2519,14 +3655,14 @@ class TestServiceApi:
|
|
|
2519
3655
|
_content_type: Optional[StrictStr] = None,
|
|
2520
3656
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2521
3657
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2522
|
-
) -> ApiResponse[
|
|
2523
|
-
"""
|
|
3658
|
+
) -> ApiResponse[V1PerturbTestInPlaceResponse]:
|
|
3659
|
+
"""test_service_perturb_test_in_place
|
|
2524
3660
|
|
|
2525
3661
|
|
|
2526
3662
|
:param name: Required. The name of the Test to perturb. (required)
|
|
2527
3663
|
:type name: str
|
|
2528
3664
|
:param body: (required)
|
|
2529
|
-
:type body:
|
|
3665
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
2530
3666
|
:param _request_timeout: timeout setting for this request. If one
|
|
2531
3667
|
number provided, it will be total request
|
|
2532
3668
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2549,7 +3685,7 @@ class TestServiceApi:
|
|
|
2549
3685
|
:return: Returns the result object.
|
|
2550
3686
|
""" # noqa: E501
|
|
2551
3687
|
|
|
2552
|
-
_param = self.
|
|
3688
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
2553
3689
|
name=name,
|
|
2554
3690
|
body=body,
|
|
2555
3691
|
_request_auth=_request_auth,
|
|
@@ -2559,7 +3695,7 @@ class TestServiceApi:
|
|
|
2559
3695
|
)
|
|
2560
3696
|
|
|
2561
3697
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2562
|
-
'200': "
|
|
3698
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
2563
3699
|
}
|
|
2564
3700
|
response_data = self.api_client.call_api(
|
|
2565
3701
|
*_param,
|
|
@@ -2573,10 +3709,10 @@ class TestServiceApi:
|
|
|
2573
3709
|
|
|
2574
3710
|
|
|
2575
3711
|
@validate_call
|
|
2576
|
-
def
|
|
3712
|
+
def test_service_perturb_test_in_place_without_preload_content(
|
|
2577
3713
|
self,
|
|
2578
3714
|
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
2579
|
-
body:
|
|
3715
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
2580
3716
|
_request_timeout: Union[
|
|
2581
3717
|
None,
|
|
2582
3718
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2590,13 +3726,13 @@ class TestServiceApi:
|
|
|
2590
3726
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2591
3727
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2592
3728
|
) -> RESTResponseType:
|
|
2593
|
-
"""
|
|
3729
|
+
"""test_service_perturb_test_in_place
|
|
2594
3730
|
|
|
2595
3731
|
|
|
2596
3732
|
:param name: Required. The name of the Test to perturb. (required)
|
|
2597
3733
|
:type name: str
|
|
2598
3734
|
:param body: (required)
|
|
2599
|
-
:type body:
|
|
3735
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
2600
3736
|
:param _request_timeout: timeout setting for this request. If one
|
|
2601
3737
|
number provided, it will be total request
|
|
2602
3738
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2619,7 +3755,7 @@ class TestServiceApi:
|
|
|
2619
3755
|
:return: Returns the result object.
|
|
2620
3756
|
""" # noqa: E501
|
|
2621
3757
|
|
|
2622
|
-
_param = self.
|
|
3758
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
2623
3759
|
name=name,
|
|
2624
3760
|
body=body,
|
|
2625
3761
|
_request_auth=_request_auth,
|
|
@@ -2629,7 +3765,7 @@ class TestServiceApi:
|
|
|
2629
3765
|
)
|
|
2630
3766
|
|
|
2631
3767
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2632
|
-
'200': "
|
|
3768
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
2633
3769
|
}
|
|
2634
3770
|
response_data = self.api_client.call_api(
|
|
2635
3771
|
*_param,
|
|
@@ -2638,7 +3774,7 @@ class TestServiceApi:
|
|
|
2638
3774
|
return response_data.response
|
|
2639
3775
|
|
|
2640
3776
|
|
|
2641
|
-
def
|
|
3777
|
+
def _test_service_perturb_test_in_place_serialize(
|
|
2642
3778
|
self,
|
|
2643
3779
|
name,
|
|
2644
3780
|
body,
|
|
@@ -2698,7 +3834,7 @@ class TestServiceApi:
|
|
|
2698
3834
|
|
|
2699
3835
|
return self.api_client.param_serialize(
|
|
2700
3836
|
method='POST',
|
|
2701
|
-
resource_path='/v1/{name}:
|
|
3837
|
+
resource_path='/v1/{name}:perturbInPlace',
|
|
2702
3838
|
path_params=_path_params,
|
|
2703
3839
|
query_params=_query_params,
|
|
2704
3840
|
header_params=_header_params,
|