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
|
|
|
@@ -21,11 +21,15 @@ from typing import List, Optional
|
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from eval_studio_client.api.models.required_the_updated_workflow_node import RequiredTheUpdatedWorkflowNode
|
|
23
23
|
from eval_studio_client.api.models.v1_batch_get_workflow_nodes_response import V1BatchGetWorkflowNodesResponse
|
|
24
|
+
from eval_studio_client.api.models.v1_create_workflow_node_response import V1CreateWorkflowNodeResponse
|
|
24
25
|
from eval_studio_client.api.models.v1_delete_workflow_node_response import V1DeleteWorkflowNodeResponse
|
|
25
26
|
from eval_studio_client.api.models.v1_get_workflow_node_prerequisites_response import V1GetWorkflowNodePrerequisitesResponse
|
|
26
27
|
from eval_studio_client.api.models.v1_get_workflow_node_response import V1GetWorkflowNodeResponse
|
|
28
|
+
from eval_studio_client.api.models.v1_init_workflow_node_response import V1InitWorkflowNodeResponse
|
|
27
29
|
from eval_studio_client.api.models.v1_process_workflow_node_response import V1ProcessWorkflowNodeResponse
|
|
30
|
+
from eval_studio_client.api.models.v1_reset_workflow_node_response import V1ResetWorkflowNodeResponse
|
|
28
31
|
from eval_studio_client.api.models.v1_update_workflow_node_response import V1UpdateWorkflowNodeResponse
|
|
32
|
+
from eval_studio_client.api.models.v1_workflow_node import V1WorkflowNode
|
|
29
33
|
|
|
30
34
|
from eval_studio_client.api.api_client import ApiClient, RequestSerialized
|
|
31
35
|
from eval_studio_client.api.api_response import ApiResponse
|
|
@@ -319,10 +323,820 @@ class WorkflowNodeServiceApi:
|
|
|
319
323
|
|
|
320
324
|
|
|
321
325
|
|
|
326
|
+
@validate_call
|
|
327
|
+
def workflow_node_service_create_workflow_node(
|
|
328
|
+
self,
|
|
329
|
+
parent: Annotated[str, Field(strict=True, description="Required. The parent Workflow in format of `workflow/{workflow_id}`.")],
|
|
330
|
+
node: Annotated[V1WorkflowNode, Field(description="Required. The WorkflowNode to create.")],
|
|
331
|
+
_request_timeout: Union[
|
|
332
|
+
None,
|
|
333
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
334
|
+
Tuple[
|
|
335
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
336
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
337
|
+
]
|
|
338
|
+
] = None,
|
|
339
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
340
|
+
_content_type: Optional[StrictStr] = None,
|
|
341
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
342
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
343
|
+
) -> V1CreateWorkflowNodeResponse:
|
|
344
|
+
"""CreateWorkflowNode creates a new WorkflowNode.
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
:param parent: Required. The parent Workflow in format of `workflow/{workflow_id}`. (required)
|
|
348
|
+
:type parent: str
|
|
349
|
+
:param node: Required. The WorkflowNode to create. (required)
|
|
350
|
+
:type node: V1WorkflowNode
|
|
351
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
352
|
+
number provided, it will be total request
|
|
353
|
+
timeout. It can also be a pair (tuple) of
|
|
354
|
+
(connection, read) timeouts.
|
|
355
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
356
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
357
|
+
request; this effectively ignores the
|
|
358
|
+
authentication in the spec for a single request.
|
|
359
|
+
:type _request_auth: dict, optional
|
|
360
|
+
:param _content_type: force content-type for the request.
|
|
361
|
+
:type _content_type: str, Optional
|
|
362
|
+
:param _headers: set to override the headers for a single
|
|
363
|
+
request; this effectively ignores the headers
|
|
364
|
+
in the spec for a single request.
|
|
365
|
+
:type _headers: dict, optional
|
|
366
|
+
:param _host_index: set to override the host_index for a single
|
|
367
|
+
request; this effectively ignores the host_index
|
|
368
|
+
in the spec for a single request.
|
|
369
|
+
:type _host_index: int, optional
|
|
370
|
+
:return: Returns the result object.
|
|
371
|
+
""" # noqa: E501
|
|
372
|
+
|
|
373
|
+
_param = self._workflow_node_service_create_workflow_node_serialize(
|
|
374
|
+
parent=parent,
|
|
375
|
+
node=node,
|
|
376
|
+
_request_auth=_request_auth,
|
|
377
|
+
_content_type=_content_type,
|
|
378
|
+
_headers=_headers,
|
|
379
|
+
_host_index=_host_index
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
383
|
+
'200': "V1CreateWorkflowNodeResponse",
|
|
384
|
+
}
|
|
385
|
+
response_data = self.api_client.call_api(
|
|
386
|
+
*_param,
|
|
387
|
+
_request_timeout=_request_timeout
|
|
388
|
+
)
|
|
389
|
+
response_data.read()
|
|
390
|
+
return self.api_client.response_deserialize(
|
|
391
|
+
response_data=response_data,
|
|
392
|
+
response_types_map=_response_types_map,
|
|
393
|
+
).data
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
@validate_call
|
|
397
|
+
def workflow_node_service_create_workflow_node_with_http_info(
|
|
398
|
+
self,
|
|
399
|
+
parent: Annotated[str, Field(strict=True, description="Required. The parent Workflow in format of `workflow/{workflow_id}`.")],
|
|
400
|
+
node: Annotated[V1WorkflowNode, Field(description="Required. The WorkflowNode to create.")],
|
|
401
|
+
_request_timeout: Union[
|
|
402
|
+
None,
|
|
403
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
404
|
+
Tuple[
|
|
405
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
406
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
407
|
+
]
|
|
408
|
+
] = None,
|
|
409
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
410
|
+
_content_type: Optional[StrictStr] = None,
|
|
411
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
412
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
413
|
+
) -> ApiResponse[V1CreateWorkflowNodeResponse]:
|
|
414
|
+
"""CreateWorkflowNode creates a new WorkflowNode.
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
:param parent: Required. The parent Workflow in format of `workflow/{workflow_id}`. (required)
|
|
418
|
+
:type parent: str
|
|
419
|
+
:param node: Required. The WorkflowNode to create. (required)
|
|
420
|
+
:type node: V1WorkflowNode
|
|
421
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
422
|
+
number provided, it will be total request
|
|
423
|
+
timeout. It can also be a pair (tuple) of
|
|
424
|
+
(connection, read) timeouts.
|
|
425
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
426
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
427
|
+
request; this effectively ignores the
|
|
428
|
+
authentication in the spec for a single request.
|
|
429
|
+
:type _request_auth: dict, optional
|
|
430
|
+
:param _content_type: force content-type for the request.
|
|
431
|
+
:type _content_type: str, Optional
|
|
432
|
+
:param _headers: set to override the headers for a single
|
|
433
|
+
request; this effectively ignores the headers
|
|
434
|
+
in the spec for a single request.
|
|
435
|
+
:type _headers: dict, optional
|
|
436
|
+
:param _host_index: set to override the host_index for a single
|
|
437
|
+
request; this effectively ignores the host_index
|
|
438
|
+
in the spec for a single request.
|
|
439
|
+
:type _host_index: int, optional
|
|
440
|
+
:return: Returns the result object.
|
|
441
|
+
""" # noqa: E501
|
|
442
|
+
|
|
443
|
+
_param = self._workflow_node_service_create_workflow_node_serialize(
|
|
444
|
+
parent=parent,
|
|
445
|
+
node=node,
|
|
446
|
+
_request_auth=_request_auth,
|
|
447
|
+
_content_type=_content_type,
|
|
448
|
+
_headers=_headers,
|
|
449
|
+
_host_index=_host_index
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
453
|
+
'200': "V1CreateWorkflowNodeResponse",
|
|
454
|
+
}
|
|
455
|
+
response_data = self.api_client.call_api(
|
|
456
|
+
*_param,
|
|
457
|
+
_request_timeout=_request_timeout
|
|
458
|
+
)
|
|
459
|
+
response_data.read()
|
|
460
|
+
return self.api_client.response_deserialize(
|
|
461
|
+
response_data=response_data,
|
|
462
|
+
response_types_map=_response_types_map,
|
|
463
|
+
)
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
@validate_call
|
|
467
|
+
def workflow_node_service_create_workflow_node_without_preload_content(
|
|
468
|
+
self,
|
|
469
|
+
parent: Annotated[str, Field(strict=True, description="Required. The parent Workflow in format of `workflow/{workflow_id}`.")],
|
|
470
|
+
node: Annotated[V1WorkflowNode, Field(description="Required. The WorkflowNode to create.")],
|
|
471
|
+
_request_timeout: Union[
|
|
472
|
+
None,
|
|
473
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
474
|
+
Tuple[
|
|
475
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
476
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
477
|
+
]
|
|
478
|
+
] = None,
|
|
479
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
480
|
+
_content_type: Optional[StrictStr] = None,
|
|
481
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
482
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
483
|
+
) -> RESTResponseType:
|
|
484
|
+
"""CreateWorkflowNode creates a new WorkflowNode.
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
:param parent: Required. The parent Workflow in format of `workflow/{workflow_id}`. (required)
|
|
488
|
+
:type parent: str
|
|
489
|
+
:param node: Required. The WorkflowNode to create. (required)
|
|
490
|
+
:type node: V1WorkflowNode
|
|
491
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
492
|
+
number provided, it will be total request
|
|
493
|
+
timeout. It can also be a pair (tuple) of
|
|
494
|
+
(connection, read) timeouts.
|
|
495
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
496
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
497
|
+
request; this effectively ignores the
|
|
498
|
+
authentication in the spec for a single request.
|
|
499
|
+
:type _request_auth: dict, optional
|
|
500
|
+
:param _content_type: force content-type for the request.
|
|
501
|
+
:type _content_type: str, Optional
|
|
502
|
+
:param _headers: set to override the headers for a single
|
|
503
|
+
request; this effectively ignores the headers
|
|
504
|
+
in the spec for a single request.
|
|
505
|
+
:type _headers: dict, optional
|
|
506
|
+
:param _host_index: set to override the host_index for a single
|
|
507
|
+
request; this effectively ignores the host_index
|
|
508
|
+
in the spec for a single request.
|
|
509
|
+
:type _host_index: int, optional
|
|
510
|
+
:return: Returns the result object.
|
|
511
|
+
""" # noqa: E501
|
|
512
|
+
|
|
513
|
+
_param = self._workflow_node_service_create_workflow_node_serialize(
|
|
514
|
+
parent=parent,
|
|
515
|
+
node=node,
|
|
516
|
+
_request_auth=_request_auth,
|
|
517
|
+
_content_type=_content_type,
|
|
518
|
+
_headers=_headers,
|
|
519
|
+
_host_index=_host_index
|
|
520
|
+
)
|
|
521
|
+
|
|
522
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
+
'200': "V1CreateWorkflowNodeResponse",
|
|
524
|
+
}
|
|
525
|
+
response_data = self.api_client.call_api(
|
|
526
|
+
*_param,
|
|
527
|
+
_request_timeout=_request_timeout
|
|
528
|
+
)
|
|
529
|
+
return response_data.response
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
def _workflow_node_service_create_workflow_node_serialize(
|
|
533
|
+
self,
|
|
534
|
+
parent,
|
|
535
|
+
node,
|
|
536
|
+
_request_auth,
|
|
537
|
+
_content_type,
|
|
538
|
+
_headers,
|
|
539
|
+
_host_index,
|
|
540
|
+
) -> RequestSerialized:
|
|
541
|
+
|
|
542
|
+
_host = None
|
|
543
|
+
|
|
544
|
+
_collection_formats: Dict[str, str] = {
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
_path_params: Dict[str, str] = {}
|
|
548
|
+
_query_params: List[Tuple[str, str]] = []
|
|
549
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
550
|
+
_form_params: List[Tuple[str, str]] = []
|
|
551
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
552
|
+
_body_params: Optional[bytes] = None
|
|
553
|
+
|
|
554
|
+
# process the path parameters
|
|
555
|
+
if parent is not None:
|
|
556
|
+
_path_params['parent'] = parent
|
|
557
|
+
# process the query parameters
|
|
558
|
+
# process the header parameters
|
|
559
|
+
# process the form parameters
|
|
560
|
+
# process the body parameter
|
|
561
|
+
if node is not None:
|
|
562
|
+
_body_params = node
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
# set the HTTP header `Accept`
|
|
566
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
567
|
+
[
|
|
568
|
+
'application/json'
|
|
569
|
+
]
|
|
570
|
+
)
|
|
571
|
+
|
|
572
|
+
# set the HTTP header `Content-Type`
|
|
573
|
+
if _content_type:
|
|
574
|
+
_header_params['Content-Type'] = _content_type
|
|
575
|
+
else:
|
|
576
|
+
_default_content_type = (
|
|
577
|
+
self.api_client.select_header_content_type(
|
|
578
|
+
[
|
|
579
|
+
'application/json'
|
|
580
|
+
]
|
|
581
|
+
)
|
|
582
|
+
)
|
|
583
|
+
if _default_content_type is not None:
|
|
584
|
+
_header_params['Content-Type'] = _default_content_type
|
|
585
|
+
|
|
586
|
+
# authentication setting
|
|
587
|
+
_auth_settings: List[str] = [
|
|
588
|
+
]
|
|
589
|
+
|
|
590
|
+
return self.api_client.param_serialize(
|
|
591
|
+
method='POST',
|
|
592
|
+
resource_path='/v1/{parent}/nodes',
|
|
593
|
+
path_params=_path_params,
|
|
594
|
+
query_params=_query_params,
|
|
595
|
+
header_params=_header_params,
|
|
596
|
+
body=_body_params,
|
|
597
|
+
post_params=_form_params,
|
|
598
|
+
files=_files,
|
|
599
|
+
auth_settings=_auth_settings,
|
|
600
|
+
collection_formats=_collection_formats,
|
|
601
|
+
_host=_host,
|
|
602
|
+
_request_auth=_request_auth
|
|
603
|
+
)
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
322
608
|
@validate_call
|
|
323
609
|
def workflow_node_service_delete_workflow_node(
|
|
324
610
|
self,
|
|
325
|
-
|
|
611
|
+
name_8: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to delete.")],
|
|
612
|
+
_request_timeout: Union[
|
|
613
|
+
None,
|
|
614
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
615
|
+
Tuple[
|
|
616
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
617
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
618
|
+
]
|
|
619
|
+
] = None,
|
|
620
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
621
|
+
_content_type: Optional[StrictStr] = None,
|
|
622
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
623
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
624
|
+
) -> V1DeleteWorkflowNodeResponse:
|
|
625
|
+
"""DeleteWorkflowNode deletes a WorkflowNode by name. If the WorkflowNode does not exist an error is returned. The edges are handled in a following way:
|
|
626
|
+
|
|
627
|
+
- inbound edges are deleted - for every outbound edge a new edge is created for every inbound node and the given outbound node For example, deleting node D in the following graph: A ⇾ B ⇾ D ⇾ E ↘ ↗ C would create the following: A ⇾ B ⇾ E ↘ ↗ C Deleting node B in the same graph, would create: A ⇾ D ⇾ E ↘ ↗ C
|
|
628
|
+
|
|
629
|
+
:param name_8: Required. The name of the WorkflowNode to delete. (required)
|
|
630
|
+
:type name_8: str
|
|
631
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
632
|
+
number provided, it will be total request
|
|
633
|
+
timeout. It can also be a pair (tuple) of
|
|
634
|
+
(connection, read) timeouts.
|
|
635
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
636
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
637
|
+
request; this effectively ignores the
|
|
638
|
+
authentication in the spec for a single request.
|
|
639
|
+
:type _request_auth: dict, optional
|
|
640
|
+
:param _content_type: force content-type for the request.
|
|
641
|
+
:type _content_type: str, Optional
|
|
642
|
+
:param _headers: set to override the headers for a single
|
|
643
|
+
request; this effectively ignores the headers
|
|
644
|
+
in the spec for a single request.
|
|
645
|
+
:type _headers: dict, optional
|
|
646
|
+
:param _host_index: set to override the host_index for a single
|
|
647
|
+
request; this effectively ignores the host_index
|
|
648
|
+
in the spec for a single request.
|
|
649
|
+
:type _host_index: int, optional
|
|
650
|
+
:return: Returns the result object.
|
|
651
|
+
""" # noqa: E501
|
|
652
|
+
|
|
653
|
+
_param = self._workflow_node_service_delete_workflow_node_serialize(
|
|
654
|
+
name_8=name_8,
|
|
655
|
+
_request_auth=_request_auth,
|
|
656
|
+
_content_type=_content_type,
|
|
657
|
+
_headers=_headers,
|
|
658
|
+
_host_index=_host_index
|
|
659
|
+
)
|
|
660
|
+
|
|
661
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
662
|
+
'200': "V1DeleteWorkflowNodeResponse",
|
|
663
|
+
}
|
|
664
|
+
response_data = self.api_client.call_api(
|
|
665
|
+
*_param,
|
|
666
|
+
_request_timeout=_request_timeout
|
|
667
|
+
)
|
|
668
|
+
response_data.read()
|
|
669
|
+
return self.api_client.response_deserialize(
|
|
670
|
+
response_data=response_data,
|
|
671
|
+
response_types_map=_response_types_map,
|
|
672
|
+
).data
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
@validate_call
|
|
676
|
+
def workflow_node_service_delete_workflow_node_with_http_info(
|
|
677
|
+
self,
|
|
678
|
+
name_8: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to delete.")],
|
|
679
|
+
_request_timeout: Union[
|
|
680
|
+
None,
|
|
681
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
682
|
+
Tuple[
|
|
683
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
684
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
685
|
+
]
|
|
686
|
+
] = None,
|
|
687
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
688
|
+
_content_type: Optional[StrictStr] = None,
|
|
689
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
690
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
691
|
+
) -> ApiResponse[V1DeleteWorkflowNodeResponse]:
|
|
692
|
+
"""DeleteWorkflowNode deletes a WorkflowNode by name. If the WorkflowNode does not exist an error is returned. The edges are handled in a following way:
|
|
693
|
+
|
|
694
|
+
- inbound edges are deleted - for every outbound edge a new edge is created for every inbound node and the given outbound node For example, deleting node D in the following graph: A ⇾ B ⇾ D ⇾ E ↘ ↗ C would create the following: A ⇾ B ⇾ E ↘ ↗ C Deleting node B in the same graph, would create: A ⇾ D ⇾ E ↘ ↗ C
|
|
695
|
+
|
|
696
|
+
:param name_8: Required. The name of the WorkflowNode to delete. (required)
|
|
697
|
+
:type name_8: str
|
|
698
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
699
|
+
number provided, it will be total request
|
|
700
|
+
timeout. It can also be a pair (tuple) of
|
|
701
|
+
(connection, read) timeouts.
|
|
702
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
703
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
704
|
+
request; this effectively ignores the
|
|
705
|
+
authentication in the spec for a single request.
|
|
706
|
+
:type _request_auth: dict, optional
|
|
707
|
+
:param _content_type: force content-type for the request.
|
|
708
|
+
:type _content_type: str, Optional
|
|
709
|
+
:param _headers: set to override the headers for a single
|
|
710
|
+
request; this effectively ignores the headers
|
|
711
|
+
in the spec for a single request.
|
|
712
|
+
:type _headers: dict, optional
|
|
713
|
+
:param _host_index: set to override the host_index for a single
|
|
714
|
+
request; this effectively ignores the host_index
|
|
715
|
+
in the spec for a single request.
|
|
716
|
+
:type _host_index: int, optional
|
|
717
|
+
:return: Returns the result object.
|
|
718
|
+
""" # noqa: E501
|
|
719
|
+
|
|
720
|
+
_param = self._workflow_node_service_delete_workflow_node_serialize(
|
|
721
|
+
name_8=name_8,
|
|
722
|
+
_request_auth=_request_auth,
|
|
723
|
+
_content_type=_content_type,
|
|
724
|
+
_headers=_headers,
|
|
725
|
+
_host_index=_host_index
|
|
726
|
+
)
|
|
727
|
+
|
|
728
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
729
|
+
'200': "V1DeleteWorkflowNodeResponse",
|
|
730
|
+
}
|
|
731
|
+
response_data = self.api_client.call_api(
|
|
732
|
+
*_param,
|
|
733
|
+
_request_timeout=_request_timeout
|
|
734
|
+
)
|
|
735
|
+
response_data.read()
|
|
736
|
+
return self.api_client.response_deserialize(
|
|
737
|
+
response_data=response_data,
|
|
738
|
+
response_types_map=_response_types_map,
|
|
739
|
+
)
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
@validate_call
|
|
743
|
+
def workflow_node_service_delete_workflow_node_without_preload_content(
|
|
744
|
+
self,
|
|
745
|
+
name_8: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to delete.")],
|
|
746
|
+
_request_timeout: Union[
|
|
747
|
+
None,
|
|
748
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
749
|
+
Tuple[
|
|
750
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
751
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
752
|
+
]
|
|
753
|
+
] = None,
|
|
754
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
755
|
+
_content_type: Optional[StrictStr] = None,
|
|
756
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
757
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
758
|
+
) -> RESTResponseType:
|
|
759
|
+
"""DeleteWorkflowNode deletes a WorkflowNode by name. If the WorkflowNode does not exist an error is returned. The edges are handled in a following way:
|
|
760
|
+
|
|
761
|
+
- inbound edges are deleted - for every outbound edge a new edge is created for every inbound node and the given outbound node For example, deleting node D in the following graph: A ⇾ B ⇾ D ⇾ E ↘ ↗ C would create the following: A ⇾ B ⇾ E ↘ ↗ C Deleting node B in the same graph, would create: A ⇾ D ⇾ E ↘ ↗ C
|
|
762
|
+
|
|
763
|
+
:param name_8: Required. The name of the WorkflowNode to delete. (required)
|
|
764
|
+
:type name_8: str
|
|
765
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
766
|
+
number provided, it will be total request
|
|
767
|
+
timeout. It can also be a pair (tuple) of
|
|
768
|
+
(connection, read) timeouts.
|
|
769
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
770
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
771
|
+
request; this effectively ignores the
|
|
772
|
+
authentication in the spec for a single request.
|
|
773
|
+
:type _request_auth: dict, optional
|
|
774
|
+
:param _content_type: force content-type for the request.
|
|
775
|
+
:type _content_type: str, Optional
|
|
776
|
+
:param _headers: set to override the headers for a single
|
|
777
|
+
request; this effectively ignores the headers
|
|
778
|
+
in the spec for a single request.
|
|
779
|
+
:type _headers: dict, optional
|
|
780
|
+
:param _host_index: set to override the host_index for a single
|
|
781
|
+
request; this effectively ignores the host_index
|
|
782
|
+
in the spec for a single request.
|
|
783
|
+
:type _host_index: int, optional
|
|
784
|
+
:return: Returns the result object.
|
|
785
|
+
""" # noqa: E501
|
|
786
|
+
|
|
787
|
+
_param = self._workflow_node_service_delete_workflow_node_serialize(
|
|
788
|
+
name_8=name_8,
|
|
789
|
+
_request_auth=_request_auth,
|
|
790
|
+
_content_type=_content_type,
|
|
791
|
+
_headers=_headers,
|
|
792
|
+
_host_index=_host_index
|
|
793
|
+
)
|
|
794
|
+
|
|
795
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
796
|
+
'200': "V1DeleteWorkflowNodeResponse",
|
|
797
|
+
}
|
|
798
|
+
response_data = self.api_client.call_api(
|
|
799
|
+
*_param,
|
|
800
|
+
_request_timeout=_request_timeout
|
|
801
|
+
)
|
|
802
|
+
return response_data.response
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
def _workflow_node_service_delete_workflow_node_serialize(
|
|
806
|
+
self,
|
|
807
|
+
name_8,
|
|
808
|
+
_request_auth,
|
|
809
|
+
_content_type,
|
|
810
|
+
_headers,
|
|
811
|
+
_host_index,
|
|
812
|
+
) -> RequestSerialized:
|
|
813
|
+
|
|
814
|
+
_host = None
|
|
815
|
+
|
|
816
|
+
_collection_formats: Dict[str, str] = {
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
_path_params: Dict[str, str] = {}
|
|
820
|
+
_query_params: List[Tuple[str, str]] = []
|
|
821
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
822
|
+
_form_params: List[Tuple[str, str]] = []
|
|
823
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
824
|
+
_body_params: Optional[bytes] = None
|
|
825
|
+
|
|
826
|
+
# process the path parameters
|
|
827
|
+
if name_8 is not None:
|
|
828
|
+
_path_params['name_8'] = name_8
|
|
829
|
+
# process the query parameters
|
|
830
|
+
# process the header parameters
|
|
831
|
+
# process the form parameters
|
|
832
|
+
# process the body parameter
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
# set the HTTP header `Accept`
|
|
836
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
837
|
+
[
|
|
838
|
+
'application/json'
|
|
839
|
+
]
|
|
840
|
+
)
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
# authentication setting
|
|
844
|
+
_auth_settings: List[str] = [
|
|
845
|
+
]
|
|
846
|
+
|
|
847
|
+
return self.api_client.param_serialize(
|
|
848
|
+
method='DELETE',
|
|
849
|
+
resource_path='/v1/{name_8}',
|
|
850
|
+
path_params=_path_params,
|
|
851
|
+
query_params=_query_params,
|
|
852
|
+
header_params=_header_params,
|
|
853
|
+
body=_body_params,
|
|
854
|
+
post_params=_form_params,
|
|
855
|
+
files=_files,
|
|
856
|
+
auth_settings=_auth_settings,
|
|
857
|
+
collection_formats=_collection_formats,
|
|
858
|
+
_host=_host,
|
|
859
|
+
_request_auth=_request_auth
|
|
860
|
+
)
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
@validate_call
|
|
866
|
+
def workflow_node_service_get_workflow_node(
|
|
867
|
+
self,
|
|
868
|
+
name_11: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve.")],
|
|
869
|
+
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
870
|
+
_request_timeout: Union[
|
|
871
|
+
None,
|
|
872
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
873
|
+
Tuple[
|
|
874
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
875
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
876
|
+
]
|
|
877
|
+
] = None,
|
|
878
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
879
|
+
_content_type: Optional[StrictStr] = None,
|
|
880
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
881
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
882
|
+
) -> V1GetWorkflowNodeResponse:
|
|
883
|
+
"""GetWorkflowNode retrieves a WorkflowNode by name. Deleted WorkflowNode is returned without error, it has a delete_time and deleter fields set.
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
:param name_11: Required. The name of the WorkflowNode to retrieve. (required)
|
|
887
|
+
:type name_11: str
|
|
888
|
+
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
889
|
+
:type view: str
|
|
890
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
891
|
+
number provided, it will be total request
|
|
892
|
+
timeout. It can also be a pair (tuple) of
|
|
893
|
+
(connection, read) timeouts.
|
|
894
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
895
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
896
|
+
request; this effectively ignores the
|
|
897
|
+
authentication in the spec for a single request.
|
|
898
|
+
:type _request_auth: dict, optional
|
|
899
|
+
:param _content_type: force content-type for the request.
|
|
900
|
+
:type _content_type: str, Optional
|
|
901
|
+
:param _headers: set to override the headers for a single
|
|
902
|
+
request; this effectively ignores the headers
|
|
903
|
+
in the spec for a single request.
|
|
904
|
+
:type _headers: dict, optional
|
|
905
|
+
:param _host_index: set to override the host_index for a single
|
|
906
|
+
request; this effectively ignores the host_index
|
|
907
|
+
in the spec for a single request.
|
|
908
|
+
:type _host_index: int, optional
|
|
909
|
+
:return: Returns the result object.
|
|
910
|
+
""" # noqa: E501
|
|
911
|
+
|
|
912
|
+
_param = self._workflow_node_service_get_workflow_node_serialize(
|
|
913
|
+
name_11=name_11,
|
|
914
|
+
view=view,
|
|
915
|
+
_request_auth=_request_auth,
|
|
916
|
+
_content_type=_content_type,
|
|
917
|
+
_headers=_headers,
|
|
918
|
+
_host_index=_host_index
|
|
919
|
+
)
|
|
920
|
+
|
|
921
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
922
|
+
'200': "V1GetWorkflowNodeResponse",
|
|
923
|
+
}
|
|
924
|
+
response_data = self.api_client.call_api(
|
|
925
|
+
*_param,
|
|
926
|
+
_request_timeout=_request_timeout
|
|
927
|
+
)
|
|
928
|
+
response_data.read()
|
|
929
|
+
return self.api_client.response_deserialize(
|
|
930
|
+
response_data=response_data,
|
|
931
|
+
response_types_map=_response_types_map,
|
|
932
|
+
).data
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
@validate_call
|
|
936
|
+
def workflow_node_service_get_workflow_node_with_http_info(
|
|
937
|
+
self,
|
|
938
|
+
name_11: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve.")],
|
|
939
|
+
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
940
|
+
_request_timeout: Union[
|
|
941
|
+
None,
|
|
942
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
943
|
+
Tuple[
|
|
944
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
945
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
946
|
+
]
|
|
947
|
+
] = None,
|
|
948
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
949
|
+
_content_type: Optional[StrictStr] = None,
|
|
950
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
951
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
952
|
+
) -> ApiResponse[V1GetWorkflowNodeResponse]:
|
|
953
|
+
"""GetWorkflowNode retrieves a WorkflowNode by name. Deleted WorkflowNode is returned without error, it has a delete_time and deleter fields set.
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
:param name_11: Required. The name of the WorkflowNode to retrieve. (required)
|
|
957
|
+
:type name_11: str
|
|
958
|
+
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
959
|
+
:type view: str
|
|
960
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
961
|
+
number provided, it will be total request
|
|
962
|
+
timeout. It can also be a pair (tuple) of
|
|
963
|
+
(connection, read) timeouts.
|
|
964
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
965
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
966
|
+
request; this effectively ignores the
|
|
967
|
+
authentication in the spec for a single request.
|
|
968
|
+
:type _request_auth: dict, optional
|
|
969
|
+
:param _content_type: force content-type for the request.
|
|
970
|
+
:type _content_type: str, Optional
|
|
971
|
+
:param _headers: set to override the headers for a single
|
|
972
|
+
request; this effectively ignores the headers
|
|
973
|
+
in the spec for a single request.
|
|
974
|
+
:type _headers: dict, optional
|
|
975
|
+
:param _host_index: set to override the host_index for a single
|
|
976
|
+
request; this effectively ignores the host_index
|
|
977
|
+
in the spec for a single request.
|
|
978
|
+
:type _host_index: int, optional
|
|
979
|
+
:return: Returns the result object.
|
|
980
|
+
""" # noqa: E501
|
|
981
|
+
|
|
982
|
+
_param = self._workflow_node_service_get_workflow_node_serialize(
|
|
983
|
+
name_11=name_11,
|
|
984
|
+
view=view,
|
|
985
|
+
_request_auth=_request_auth,
|
|
986
|
+
_content_type=_content_type,
|
|
987
|
+
_headers=_headers,
|
|
988
|
+
_host_index=_host_index
|
|
989
|
+
)
|
|
990
|
+
|
|
991
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
992
|
+
'200': "V1GetWorkflowNodeResponse",
|
|
993
|
+
}
|
|
994
|
+
response_data = self.api_client.call_api(
|
|
995
|
+
*_param,
|
|
996
|
+
_request_timeout=_request_timeout
|
|
997
|
+
)
|
|
998
|
+
response_data.read()
|
|
999
|
+
return self.api_client.response_deserialize(
|
|
1000
|
+
response_data=response_data,
|
|
1001
|
+
response_types_map=_response_types_map,
|
|
1002
|
+
)
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
@validate_call
|
|
1006
|
+
def workflow_node_service_get_workflow_node_without_preload_content(
|
|
1007
|
+
self,
|
|
1008
|
+
name_11: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve.")],
|
|
1009
|
+
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
1010
|
+
_request_timeout: Union[
|
|
1011
|
+
None,
|
|
1012
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1013
|
+
Tuple[
|
|
1014
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1015
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1016
|
+
]
|
|
1017
|
+
] = None,
|
|
1018
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1019
|
+
_content_type: Optional[StrictStr] = None,
|
|
1020
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1021
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1022
|
+
) -> RESTResponseType:
|
|
1023
|
+
"""GetWorkflowNode retrieves a WorkflowNode by name. Deleted WorkflowNode is returned without error, it has a delete_time and deleter fields set.
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
:param name_11: Required. The name of the WorkflowNode to retrieve. (required)
|
|
1027
|
+
:type name_11: str
|
|
1028
|
+
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
1029
|
+
:type view: str
|
|
1030
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1031
|
+
number provided, it will be total request
|
|
1032
|
+
timeout. It can also be a pair (tuple) of
|
|
1033
|
+
(connection, read) timeouts.
|
|
1034
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1035
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1036
|
+
request; this effectively ignores the
|
|
1037
|
+
authentication in the spec for a single request.
|
|
1038
|
+
:type _request_auth: dict, optional
|
|
1039
|
+
:param _content_type: force content-type for the request.
|
|
1040
|
+
:type _content_type: str, Optional
|
|
1041
|
+
:param _headers: set to override the headers for a single
|
|
1042
|
+
request; this effectively ignores the headers
|
|
1043
|
+
in the spec for a single request.
|
|
1044
|
+
:type _headers: dict, optional
|
|
1045
|
+
:param _host_index: set to override the host_index for a single
|
|
1046
|
+
request; this effectively ignores the host_index
|
|
1047
|
+
in the spec for a single request.
|
|
1048
|
+
:type _host_index: int, optional
|
|
1049
|
+
:return: Returns the result object.
|
|
1050
|
+
""" # noqa: E501
|
|
1051
|
+
|
|
1052
|
+
_param = self._workflow_node_service_get_workflow_node_serialize(
|
|
1053
|
+
name_11=name_11,
|
|
1054
|
+
view=view,
|
|
1055
|
+
_request_auth=_request_auth,
|
|
1056
|
+
_content_type=_content_type,
|
|
1057
|
+
_headers=_headers,
|
|
1058
|
+
_host_index=_host_index
|
|
1059
|
+
)
|
|
1060
|
+
|
|
1061
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1062
|
+
'200': "V1GetWorkflowNodeResponse",
|
|
1063
|
+
}
|
|
1064
|
+
response_data = self.api_client.call_api(
|
|
1065
|
+
*_param,
|
|
1066
|
+
_request_timeout=_request_timeout
|
|
1067
|
+
)
|
|
1068
|
+
return response_data.response
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
def _workflow_node_service_get_workflow_node_serialize(
|
|
1072
|
+
self,
|
|
1073
|
+
name_11,
|
|
1074
|
+
view,
|
|
1075
|
+
_request_auth,
|
|
1076
|
+
_content_type,
|
|
1077
|
+
_headers,
|
|
1078
|
+
_host_index,
|
|
1079
|
+
) -> RequestSerialized:
|
|
1080
|
+
|
|
1081
|
+
_host = None
|
|
1082
|
+
|
|
1083
|
+
_collection_formats: Dict[str, str] = {
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
_path_params: Dict[str, str] = {}
|
|
1087
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1088
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1089
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1090
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1091
|
+
_body_params: Optional[bytes] = None
|
|
1092
|
+
|
|
1093
|
+
# process the path parameters
|
|
1094
|
+
if name_11 is not None:
|
|
1095
|
+
_path_params['name_11'] = name_11
|
|
1096
|
+
# process the query parameters
|
|
1097
|
+
if view is not None:
|
|
1098
|
+
|
|
1099
|
+
_query_params.append(('view', view))
|
|
1100
|
+
|
|
1101
|
+
# process the header parameters
|
|
1102
|
+
# process the form parameters
|
|
1103
|
+
# process the body parameter
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
# set the HTTP header `Accept`
|
|
1107
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1108
|
+
[
|
|
1109
|
+
'application/json'
|
|
1110
|
+
]
|
|
1111
|
+
)
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
# authentication setting
|
|
1115
|
+
_auth_settings: List[str] = [
|
|
1116
|
+
]
|
|
1117
|
+
|
|
1118
|
+
return self.api_client.param_serialize(
|
|
1119
|
+
method='GET',
|
|
1120
|
+
resource_path='/v1/{name_11}',
|
|
1121
|
+
path_params=_path_params,
|
|
1122
|
+
query_params=_query_params,
|
|
1123
|
+
header_params=_header_params,
|
|
1124
|
+
body=_body_params,
|
|
1125
|
+
post_params=_form_params,
|
|
1126
|
+
files=_files,
|
|
1127
|
+
auth_settings=_auth_settings,
|
|
1128
|
+
collection_formats=_collection_formats,
|
|
1129
|
+
_host=_host,
|
|
1130
|
+
_request_auth=_request_auth
|
|
1131
|
+
)
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
@validate_call
|
|
1137
|
+
def workflow_node_service_get_workflow_node_prerequisites(
|
|
1138
|
+
self,
|
|
1139
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve the prerequisites for.")],
|
|
326
1140
|
_request_timeout: Union[
|
|
327
1141
|
None,
|
|
328
1142
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -335,12 +1149,12 @@ class WorkflowNodeServiceApi:
|
|
|
335
1149
|
_content_type: Optional[StrictStr] = None,
|
|
336
1150
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
337
1151
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
338
|
-
) ->
|
|
339
|
-
"""
|
|
1152
|
+
) -> V1GetWorkflowNodePrerequisitesResponse:
|
|
1153
|
+
"""GetWorkflowNodePrerequisites retrieves the WorkflowNodes and WorkflowEdges that are the prerequisites of the specified WorkflowNode. The list might be empty. Large data might be stored in storage and not returned in the response. It is client's responsibility to retrieve the data from storage using the content handlers. It is intended to be used by the Eval Studio Workers.
|
|
340
1154
|
|
|
341
1155
|
|
|
342
|
-
:param
|
|
343
|
-
:type
|
|
1156
|
+
:param name: Required. The name of the WorkflowNode to retrieve the prerequisites for. (required)
|
|
1157
|
+
:type name: str
|
|
344
1158
|
:param _request_timeout: timeout setting for this request. If one
|
|
345
1159
|
number provided, it will be total request
|
|
346
1160
|
timeout. It can also be a pair (tuple) of
|
|
@@ -363,8 +1177,8 @@ class WorkflowNodeServiceApi:
|
|
|
363
1177
|
:return: Returns the result object.
|
|
364
1178
|
""" # noqa: E501
|
|
365
1179
|
|
|
366
|
-
_param = self.
|
|
367
|
-
|
|
1180
|
+
_param = self._workflow_node_service_get_workflow_node_prerequisites_serialize(
|
|
1181
|
+
name=name,
|
|
368
1182
|
_request_auth=_request_auth,
|
|
369
1183
|
_content_type=_content_type,
|
|
370
1184
|
_headers=_headers,
|
|
@@ -372,7 +1186,7 @@ class WorkflowNodeServiceApi:
|
|
|
372
1186
|
)
|
|
373
1187
|
|
|
374
1188
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
375
|
-
'200': "
|
|
1189
|
+
'200': "V1GetWorkflowNodePrerequisitesResponse",
|
|
376
1190
|
}
|
|
377
1191
|
response_data = self.api_client.call_api(
|
|
378
1192
|
*_param,
|
|
@@ -386,9 +1200,9 @@ class WorkflowNodeServiceApi:
|
|
|
386
1200
|
|
|
387
1201
|
|
|
388
1202
|
@validate_call
|
|
389
|
-
def
|
|
1203
|
+
def workflow_node_service_get_workflow_node_prerequisites_with_http_info(
|
|
390
1204
|
self,
|
|
391
|
-
|
|
1205
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve the prerequisites for.")],
|
|
392
1206
|
_request_timeout: Union[
|
|
393
1207
|
None,
|
|
394
1208
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -401,12 +1215,12 @@ class WorkflowNodeServiceApi:
|
|
|
401
1215
|
_content_type: Optional[StrictStr] = None,
|
|
402
1216
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
403
1217
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
404
|
-
) -> ApiResponse[
|
|
405
|
-
"""
|
|
1218
|
+
) -> ApiResponse[V1GetWorkflowNodePrerequisitesResponse]:
|
|
1219
|
+
"""GetWorkflowNodePrerequisites retrieves the WorkflowNodes and WorkflowEdges that are the prerequisites of the specified WorkflowNode. The list might be empty. Large data might be stored in storage and not returned in the response. It is client's responsibility to retrieve the data from storage using the content handlers. It is intended to be used by the Eval Studio Workers.
|
|
406
1220
|
|
|
407
1221
|
|
|
408
|
-
:param
|
|
409
|
-
:type
|
|
1222
|
+
:param name: Required. The name of the WorkflowNode to retrieve the prerequisites for. (required)
|
|
1223
|
+
:type name: str
|
|
410
1224
|
:param _request_timeout: timeout setting for this request. If one
|
|
411
1225
|
number provided, it will be total request
|
|
412
1226
|
timeout. It can also be a pair (tuple) of
|
|
@@ -429,8 +1243,8 @@ class WorkflowNodeServiceApi:
|
|
|
429
1243
|
:return: Returns the result object.
|
|
430
1244
|
""" # noqa: E501
|
|
431
1245
|
|
|
432
|
-
_param = self.
|
|
433
|
-
|
|
1246
|
+
_param = self._workflow_node_service_get_workflow_node_prerequisites_serialize(
|
|
1247
|
+
name=name,
|
|
434
1248
|
_request_auth=_request_auth,
|
|
435
1249
|
_content_type=_content_type,
|
|
436
1250
|
_headers=_headers,
|
|
@@ -438,7 +1252,7 @@ class WorkflowNodeServiceApi:
|
|
|
438
1252
|
)
|
|
439
1253
|
|
|
440
1254
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
441
|
-
'200': "
|
|
1255
|
+
'200': "V1GetWorkflowNodePrerequisitesResponse",
|
|
442
1256
|
}
|
|
443
1257
|
response_data = self.api_client.call_api(
|
|
444
1258
|
*_param,
|
|
@@ -452,9 +1266,9 @@ class WorkflowNodeServiceApi:
|
|
|
452
1266
|
|
|
453
1267
|
|
|
454
1268
|
@validate_call
|
|
455
|
-
def
|
|
1269
|
+
def workflow_node_service_get_workflow_node_prerequisites_without_preload_content(
|
|
456
1270
|
self,
|
|
457
|
-
|
|
1271
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to retrieve the prerequisites for.")],
|
|
458
1272
|
_request_timeout: Union[
|
|
459
1273
|
None,
|
|
460
1274
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -468,11 +1282,11 @@ class WorkflowNodeServiceApi:
|
|
|
468
1282
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
469
1283
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
470
1284
|
) -> RESTResponseType:
|
|
471
|
-
"""
|
|
1285
|
+
"""GetWorkflowNodePrerequisites retrieves the WorkflowNodes and WorkflowEdges that are the prerequisites of the specified WorkflowNode. The list might be empty. Large data might be stored in storage and not returned in the response. It is client's responsibility to retrieve the data from storage using the content handlers. It is intended to be used by the Eval Studio Workers.
|
|
472
1286
|
|
|
473
1287
|
|
|
474
|
-
:param
|
|
475
|
-
:type
|
|
1288
|
+
:param name: Required. The name of the WorkflowNode to retrieve the prerequisites for. (required)
|
|
1289
|
+
:type name: str
|
|
476
1290
|
:param _request_timeout: timeout setting for this request. If one
|
|
477
1291
|
number provided, it will be total request
|
|
478
1292
|
timeout. It can also be a pair (tuple) of
|
|
@@ -495,8 +1309,8 @@ class WorkflowNodeServiceApi:
|
|
|
495
1309
|
:return: Returns the result object.
|
|
496
1310
|
""" # noqa: E501
|
|
497
1311
|
|
|
498
|
-
_param = self.
|
|
499
|
-
|
|
1312
|
+
_param = self._workflow_node_service_get_workflow_node_prerequisites_serialize(
|
|
1313
|
+
name=name,
|
|
500
1314
|
_request_auth=_request_auth,
|
|
501
1315
|
_content_type=_content_type,
|
|
502
1316
|
_headers=_headers,
|
|
@@ -504,7 +1318,7 @@ class WorkflowNodeServiceApi:
|
|
|
504
1318
|
)
|
|
505
1319
|
|
|
506
1320
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
507
|
-
'200': "
|
|
1321
|
+
'200': "V1GetWorkflowNodePrerequisitesResponse",
|
|
508
1322
|
}
|
|
509
1323
|
response_data = self.api_client.call_api(
|
|
510
1324
|
*_param,
|
|
@@ -513,9 +1327,9 @@ class WorkflowNodeServiceApi:
|
|
|
513
1327
|
return response_data.response
|
|
514
1328
|
|
|
515
1329
|
|
|
516
|
-
def
|
|
1330
|
+
def _workflow_node_service_get_workflow_node_prerequisites_serialize(
|
|
517
1331
|
self,
|
|
518
|
-
|
|
1332
|
+
name,
|
|
519
1333
|
_request_auth,
|
|
520
1334
|
_content_type,
|
|
521
1335
|
_headers,
|
|
@@ -535,8 +1349,8 @@ class WorkflowNodeServiceApi:
|
|
|
535
1349
|
_body_params: Optional[bytes] = None
|
|
536
1350
|
|
|
537
1351
|
# process the path parameters
|
|
538
|
-
if
|
|
539
|
-
_path_params['
|
|
1352
|
+
if name is not None:
|
|
1353
|
+
_path_params['name'] = name
|
|
540
1354
|
# process the query parameters
|
|
541
1355
|
# process the header parameters
|
|
542
1356
|
# process the form parameters
|
|
@@ -556,8 +1370,8 @@ class WorkflowNodeServiceApi:
|
|
|
556
1370
|
]
|
|
557
1371
|
|
|
558
1372
|
return self.api_client.param_serialize(
|
|
559
|
-
method='
|
|
560
|
-
resource_path='/v1/{
|
|
1373
|
+
method='GET',
|
|
1374
|
+
resource_path='/v1/{name}:getPrerequisites',
|
|
561
1375
|
path_params=_path_params,
|
|
562
1376
|
query_params=_query_params,
|
|
563
1377
|
header_params=_header_params,
|
|
@@ -574,10 +1388,9 @@ class WorkflowNodeServiceApi:
|
|
|
574
1388
|
|
|
575
1389
|
|
|
576
1390
|
@validate_call
|
|
577
|
-
def
|
|
1391
|
+
def workflow_node_service_init_workflow_node(
|
|
578
1392
|
self,
|
|
579
|
-
|
|
580
|
-
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
1393
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to initialize.")],
|
|
581
1394
|
_request_timeout: Union[
|
|
582
1395
|
None,
|
|
583
1396
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -590,14 +1403,12 @@ class WorkflowNodeServiceApi:
|
|
|
590
1403
|
_content_type: Optional[StrictStr] = None,
|
|
591
1404
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
592
1405
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
593
|
-
) ->
|
|
594
|
-
"""
|
|
1406
|
+
) -> V1InitWorkflowNodeResponse:
|
|
1407
|
+
"""InitWorkflowNode initializes a WorkflowNode on first access.
|
|
595
1408
|
|
|
596
1409
|
|
|
597
|
-
:param
|
|
598
|
-
:type
|
|
599
|
-
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
600
|
-
:type view: str
|
|
1410
|
+
:param name: Required. The name of the WorkflowNode to initialize. (required)
|
|
1411
|
+
:type name: str
|
|
601
1412
|
:param _request_timeout: timeout setting for this request. If one
|
|
602
1413
|
number provided, it will be total request
|
|
603
1414
|
timeout. It can also be a pair (tuple) of
|
|
@@ -620,9 +1431,8 @@ class WorkflowNodeServiceApi:
|
|
|
620
1431
|
:return: Returns the result object.
|
|
621
1432
|
""" # noqa: E501
|
|
622
1433
|
|
|
623
|
-
_param = self.
|
|
624
|
-
|
|
625
|
-
view=view,
|
|
1434
|
+
_param = self._workflow_node_service_init_workflow_node_serialize(
|
|
1435
|
+
name=name,
|
|
626
1436
|
_request_auth=_request_auth,
|
|
627
1437
|
_content_type=_content_type,
|
|
628
1438
|
_headers=_headers,
|
|
@@ -630,7 +1440,7 @@ class WorkflowNodeServiceApi:
|
|
|
630
1440
|
)
|
|
631
1441
|
|
|
632
1442
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
633
|
-
'200': "
|
|
1443
|
+
'200': "V1InitWorkflowNodeResponse",
|
|
634
1444
|
}
|
|
635
1445
|
response_data = self.api_client.call_api(
|
|
636
1446
|
*_param,
|
|
@@ -644,10 +1454,9 @@ class WorkflowNodeServiceApi:
|
|
|
644
1454
|
|
|
645
1455
|
|
|
646
1456
|
@validate_call
|
|
647
|
-
def
|
|
1457
|
+
def workflow_node_service_init_workflow_node_with_http_info(
|
|
648
1458
|
self,
|
|
649
|
-
|
|
650
|
-
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
1459
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to initialize.")],
|
|
651
1460
|
_request_timeout: Union[
|
|
652
1461
|
None,
|
|
653
1462
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -660,14 +1469,12 @@ class WorkflowNodeServiceApi:
|
|
|
660
1469
|
_content_type: Optional[StrictStr] = None,
|
|
661
1470
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
662
1471
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
663
|
-
) -> ApiResponse[
|
|
664
|
-
"""
|
|
1472
|
+
) -> ApiResponse[V1InitWorkflowNodeResponse]:
|
|
1473
|
+
"""InitWorkflowNode initializes a WorkflowNode on first access.
|
|
665
1474
|
|
|
666
1475
|
|
|
667
|
-
:param
|
|
668
|
-
:type
|
|
669
|
-
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
670
|
-
:type view: str
|
|
1476
|
+
:param name: Required. The name of the WorkflowNode to initialize. (required)
|
|
1477
|
+
:type name: str
|
|
671
1478
|
:param _request_timeout: timeout setting for this request. If one
|
|
672
1479
|
number provided, it will be total request
|
|
673
1480
|
timeout. It can also be a pair (tuple) of
|
|
@@ -690,9 +1497,8 @@ class WorkflowNodeServiceApi:
|
|
|
690
1497
|
:return: Returns the result object.
|
|
691
1498
|
""" # noqa: E501
|
|
692
1499
|
|
|
693
|
-
_param = self.
|
|
694
|
-
|
|
695
|
-
view=view,
|
|
1500
|
+
_param = self._workflow_node_service_init_workflow_node_serialize(
|
|
1501
|
+
name=name,
|
|
696
1502
|
_request_auth=_request_auth,
|
|
697
1503
|
_content_type=_content_type,
|
|
698
1504
|
_headers=_headers,
|
|
@@ -700,7 +1506,7 @@ class WorkflowNodeServiceApi:
|
|
|
700
1506
|
)
|
|
701
1507
|
|
|
702
1508
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
703
|
-
'200': "
|
|
1509
|
+
'200': "V1InitWorkflowNodeResponse",
|
|
704
1510
|
}
|
|
705
1511
|
response_data = self.api_client.call_api(
|
|
706
1512
|
*_param,
|
|
@@ -714,10 +1520,9 @@ class WorkflowNodeServiceApi:
|
|
|
714
1520
|
|
|
715
1521
|
|
|
716
1522
|
@validate_call
|
|
717
|
-
def
|
|
1523
|
+
def workflow_node_service_init_workflow_node_without_preload_content(
|
|
718
1524
|
self,
|
|
719
|
-
|
|
720
|
-
view: Annotated[Optional[StrictStr], Field(description="Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.")] = None,
|
|
1525
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to initialize.")],
|
|
721
1526
|
_request_timeout: Union[
|
|
722
1527
|
None,
|
|
723
1528
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -731,13 +1536,11 @@ class WorkflowNodeServiceApi:
|
|
|
731
1536
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
732
1537
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
733
1538
|
) -> RESTResponseType:
|
|
734
|
-
"""
|
|
1539
|
+
"""InitWorkflowNode initializes a WorkflowNode on first access.
|
|
735
1540
|
|
|
736
1541
|
|
|
737
|
-
:param
|
|
738
|
-
:type
|
|
739
|
-
:param view: Optional. The level of detail to include in the response. - WORKFLOW_NODE_VIEW_UNSPECIFIED: Unspecified view. - WORKFLOW_NODE_VIEW_BASIC: Basic view. Lacks large data fields. TODO: describe what fields are omitted. - WORKFLOW_NODE_VIEW_FULL: Full view. Contains all fields.
|
|
740
|
-
:type view: str
|
|
1542
|
+
:param name: Required. The name of the WorkflowNode to initialize. (required)
|
|
1543
|
+
:type name: str
|
|
741
1544
|
:param _request_timeout: timeout setting for this request. If one
|
|
742
1545
|
number provided, it will be total request
|
|
743
1546
|
timeout. It can also be a pair (tuple) of
|
|
@@ -760,9 +1563,8 @@ class WorkflowNodeServiceApi:
|
|
|
760
1563
|
:return: Returns the result object.
|
|
761
1564
|
""" # noqa: E501
|
|
762
1565
|
|
|
763
|
-
_param = self.
|
|
764
|
-
|
|
765
|
-
view=view,
|
|
1566
|
+
_param = self._workflow_node_service_init_workflow_node_serialize(
|
|
1567
|
+
name=name,
|
|
766
1568
|
_request_auth=_request_auth,
|
|
767
1569
|
_content_type=_content_type,
|
|
768
1570
|
_headers=_headers,
|
|
@@ -770,7 +1572,7 @@ class WorkflowNodeServiceApi:
|
|
|
770
1572
|
)
|
|
771
1573
|
|
|
772
1574
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
773
|
-
'200': "
|
|
1575
|
+
'200': "V1InitWorkflowNodeResponse",
|
|
774
1576
|
}
|
|
775
1577
|
response_data = self.api_client.call_api(
|
|
776
1578
|
*_param,
|
|
@@ -779,10 +1581,9 @@ class WorkflowNodeServiceApi:
|
|
|
779
1581
|
return response_data.response
|
|
780
1582
|
|
|
781
1583
|
|
|
782
|
-
def
|
|
1584
|
+
def _workflow_node_service_init_workflow_node_serialize(
|
|
783
1585
|
self,
|
|
784
|
-
|
|
785
|
-
view,
|
|
1586
|
+
name,
|
|
786
1587
|
_request_auth,
|
|
787
1588
|
_content_type,
|
|
788
1589
|
_headers,
|
|
@@ -802,13 +1603,9 @@ class WorkflowNodeServiceApi:
|
|
|
802
1603
|
_body_params: Optional[bytes] = None
|
|
803
1604
|
|
|
804
1605
|
# process the path parameters
|
|
805
|
-
if
|
|
806
|
-
_path_params['
|
|
1606
|
+
if name is not None:
|
|
1607
|
+
_path_params['name'] = name
|
|
807
1608
|
# process the query parameters
|
|
808
|
-
if view is not None:
|
|
809
|
-
|
|
810
|
-
_query_params.append(('view', view))
|
|
811
|
-
|
|
812
1609
|
# process the header parameters
|
|
813
1610
|
# process the form parameters
|
|
814
1611
|
# process the body parameter
|
|
@@ -827,8 +1624,8 @@ class WorkflowNodeServiceApi:
|
|
|
827
1624
|
]
|
|
828
1625
|
|
|
829
1626
|
return self.api_client.param_serialize(
|
|
830
|
-
method='
|
|
831
|
-
resource_path='/v1/{
|
|
1627
|
+
method='POST',
|
|
1628
|
+
resource_path='/v1/{name}:init',
|
|
832
1629
|
path_params=_path_params,
|
|
833
1630
|
query_params=_query_params,
|
|
834
1631
|
header_params=_header_params,
|
|
@@ -845,9 +1642,9 @@ class WorkflowNodeServiceApi:
|
|
|
845
1642
|
|
|
846
1643
|
|
|
847
1644
|
@validate_call
|
|
848
|
-
def
|
|
1645
|
+
def workflow_node_service_process_workflow_node(
|
|
849
1646
|
self,
|
|
850
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
1647
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to process.")],
|
|
851
1648
|
_request_timeout: Union[
|
|
852
1649
|
None,
|
|
853
1650
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -860,11 +1657,11 @@ class WorkflowNodeServiceApi:
|
|
|
860
1657
|
_content_type: Optional[StrictStr] = None,
|
|
861
1658
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
862
1659
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
863
|
-
) ->
|
|
864
|
-
"""
|
|
1660
|
+
) -> V1ProcessWorkflowNodeResponse:
|
|
1661
|
+
"""ProcessWorkflowNode processes a WorkflowNode.
|
|
865
1662
|
|
|
866
1663
|
|
|
867
|
-
:param name: Required. The name of the WorkflowNode to
|
|
1664
|
+
:param name: Required. The name of the WorkflowNode to process. (required)
|
|
868
1665
|
:type name: str
|
|
869
1666
|
:param _request_timeout: timeout setting for this request. If one
|
|
870
1667
|
number provided, it will be total request
|
|
@@ -888,7 +1685,7 @@ class WorkflowNodeServiceApi:
|
|
|
888
1685
|
:return: Returns the result object.
|
|
889
1686
|
""" # noqa: E501
|
|
890
1687
|
|
|
891
|
-
_param = self.
|
|
1688
|
+
_param = self._workflow_node_service_process_workflow_node_serialize(
|
|
892
1689
|
name=name,
|
|
893
1690
|
_request_auth=_request_auth,
|
|
894
1691
|
_content_type=_content_type,
|
|
@@ -897,7 +1694,7 @@ class WorkflowNodeServiceApi:
|
|
|
897
1694
|
)
|
|
898
1695
|
|
|
899
1696
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
900
|
-
'200': "
|
|
1697
|
+
'200': "V1ProcessWorkflowNodeResponse",
|
|
901
1698
|
}
|
|
902
1699
|
response_data = self.api_client.call_api(
|
|
903
1700
|
*_param,
|
|
@@ -911,9 +1708,9 @@ class WorkflowNodeServiceApi:
|
|
|
911
1708
|
|
|
912
1709
|
|
|
913
1710
|
@validate_call
|
|
914
|
-
def
|
|
1711
|
+
def workflow_node_service_process_workflow_node_with_http_info(
|
|
915
1712
|
self,
|
|
916
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
1713
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to process.")],
|
|
917
1714
|
_request_timeout: Union[
|
|
918
1715
|
None,
|
|
919
1716
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -926,11 +1723,11 @@ class WorkflowNodeServiceApi:
|
|
|
926
1723
|
_content_type: Optional[StrictStr] = None,
|
|
927
1724
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
928
1725
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
929
|
-
) -> ApiResponse[
|
|
930
|
-
"""
|
|
1726
|
+
) -> ApiResponse[V1ProcessWorkflowNodeResponse]:
|
|
1727
|
+
"""ProcessWorkflowNode processes a WorkflowNode.
|
|
931
1728
|
|
|
932
1729
|
|
|
933
|
-
:param name: Required. The name of the WorkflowNode to
|
|
1730
|
+
:param name: Required. The name of the WorkflowNode to process. (required)
|
|
934
1731
|
:type name: str
|
|
935
1732
|
:param _request_timeout: timeout setting for this request. If one
|
|
936
1733
|
number provided, it will be total request
|
|
@@ -954,7 +1751,7 @@ class WorkflowNodeServiceApi:
|
|
|
954
1751
|
:return: Returns the result object.
|
|
955
1752
|
""" # noqa: E501
|
|
956
1753
|
|
|
957
|
-
_param = self.
|
|
1754
|
+
_param = self._workflow_node_service_process_workflow_node_serialize(
|
|
958
1755
|
name=name,
|
|
959
1756
|
_request_auth=_request_auth,
|
|
960
1757
|
_content_type=_content_type,
|
|
@@ -963,7 +1760,7 @@ class WorkflowNodeServiceApi:
|
|
|
963
1760
|
)
|
|
964
1761
|
|
|
965
1762
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
966
|
-
'200': "
|
|
1763
|
+
'200': "V1ProcessWorkflowNodeResponse",
|
|
967
1764
|
}
|
|
968
1765
|
response_data = self.api_client.call_api(
|
|
969
1766
|
*_param,
|
|
@@ -977,9 +1774,9 @@ class WorkflowNodeServiceApi:
|
|
|
977
1774
|
|
|
978
1775
|
|
|
979
1776
|
@validate_call
|
|
980
|
-
def
|
|
1777
|
+
def workflow_node_service_process_workflow_node_without_preload_content(
|
|
981
1778
|
self,
|
|
982
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
1779
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to process.")],
|
|
983
1780
|
_request_timeout: Union[
|
|
984
1781
|
None,
|
|
985
1782
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -993,10 +1790,10 @@ class WorkflowNodeServiceApi:
|
|
|
993
1790
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
994
1791
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
995
1792
|
) -> RESTResponseType:
|
|
996
|
-
"""
|
|
1793
|
+
"""ProcessWorkflowNode processes a WorkflowNode.
|
|
997
1794
|
|
|
998
1795
|
|
|
999
|
-
:param name: Required. The name of the WorkflowNode to
|
|
1796
|
+
:param name: Required. The name of the WorkflowNode to process. (required)
|
|
1000
1797
|
:type name: str
|
|
1001
1798
|
:param _request_timeout: timeout setting for this request. If one
|
|
1002
1799
|
number provided, it will be total request
|
|
@@ -1020,7 +1817,7 @@ class WorkflowNodeServiceApi:
|
|
|
1020
1817
|
:return: Returns the result object.
|
|
1021
1818
|
""" # noqa: E501
|
|
1022
1819
|
|
|
1023
|
-
_param = self.
|
|
1820
|
+
_param = self._workflow_node_service_process_workflow_node_serialize(
|
|
1024
1821
|
name=name,
|
|
1025
1822
|
_request_auth=_request_auth,
|
|
1026
1823
|
_content_type=_content_type,
|
|
@@ -1029,7 +1826,7 @@ class WorkflowNodeServiceApi:
|
|
|
1029
1826
|
)
|
|
1030
1827
|
|
|
1031
1828
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1032
|
-
'200': "
|
|
1829
|
+
'200': "V1ProcessWorkflowNodeResponse",
|
|
1033
1830
|
}
|
|
1034
1831
|
response_data = self.api_client.call_api(
|
|
1035
1832
|
*_param,
|
|
@@ -1038,7 +1835,7 @@ class WorkflowNodeServiceApi:
|
|
|
1038
1835
|
return response_data.response
|
|
1039
1836
|
|
|
1040
1837
|
|
|
1041
|
-
def
|
|
1838
|
+
def _workflow_node_service_process_workflow_node_serialize(
|
|
1042
1839
|
self,
|
|
1043
1840
|
name,
|
|
1044
1841
|
_request_auth,
|
|
@@ -1081,8 +1878,8 @@ class WorkflowNodeServiceApi:
|
|
|
1081
1878
|
]
|
|
1082
1879
|
|
|
1083
1880
|
return self.api_client.param_serialize(
|
|
1084
|
-
method='
|
|
1085
|
-
resource_path='/v1/{name}:
|
|
1881
|
+
method='POST',
|
|
1882
|
+
resource_path='/v1/{name}:process',
|
|
1086
1883
|
path_params=_path_params,
|
|
1087
1884
|
query_params=_query_params,
|
|
1088
1885
|
header_params=_header_params,
|
|
@@ -1099,9 +1896,9 @@ class WorkflowNodeServiceApi:
|
|
|
1099
1896
|
|
|
1100
1897
|
|
|
1101
1898
|
@validate_call
|
|
1102
|
-
def
|
|
1899
|
+
def workflow_node_service_reset_workflow_node(
|
|
1103
1900
|
self,
|
|
1104
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
1901
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to reset.")],
|
|
1105
1902
|
_request_timeout: Union[
|
|
1106
1903
|
None,
|
|
1107
1904
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1114,11 +1911,11 @@ class WorkflowNodeServiceApi:
|
|
|
1114
1911
|
_content_type: Optional[StrictStr] = None,
|
|
1115
1912
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1116
1913
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1117
|
-
) ->
|
|
1118
|
-
"""
|
|
1914
|
+
) -> V1ResetWorkflowNodeResponse:
|
|
1915
|
+
"""ResetWorkflowNode resets a WorkflowNode.
|
|
1119
1916
|
|
|
1120
1917
|
|
|
1121
|
-
:param name: Required. The name of the WorkflowNode to
|
|
1918
|
+
:param name: Required. The name of the WorkflowNode to reset. (required)
|
|
1122
1919
|
:type name: str
|
|
1123
1920
|
:param _request_timeout: timeout setting for this request. If one
|
|
1124
1921
|
number provided, it will be total request
|
|
@@ -1142,7 +1939,7 @@ class WorkflowNodeServiceApi:
|
|
|
1142
1939
|
:return: Returns the result object.
|
|
1143
1940
|
""" # noqa: E501
|
|
1144
1941
|
|
|
1145
|
-
_param = self.
|
|
1942
|
+
_param = self._workflow_node_service_reset_workflow_node_serialize(
|
|
1146
1943
|
name=name,
|
|
1147
1944
|
_request_auth=_request_auth,
|
|
1148
1945
|
_content_type=_content_type,
|
|
@@ -1151,7 +1948,7 @@ class WorkflowNodeServiceApi:
|
|
|
1151
1948
|
)
|
|
1152
1949
|
|
|
1153
1950
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1154
|
-
'200': "
|
|
1951
|
+
'200': "V1ResetWorkflowNodeResponse",
|
|
1155
1952
|
}
|
|
1156
1953
|
response_data = self.api_client.call_api(
|
|
1157
1954
|
*_param,
|
|
@@ -1165,9 +1962,9 @@ class WorkflowNodeServiceApi:
|
|
|
1165
1962
|
|
|
1166
1963
|
|
|
1167
1964
|
@validate_call
|
|
1168
|
-
def
|
|
1965
|
+
def workflow_node_service_reset_workflow_node_with_http_info(
|
|
1169
1966
|
self,
|
|
1170
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
1967
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to reset.")],
|
|
1171
1968
|
_request_timeout: Union[
|
|
1172
1969
|
None,
|
|
1173
1970
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1180,11 +1977,11 @@ class WorkflowNodeServiceApi:
|
|
|
1180
1977
|
_content_type: Optional[StrictStr] = None,
|
|
1181
1978
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1182
1979
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1183
|
-
) -> ApiResponse[
|
|
1184
|
-
"""
|
|
1980
|
+
) -> ApiResponse[V1ResetWorkflowNodeResponse]:
|
|
1981
|
+
"""ResetWorkflowNode resets a WorkflowNode.
|
|
1185
1982
|
|
|
1186
1983
|
|
|
1187
|
-
:param name: Required. The name of the WorkflowNode to
|
|
1984
|
+
:param name: Required. The name of the WorkflowNode to reset. (required)
|
|
1188
1985
|
:type name: str
|
|
1189
1986
|
:param _request_timeout: timeout setting for this request. If one
|
|
1190
1987
|
number provided, it will be total request
|
|
@@ -1208,7 +2005,7 @@ class WorkflowNodeServiceApi:
|
|
|
1208
2005
|
:return: Returns the result object.
|
|
1209
2006
|
""" # noqa: E501
|
|
1210
2007
|
|
|
1211
|
-
_param = self.
|
|
2008
|
+
_param = self._workflow_node_service_reset_workflow_node_serialize(
|
|
1212
2009
|
name=name,
|
|
1213
2010
|
_request_auth=_request_auth,
|
|
1214
2011
|
_content_type=_content_type,
|
|
@@ -1217,7 +2014,7 @@ class WorkflowNodeServiceApi:
|
|
|
1217
2014
|
)
|
|
1218
2015
|
|
|
1219
2016
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1220
|
-
'200': "
|
|
2017
|
+
'200': "V1ResetWorkflowNodeResponse",
|
|
1221
2018
|
}
|
|
1222
2019
|
response_data = self.api_client.call_api(
|
|
1223
2020
|
*_param,
|
|
@@ -1231,9 +2028,9 @@ class WorkflowNodeServiceApi:
|
|
|
1231
2028
|
|
|
1232
2029
|
|
|
1233
2030
|
@validate_call
|
|
1234
|
-
def
|
|
2031
|
+
def workflow_node_service_reset_workflow_node_without_preload_content(
|
|
1235
2032
|
self,
|
|
1236
|
-
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to
|
|
2033
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the WorkflowNode to reset.")],
|
|
1237
2034
|
_request_timeout: Union[
|
|
1238
2035
|
None,
|
|
1239
2036
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1247,10 +2044,10 @@ class WorkflowNodeServiceApi:
|
|
|
1247
2044
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1248
2045
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1249
2046
|
) -> RESTResponseType:
|
|
1250
|
-
"""
|
|
2047
|
+
"""ResetWorkflowNode resets a WorkflowNode.
|
|
1251
2048
|
|
|
1252
2049
|
|
|
1253
|
-
:param name: Required. The name of the WorkflowNode to
|
|
2050
|
+
:param name: Required. The name of the WorkflowNode to reset. (required)
|
|
1254
2051
|
:type name: str
|
|
1255
2052
|
:param _request_timeout: timeout setting for this request. If one
|
|
1256
2053
|
number provided, it will be total request
|
|
@@ -1274,7 +2071,7 @@ class WorkflowNodeServiceApi:
|
|
|
1274
2071
|
:return: Returns the result object.
|
|
1275
2072
|
""" # noqa: E501
|
|
1276
2073
|
|
|
1277
|
-
_param = self.
|
|
2074
|
+
_param = self._workflow_node_service_reset_workflow_node_serialize(
|
|
1278
2075
|
name=name,
|
|
1279
2076
|
_request_auth=_request_auth,
|
|
1280
2077
|
_content_type=_content_type,
|
|
@@ -1283,7 +2080,7 @@ class WorkflowNodeServiceApi:
|
|
|
1283
2080
|
)
|
|
1284
2081
|
|
|
1285
2082
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1286
|
-
'200': "
|
|
2083
|
+
'200': "V1ResetWorkflowNodeResponse",
|
|
1287
2084
|
}
|
|
1288
2085
|
response_data = self.api_client.call_api(
|
|
1289
2086
|
*_param,
|
|
@@ -1292,7 +2089,7 @@ class WorkflowNodeServiceApi:
|
|
|
1292
2089
|
return response_data.response
|
|
1293
2090
|
|
|
1294
2091
|
|
|
1295
|
-
def
|
|
2092
|
+
def _workflow_node_service_reset_workflow_node_serialize(
|
|
1296
2093
|
self,
|
|
1297
2094
|
name,
|
|
1298
2095
|
_request_auth,
|
|
@@ -1336,7 +2133,7 @@ class WorkflowNodeServiceApi:
|
|
|
1336
2133
|
|
|
1337
2134
|
return self.api_client.param_serialize(
|
|
1338
2135
|
method='POST',
|
|
1339
|
-
resource_path='/v1/{name}:
|
|
2136
|
+
resource_path='/v1/{name}:reset',
|
|
1340
2137
|
path_params=_path_params,
|
|
1341
2138
|
query_params=_query_params,
|
|
1342
2139
|
header_params=_header_params,
|