eval-studio-client 1.0.1__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 +36 -1
- eval_studio_client/api/api/__init__.py +4 -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 +1 -1
- 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 +17 -17
- eval_studio_client/api/api/prompt_generation_service_api.py +1 -1
- eval_studio_client/api/api/prompt_library_service_api.py +1 -1
- 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 +585 -17
- eval_studio_client/api/api/who_am_i_service_api.py +1 -1
- eval_studio_client/api/api/workflow_edge_service_api.py +541 -2
- eval_studio_client/api/api/workflow_node_service_api.py +923 -126
- eval_studio_client/api/api/workflow_service_api.py +317 -33
- 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/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/PerturbatorServiceApi.md +5 -5
- eval_studio_client/api/docs/PromptGenerationServiceAutoGeneratePromptsRequest.md +2 -1
- eval_studio_client/api/docs/RequiredTheTestCaseToUpdate.md +2 -0
- eval_studio_client/api/docs/RequiredTheUpdatedWorkflow.md +3 -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 +145 -5
- eval_studio_client/api/docs/TestServiceCloneTestRequest.md +30 -0
- eval_studio_client/api/docs/TestServiceGenerateTestCasesRequest.md +3 -2
- eval_studio_client/api/docs/TestServicePerturbTestInPlaceRequest.md +30 -0
- eval_studio_client/api/docs/V1AbortOperationResponse.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/V1CreateWorkflowEdgeResponse.md +29 -0
- eval_studio_client/api/docs/V1CreateWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1DeleteWorkflowEdgeResponse.md +29 -0
- eval_studio_client/api/docs/V1GeneratedTestCase.md +30 -0
- eval_studio_client/api/docs/V1GetLeaderboardReportResponse.md +29 -0
- eval_studio_client/api/docs/V1Info.md +3 -0
- eval_studio_client/api/docs/V1InitWorkflowNodeResponse.md +29 -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/V1ListTestCaseRelationshipsResponse.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/V1RepeatedString.md +29 -0
- eval_studio_client/api/docs/V1ResetWorkflowNodeResponse.md +29 -0
- eval_studio_client/api/docs/V1TestCase.md +2 -0
- eval_studio_client/api/docs/V1Workflow.md +3 -0
- eval_studio_client/api/docs/WorkflowEdgeServiceApi.md +139 -0
- eval_studio_client/api/docs/WorkflowNodeServiceApi.md +221 -12
- eval_studio_client/api/docs/WorkflowServiceApi.md +81 -10
- eval_studio_client/api/docs/WorkflowServiceCloneWorkflowRequest.md +33 -0
- eval_studio_client/api/exceptions.py +1 -1
- eval_studio_client/api/models/__init__.py +32 -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 +1 -1
- eval_studio_client/api/models/prompt_generation_service_auto_generate_prompts_request.py +13 -4
- eval_studio_client/api/models/protobuf_any.py +1 -1
- eval_studio_client/api/models/protobuf_null_value.py +1 -1
- 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 +10 -3
- eval_studio_client/api/models/required_the_test_to_update.py +1 -1
- eval_studio_client/api/models/required_the_updated_workflow.py +11 -3
- eval_studio_client/api/models/required_the_updated_workflow_node.py +1 -1
- 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 +7 -5
- eval_studio_client/api/models/test_service_import_test_cases_from_library_request.py +1 -1
- eval_studio_client/api/models/test_service_list_test_case_library_items_request.py +1 -1
- 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 +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_batch_delete_workflows_response.py +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_batch_get_workflow_nodes_response.py +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_delete_workflow_response.py +1 -1
- eval_studio_client/api/models/v1_document.py +1 -1
- eval_studio_client/api/models/v1_estimate_threshold_request.py +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_get_workflow_node_response.py +1 -1
- eval_studio_client/api/models/v1_get_workflow_response.py +1 -1
- eval_studio_client/api/models/v1_import_evaluation_request.py +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_import_test_cases_request.py +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_prompt_library_item.py +1 -1
- 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 +10 -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 +1 -1
- 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 +1 -1
- eval_studio_client/api/models/v1_update_workflow_response.py +1 -1
- eval_studio_client/api/models/v1_who_am_i_response.py +1 -1
- eval_studio_client/api/models/v1_workflow.py +11 -3
- eval_studio_client/api/models/v1_workflow_edge.py +1 -1
- eval_studio_client/api/models/v1_workflow_edge_type.py +1 -1
- eval_studio_client/api/models/v1_workflow_node.py +1 -1
- eval_studio_client/api/models/v1_workflow_node_artifact.py +1 -1
- eval_studio_client/api/models/v1_workflow_node_artifacts.py +1 -1
- eval_studio_client/api/models/v1_workflow_node_attributes.py +1 -1
- eval_studio_client/api/models/v1_workflow_node_status.py +1 -1
- eval_studio_client/api/models/v1_workflow_node_type.py +4 -1
- eval_studio_client/api/models/v1_workflow_node_view.py +1 -1
- eval_studio_client/api/models/v1_workflow_type.py +1 -1
- 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 +1 -1
- 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 +6 -2
- 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 +9 -4
- eval_studio_client/api/test/test_prompt_library_service_api.py +1 -1
- eval_studio_client/api/test/test_protobuf_any.py +1 -1
- eval_studio_client/api/test/test_protobuf_null_value.py +1 -1
- 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 +6 -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 +5 -2
- eval_studio_client/api/test/test_required_the_updated_workflow_node.py +1 -1
- 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 +13 -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 +4 -1
- eval_studio_client/api/test/test_test_service_import_test_cases_from_library_request.py +1 -1
- eval_studio_client/api/test/test_test_service_list_test_case_library_items_request.py +1 -1
- 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 +1 -1
- 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 +6 -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 +1 -1
- eval_studio_client/api/test/test_v1_batch_delete_workflows_response.py +5 -2
- 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 +1 -1
- eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +1 -1
- 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 +6 -2
- 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 +6 -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 +5 -2
- 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 +6 -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 +1 -1
- eval_studio_client/api/test/test_v1_delete_workflow_response.py +5 -2
- eval_studio_client/api/test/test_v1_document.py +1 -1
- eval_studio_client/api/test/test_v1_estimate_threshold_request.py +1 -1
- eval_studio_client/api/test/test_v1_evaluation_test.py +6 -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 +6 -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 +6 -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 +1 -1
- eval_studio_client/api/test/test_v1_get_workflow_node_response.py +1 -1
- eval_studio_client/api/test/test_v1_get_workflow_response.py +5 -2
- eval_studio_client/api/test/test_v1_import_evaluation_request.py +1 -1
- 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 +1 -1
- eval_studio_client/api/test/test_v1_import_test_cases_request.py +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +6 -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 +5 -2
- 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 +1 -1
- eval_studio_client/api/test/test_v1_prompt_library_item.py +1 -1
- 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 +6 -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 +1 -1
- 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 +6 -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 +1 -1
- eval_studio_client/api/test/test_v1_update_workflow_response.py +5 -2
- eval_studio_client/api/test/test_v1_who_am_i_response.py +1 -1
- eval_studio_client/api/test/test_v1_workflow.py +5 -2
- eval_studio_client/api/test/test_v1_workflow_edge.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_edge_type.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_artifact.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_artifacts.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_attributes.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_status.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_type.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_node_view.py +1 -1
- eval_studio_client/api/test/test_v1_workflow_type.py +1 -1
- 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 +15 -1
- eval_studio_client/api/test/test_workflow_node_service_api.py +23 -2
- eval_studio_client/api/test/test_workflow_service_api.py +8 -1
- eval_studio_client/api/test/test_workflow_service_clone_workflow_request.py +55 -0
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +1633 -219
- eval_studio_client/tests.py +103 -8
- {eval_studio_client-1.0.1.dist-info → eval_studio_client-1.1.0a5.dist-info}/METADATA +2 -2
- eval_studio_client-1.1.0a5.dist-info/RECORD +720 -0
- {eval_studio_client-1.0.1.dist-info → eval_studio_client-1.1.0a5.dist-info}/WHEEL +1 -1
- eval_studio_client-1.0.1.dist-info/RECORD +0 -615
|
@@ -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,15 +20,18 @@ 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
|
|
24
25
|
from eval_studio_client.api.models.test_service_import_test_cases_from_library_request import TestServiceImportTestCasesFromLibraryRequest
|
|
25
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
|
|
26
28
|
from eval_studio_client.api.models.test_service_perturb_test_request import TestServicePerturbTestRequest
|
|
27
29
|
from eval_studio_client.api.models.v1_batch_delete_tests_request import V1BatchDeleteTestsRequest
|
|
28
30
|
from eval_studio_client.api.models.v1_batch_delete_tests_response import V1BatchDeleteTestsResponse
|
|
29
31
|
from eval_studio_client.api.models.v1_batch_get_tests_response import V1BatchGetTestsResponse
|
|
30
32
|
from eval_studio_client.api.models.v1_batch_import_tests_request import V1BatchImportTestsRequest
|
|
31
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
|
|
32
35
|
from eval_studio_client.api.models.v1_create_test_response import V1CreateTestResponse
|
|
33
36
|
from eval_studio_client.api.models.v1_delete_test_response import V1DeleteTestResponse
|
|
34
37
|
from eval_studio_client.api.models.v1_generate_test_cases_response import V1GenerateTestCasesResponse
|
|
@@ -37,6 +40,7 @@ from eval_studio_client.api.models.v1_import_test_cases_from_library_response im
|
|
|
37
40
|
from eval_studio_client.api.models.v1_list_most_recent_tests_response import V1ListMostRecentTestsResponse
|
|
38
41
|
from eval_studio_client.api.models.v1_list_test_case_library_items_response import V1ListTestCaseLibraryItemsResponse
|
|
39
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
|
|
40
44
|
from eval_studio_client.api.models.v1_perturb_test_response import V1PerturbTestResponse
|
|
41
45
|
from eval_studio_client.api.models.v1_test import V1Test
|
|
42
46
|
from eval_studio_client.api.models.v1_update_test_response import V1UpdateTestResponse
|
|
@@ -850,6 +854,288 @@ class TestServiceApi:
|
|
|
850
854
|
|
|
851
855
|
|
|
852
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
|
+
|
|
853
1139
|
@validate_call
|
|
854
1140
|
def test_service_create_test(
|
|
855
1141
|
self,
|
|
@@ -1673,7 +1959,7 @@ class TestServiceApi:
|
|
|
1673
1959
|
@validate_call
|
|
1674
1960
|
def test_service_get_test(
|
|
1675
1961
|
self,
|
|
1676
|
-
|
|
1962
|
+
name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
|
|
1677
1963
|
_request_timeout: Union[
|
|
1678
1964
|
None,
|
|
1679
1965
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1690,8 +1976,8 @@ class TestServiceApi:
|
|
|
1690
1976
|
"""test_service_get_test
|
|
1691
1977
|
|
|
1692
1978
|
|
|
1693
|
-
:param
|
|
1694
|
-
:type
|
|
1979
|
+
:param name_10: Required. The name of the Test to retrieve. (required)
|
|
1980
|
+
:type name_10: str
|
|
1695
1981
|
:param _request_timeout: timeout setting for this request. If one
|
|
1696
1982
|
number provided, it will be total request
|
|
1697
1983
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1715,7 +2001,7 @@ class TestServiceApi:
|
|
|
1715
2001
|
""" # noqa: E501
|
|
1716
2002
|
|
|
1717
2003
|
_param = self._test_service_get_test_serialize(
|
|
1718
|
-
|
|
2004
|
+
name_10=name_10,
|
|
1719
2005
|
_request_auth=_request_auth,
|
|
1720
2006
|
_content_type=_content_type,
|
|
1721
2007
|
_headers=_headers,
|
|
@@ -1739,7 +2025,7 @@ class TestServiceApi:
|
|
|
1739
2025
|
@validate_call
|
|
1740
2026
|
def test_service_get_test_with_http_info(
|
|
1741
2027
|
self,
|
|
1742
|
-
|
|
2028
|
+
name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
|
|
1743
2029
|
_request_timeout: Union[
|
|
1744
2030
|
None,
|
|
1745
2031
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1756,8 +2042,8 @@ class TestServiceApi:
|
|
|
1756
2042
|
"""test_service_get_test
|
|
1757
2043
|
|
|
1758
2044
|
|
|
1759
|
-
:param
|
|
1760
|
-
:type
|
|
2045
|
+
:param name_10: Required. The name of the Test to retrieve. (required)
|
|
2046
|
+
:type name_10: str
|
|
1761
2047
|
:param _request_timeout: timeout setting for this request. If one
|
|
1762
2048
|
number provided, it will be total request
|
|
1763
2049
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1781,7 +2067,7 @@ class TestServiceApi:
|
|
|
1781
2067
|
""" # noqa: E501
|
|
1782
2068
|
|
|
1783
2069
|
_param = self._test_service_get_test_serialize(
|
|
1784
|
-
|
|
2070
|
+
name_10=name_10,
|
|
1785
2071
|
_request_auth=_request_auth,
|
|
1786
2072
|
_content_type=_content_type,
|
|
1787
2073
|
_headers=_headers,
|
|
@@ -1805,7 +2091,7 @@ class TestServiceApi:
|
|
|
1805
2091
|
@validate_call
|
|
1806
2092
|
def test_service_get_test_without_preload_content(
|
|
1807
2093
|
self,
|
|
1808
|
-
|
|
2094
|
+
name_10: Annotated[str, Field(strict=True, description="Required. The name of the Test to retrieve.")],
|
|
1809
2095
|
_request_timeout: Union[
|
|
1810
2096
|
None,
|
|
1811
2097
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1822,8 +2108,8 @@ class TestServiceApi:
|
|
|
1822
2108
|
"""test_service_get_test
|
|
1823
2109
|
|
|
1824
2110
|
|
|
1825
|
-
:param
|
|
1826
|
-
:type
|
|
2111
|
+
:param name_10: Required. The name of the Test to retrieve. (required)
|
|
2112
|
+
:type name_10: str
|
|
1827
2113
|
:param _request_timeout: timeout setting for this request. If one
|
|
1828
2114
|
number provided, it will be total request
|
|
1829
2115
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1847,7 +2133,7 @@ class TestServiceApi:
|
|
|
1847
2133
|
""" # noqa: E501
|
|
1848
2134
|
|
|
1849
2135
|
_param = self._test_service_get_test_serialize(
|
|
1850
|
-
|
|
2136
|
+
name_10=name_10,
|
|
1851
2137
|
_request_auth=_request_auth,
|
|
1852
2138
|
_content_type=_content_type,
|
|
1853
2139
|
_headers=_headers,
|
|
@@ -1866,7 +2152,7 @@ class TestServiceApi:
|
|
|
1866
2152
|
|
|
1867
2153
|
def _test_service_get_test_serialize(
|
|
1868
2154
|
self,
|
|
1869
|
-
|
|
2155
|
+
name_10,
|
|
1870
2156
|
_request_auth,
|
|
1871
2157
|
_content_type,
|
|
1872
2158
|
_headers,
|
|
@@ -1886,8 +2172,8 @@ class TestServiceApi:
|
|
|
1886
2172
|
_body_params: Optional[bytes] = None
|
|
1887
2173
|
|
|
1888
2174
|
# process the path parameters
|
|
1889
|
-
if
|
|
1890
|
-
_path_params['
|
|
2175
|
+
if name_10 is not None:
|
|
2176
|
+
_path_params['name_10'] = name_10
|
|
1891
2177
|
# process the query parameters
|
|
1892
2178
|
# process the header parameters
|
|
1893
2179
|
# process the form parameters
|
|
@@ -1908,7 +2194,7 @@ class TestServiceApi:
|
|
|
1908
2194
|
|
|
1909
2195
|
return self.api_client.param_serialize(
|
|
1910
2196
|
method='GET',
|
|
1911
|
-
resource_path='/v1/{
|
|
2197
|
+
resource_path='/v1/{name_10}',
|
|
1912
2198
|
path_params=_path_params,
|
|
1913
2199
|
query_params=_query_params,
|
|
1914
2200
|
header_params=_header_params,
|
|
@@ -3282,6 +3568,288 @@ class TestServiceApi:
|
|
|
3282
3568
|
|
|
3283
3569
|
|
|
3284
3570
|
|
|
3571
|
+
@validate_call
|
|
3572
|
+
def test_service_perturb_test_in_place(
|
|
3573
|
+
self,
|
|
3574
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3575
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
3576
|
+
_request_timeout: Union[
|
|
3577
|
+
None,
|
|
3578
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3579
|
+
Tuple[
|
|
3580
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3581
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3582
|
+
]
|
|
3583
|
+
] = None,
|
|
3584
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3585
|
+
_content_type: Optional[StrictStr] = None,
|
|
3586
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3587
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3588
|
+
) -> V1PerturbTestInPlaceResponse:
|
|
3589
|
+
"""test_service_perturb_test_in_place
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3593
|
+
:type name: str
|
|
3594
|
+
:param body: (required)
|
|
3595
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
3596
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3597
|
+
number provided, it will be total request
|
|
3598
|
+
timeout. It can also be a pair (tuple) of
|
|
3599
|
+
(connection, read) timeouts.
|
|
3600
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3601
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3602
|
+
request; this effectively ignores the
|
|
3603
|
+
authentication in the spec for a single request.
|
|
3604
|
+
:type _request_auth: dict, optional
|
|
3605
|
+
:param _content_type: force content-type for the request.
|
|
3606
|
+
:type _content_type: str, Optional
|
|
3607
|
+
:param _headers: set to override the headers for a single
|
|
3608
|
+
request; this effectively ignores the headers
|
|
3609
|
+
in the spec for a single request.
|
|
3610
|
+
:type _headers: dict, optional
|
|
3611
|
+
:param _host_index: set to override the host_index for a single
|
|
3612
|
+
request; this effectively ignores the host_index
|
|
3613
|
+
in the spec for a single request.
|
|
3614
|
+
:type _host_index: int, optional
|
|
3615
|
+
:return: Returns the result object.
|
|
3616
|
+
""" # noqa: E501
|
|
3617
|
+
|
|
3618
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
3619
|
+
name=name,
|
|
3620
|
+
body=body,
|
|
3621
|
+
_request_auth=_request_auth,
|
|
3622
|
+
_content_type=_content_type,
|
|
3623
|
+
_headers=_headers,
|
|
3624
|
+
_host_index=_host_index
|
|
3625
|
+
)
|
|
3626
|
+
|
|
3627
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3628
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
3629
|
+
}
|
|
3630
|
+
response_data = self.api_client.call_api(
|
|
3631
|
+
*_param,
|
|
3632
|
+
_request_timeout=_request_timeout
|
|
3633
|
+
)
|
|
3634
|
+
response_data.read()
|
|
3635
|
+
return self.api_client.response_deserialize(
|
|
3636
|
+
response_data=response_data,
|
|
3637
|
+
response_types_map=_response_types_map,
|
|
3638
|
+
).data
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
@validate_call
|
|
3642
|
+
def test_service_perturb_test_in_place_with_http_info(
|
|
3643
|
+
self,
|
|
3644
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3645
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
3646
|
+
_request_timeout: Union[
|
|
3647
|
+
None,
|
|
3648
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3649
|
+
Tuple[
|
|
3650
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3651
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3652
|
+
]
|
|
3653
|
+
] = None,
|
|
3654
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3655
|
+
_content_type: Optional[StrictStr] = None,
|
|
3656
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3657
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3658
|
+
) -> ApiResponse[V1PerturbTestInPlaceResponse]:
|
|
3659
|
+
"""test_service_perturb_test_in_place
|
|
3660
|
+
|
|
3661
|
+
|
|
3662
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3663
|
+
:type name: str
|
|
3664
|
+
:param body: (required)
|
|
3665
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
3666
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3667
|
+
number provided, it will be total request
|
|
3668
|
+
timeout. It can also be a pair (tuple) of
|
|
3669
|
+
(connection, read) timeouts.
|
|
3670
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3671
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3672
|
+
request; this effectively ignores the
|
|
3673
|
+
authentication in the spec for a single request.
|
|
3674
|
+
:type _request_auth: dict, optional
|
|
3675
|
+
:param _content_type: force content-type for the request.
|
|
3676
|
+
:type _content_type: str, Optional
|
|
3677
|
+
:param _headers: set to override the headers for a single
|
|
3678
|
+
request; this effectively ignores the headers
|
|
3679
|
+
in the spec for a single request.
|
|
3680
|
+
:type _headers: dict, optional
|
|
3681
|
+
:param _host_index: set to override the host_index for a single
|
|
3682
|
+
request; this effectively ignores the host_index
|
|
3683
|
+
in the spec for a single request.
|
|
3684
|
+
:type _host_index: int, optional
|
|
3685
|
+
:return: Returns the result object.
|
|
3686
|
+
""" # noqa: E501
|
|
3687
|
+
|
|
3688
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
3689
|
+
name=name,
|
|
3690
|
+
body=body,
|
|
3691
|
+
_request_auth=_request_auth,
|
|
3692
|
+
_content_type=_content_type,
|
|
3693
|
+
_headers=_headers,
|
|
3694
|
+
_host_index=_host_index
|
|
3695
|
+
)
|
|
3696
|
+
|
|
3697
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3698
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
3699
|
+
}
|
|
3700
|
+
response_data = self.api_client.call_api(
|
|
3701
|
+
*_param,
|
|
3702
|
+
_request_timeout=_request_timeout
|
|
3703
|
+
)
|
|
3704
|
+
response_data.read()
|
|
3705
|
+
return self.api_client.response_deserialize(
|
|
3706
|
+
response_data=response_data,
|
|
3707
|
+
response_types_map=_response_types_map,
|
|
3708
|
+
)
|
|
3709
|
+
|
|
3710
|
+
|
|
3711
|
+
@validate_call
|
|
3712
|
+
def test_service_perturb_test_in_place_without_preload_content(
|
|
3713
|
+
self,
|
|
3714
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Test to perturb.")],
|
|
3715
|
+
body: TestServicePerturbTestInPlaceRequest,
|
|
3716
|
+
_request_timeout: Union[
|
|
3717
|
+
None,
|
|
3718
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3719
|
+
Tuple[
|
|
3720
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3721
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3722
|
+
]
|
|
3723
|
+
] = None,
|
|
3724
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3725
|
+
_content_type: Optional[StrictStr] = None,
|
|
3726
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3727
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3728
|
+
) -> RESTResponseType:
|
|
3729
|
+
"""test_service_perturb_test_in_place
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
:param name: Required. The name of the Test to perturb. (required)
|
|
3733
|
+
:type name: str
|
|
3734
|
+
:param body: (required)
|
|
3735
|
+
:type body: TestServicePerturbTestInPlaceRequest
|
|
3736
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3737
|
+
number provided, it will be total request
|
|
3738
|
+
timeout. It can also be a pair (tuple) of
|
|
3739
|
+
(connection, read) timeouts.
|
|
3740
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3741
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3742
|
+
request; this effectively ignores the
|
|
3743
|
+
authentication in the spec for a single request.
|
|
3744
|
+
:type _request_auth: dict, optional
|
|
3745
|
+
:param _content_type: force content-type for the request.
|
|
3746
|
+
:type _content_type: str, Optional
|
|
3747
|
+
:param _headers: set to override the headers for a single
|
|
3748
|
+
request; this effectively ignores the headers
|
|
3749
|
+
in the spec for a single request.
|
|
3750
|
+
:type _headers: dict, optional
|
|
3751
|
+
:param _host_index: set to override the host_index for a single
|
|
3752
|
+
request; this effectively ignores the host_index
|
|
3753
|
+
in the spec for a single request.
|
|
3754
|
+
:type _host_index: int, optional
|
|
3755
|
+
:return: Returns the result object.
|
|
3756
|
+
""" # noqa: E501
|
|
3757
|
+
|
|
3758
|
+
_param = self._test_service_perturb_test_in_place_serialize(
|
|
3759
|
+
name=name,
|
|
3760
|
+
body=body,
|
|
3761
|
+
_request_auth=_request_auth,
|
|
3762
|
+
_content_type=_content_type,
|
|
3763
|
+
_headers=_headers,
|
|
3764
|
+
_host_index=_host_index
|
|
3765
|
+
)
|
|
3766
|
+
|
|
3767
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3768
|
+
'200': "V1PerturbTestInPlaceResponse",
|
|
3769
|
+
}
|
|
3770
|
+
response_data = self.api_client.call_api(
|
|
3771
|
+
*_param,
|
|
3772
|
+
_request_timeout=_request_timeout
|
|
3773
|
+
)
|
|
3774
|
+
return response_data.response
|
|
3775
|
+
|
|
3776
|
+
|
|
3777
|
+
def _test_service_perturb_test_in_place_serialize(
|
|
3778
|
+
self,
|
|
3779
|
+
name,
|
|
3780
|
+
body,
|
|
3781
|
+
_request_auth,
|
|
3782
|
+
_content_type,
|
|
3783
|
+
_headers,
|
|
3784
|
+
_host_index,
|
|
3785
|
+
) -> RequestSerialized:
|
|
3786
|
+
|
|
3787
|
+
_host = None
|
|
3788
|
+
|
|
3789
|
+
_collection_formats: Dict[str, str] = {
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
_path_params: Dict[str, str] = {}
|
|
3793
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3794
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3795
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3796
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
3797
|
+
_body_params: Optional[bytes] = None
|
|
3798
|
+
|
|
3799
|
+
# process the path parameters
|
|
3800
|
+
if name is not None:
|
|
3801
|
+
_path_params['name'] = name
|
|
3802
|
+
# process the query parameters
|
|
3803
|
+
# process the header parameters
|
|
3804
|
+
# process the form parameters
|
|
3805
|
+
# process the body parameter
|
|
3806
|
+
if body is not None:
|
|
3807
|
+
_body_params = body
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
# set the HTTP header `Accept`
|
|
3811
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3812
|
+
[
|
|
3813
|
+
'application/json'
|
|
3814
|
+
]
|
|
3815
|
+
)
|
|
3816
|
+
|
|
3817
|
+
# set the HTTP header `Content-Type`
|
|
3818
|
+
if _content_type:
|
|
3819
|
+
_header_params['Content-Type'] = _content_type
|
|
3820
|
+
else:
|
|
3821
|
+
_default_content_type = (
|
|
3822
|
+
self.api_client.select_header_content_type(
|
|
3823
|
+
[
|
|
3824
|
+
'application/json'
|
|
3825
|
+
]
|
|
3826
|
+
)
|
|
3827
|
+
)
|
|
3828
|
+
if _default_content_type is not None:
|
|
3829
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3830
|
+
|
|
3831
|
+
# authentication setting
|
|
3832
|
+
_auth_settings: List[str] = [
|
|
3833
|
+
]
|
|
3834
|
+
|
|
3835
|
+
return self.api_client.param_serialize(
|
|
3836
|
+
method='POST',
|
|
3837
|
+
resource_path='/v1/{name}:perturbInPlace',
|
|
3838
|
+
path_params=_path_params,
|
|
3839
|
+
query_params=_query_params,
|
|
3840
|
+
header_params=_header_params,
|
|
3841
|
+
body=_body_params,
|
|
3842
|
+
post_params=_form_params,
|
|
3843
|
+
files=_files,
|
|
3844
|
+
auth_settings=_auth_settings,
|
|
3845
|
+
collection_formats=_collection_formats,
|
|
3846
|
+
_host=_host,
|
|
3847
|
+
_request_auth=_request_auth
|
|
3848
|
+
)
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
|
|
3852
|
+
|
|
3285
3853
|
@validate_call
|
|
3286
3854
|
def test_service_update_test(
|
|
3287
3855
|
self,
|