eval-studio-client 1.2.4a2__py3-none-any.whl → 1.3.0__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 +65 -0
- eval_studio_client/api/api/__init__.py +3 -0
- eval_studio_client/api/api/dashboard_report_service_api.py +292 -0
- eval_studio_client/api/api/dashboard_service_api.py +16 -16
- eval_studio_client/api/api/dashboard_test_case_annotation_service_api.py +611 -0
- eval_studio_client/api/api/document_service_api.py +16 -16
- eval_studio_client/api/api/evaluation_service_api.py +12 -12
- eval_studio_client/api/api/evaluator_service_api.py +16 -16
- eval_studio_client/api/api/leaderboard_report_service_api.py +304 -17
- eval_studio_client/api/api/leaderboard_service_api.py +554 -16
- eval_studio_client/api/api/leaderboard_test_case_annotation_service_api.py +611 -0
- eval_studio_client/api/api/model_service_api.py +16 -16
- eval_studio_client/api/api/operation_service_api.py +821 -17
- eval_studio_client/api/api/perturbator_service_api.py +22 -22
- eval_studio_client/api/api/test_case_service_api.py +300 -16
- eval_studio_client/api/api/test_class_service_api.py +16 -16
- eval_studio_client/api/api/test_service_api.py +285 -16
- eval_studio_client/api/api/workflow_node_service_api.py +16 -16
- eval_studio_client/api/api/workflow_service_api.py +16 -16
- eval_studio_client/api/docs/AdversarialInputsServiceTestAdversarialInputsRobustnessRequest.md +2 -1
- eval_studio_client/api/docs/DashboardReportServiceApi.md +75 -0
- eval_studio_client/api/docs/DashboardServiceApi.md +5 -5
- eval_studio_client/api/docs/DashboardTestCaseAnnotationServiceApi.md +149 -0
- eval_studio_client/api/docs/DocumentServiceApi.md +5 -5
- eval_studio_client/api/docs/EvaluationServiceApi.md +4 -4
- eval_studio_client/api/docs/EvaluatorServiceApi.md +5 -5
- eval_studio_client/api/docs/LeaderboardReportServiceApi.md +75 -5
- eval_studio_client/api/docs/LeaderboardServiceApi.md +141 -5
- eval_studio_client/api/docs/LeaderboardTestCaseAnnotationServiceApi.md +149 -0
- eval_studio_client/api/docs/ModelServiceApi.md +5 -5
- eval_studio_client/api/docs/OperationServiceApi.md +215 -8
- eval_studio_client/api/docs/PerturbatorServiceApi.md +7 -7
- eval_studio_client/api/docs/RequiredTheDashboardTestCaseAnnotationToUpdate.md +35 -0
- eval_studio_client/api/docs/RequiredTheLeaderboardTestCaseAnnotationToUpdate.md +35 -0
- eval_studio_client/api/docs/RequiredTheLeaderboardToUpdate.md +1 -0
- eval_studio_client/api/docs/RequiredTheOperationToFinalize.md +1 -0
- eval_studio_client/api/docs/RequiredTheOperationToUpdate.md +1 -0
- eval_studio_client/api/docs/TestCaseServiceApi.md +75 -5
- eval_studio_client/api/docs/TestCaseServiceAppendTestCasesRequest.md +30 -0
- eval_studio_client/api/docs/TestClassServiceApi.md +5 -5
- eval_studio_client/api/docs/TestServiceApi.md +73 -5
- eval_studio_client/api/docs/V1ActualOutputMeta.md +30 -0
- eval_studio_client/api/docs/V1ActualOutputMetaDiff.md +36 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagram.md +31 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramEdge.md +32 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramNode.md +32 -0
- eval_studio_client/api/docs/V1AgentChatActivityDiagramRow.md +30 -0
- eval_studio_client/api/docs/V1AgentChatScriptUsage.md +33 -0
- eval_studio_client/api/docs/V1AgentChatScriptsBarChart.md +30 -0
- eval_studio_client/api/docs/V1AgentChatToolUsage.md +33 -0
- eval_studio_client/api/docs/V1AgentChatToolsBarChart.md +30 -0
- eval_studio_client/api/docs/V1AllMetricScores.md +29 -0
- eval_studio_client/api/docs/V1AppendTestCasesResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchCreateLeaderboardsWithoutCacheRequest.md +31 -0
- eval_studio_client/api/docs/V1BatchCreateLeaderboardsWithoutCacheResponse.md +29 -0
- eval_studio_client/api/docs/V1BatchMarkOperationSeenByCreatorResponse.md +29 -0
- eval_studio_client/api/docs/V1CmpLeaderboardReportsRequest.md +33 -0
- eval_studio_client/api/docs/V1CmpLeaderboardReportsResponse.md +29 -0
- eval_studio_client/api/docs/V1ComparisonItem.md +36 -0
- eval_studio_client/api/docs/V1ComparisonMetricScore.md +30 -0
- eval_studio_client/api/docs/V1ComparisonResult.md +31 -0
- eval_studio_client/api/docs/V1ComparisonSummary.md +31 -0
- eval_studio_client/api/docs/V1CreateEvaluationRequest.md +1 -0
- eval_studio_client/api/docs/V1CreateTestFromTestCasesRequest.md +32 -0
- eval_studio_client/api/docs/V1CreateTestFromTestCasesResponse.md +29 -0
- eval_studio_client/api/docs/V1DashboardReport.md +31 -0
- eval_studio_client/api/docs/V1DashboardReportResult.md +39 -0
- eval_studio_client/api/docs/V1DashboardTestCaseAnnotation.md +36 -0
- eval_studio_client/api/docs/V1DataFragment.md +31 -0
- eval_studio_client/api/docs/V1DeepCompareLeaderboardsRequest.md +33 -0
- eval_studio_client/api/docs/V1DeepCompareLeaderboardsResponse.md +29 -0
- eval_studio_client/api/docs/V1DiffItem.md +36 -0
- eval_studio_client/api/docs/V1EvaluationType.md +12 -0
- eval_studio_client/api/docs/V1FlippedMetric.md +31 -0
- eval_studio_client/api/docs/V1GetDashboardReportResponse.md +29 -0
- eval_studio_client/api/docs/V1HumanDecision.md +12 -0
- eval_studio_client/api/docs/V1Info.md +1 -0
- eval_studio_client/api/docs/V1Leaderboard.md +1 -0
- eval_studio_client/api/docs/V1LeaderboardCmpReport.md +30 -0
- eval_studio_client/api/docs/V1LeaderboardComparisonItem.md +31 -0
- eval_studio_client/api/docs/V1LeaderboardInfo.md +30 -0
- eval_studio_client/api/docs/V1LeaderboardReportActualOutputMeta.md +6 -3
- eval_studio_client/api/docs/V1LeaderboardReportResult.md +11 -8
- eval_studio_client/api/docs/V1LeaderboardReportResultView.md +12 -0
- eval_studio_client/api/docs/V1LeaderboardTestCaseAnnotation.md +36 -0
- eval_studio_client/api/docs/V1ListDashboardTestCaseAnnotationsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListLeaderboardTestCaseAnnotationsResponse.md +29 -0
- eval_studio_client/api/docs/V1ListOperationsResponse.md +1 -0
- eval_studio_client/api/docs/V1ListUnseenOperationsResponse.md +30 -0
- eval_studio_client/api/docs/V1MarkOperationSeenByCreatorResponse.md +29 -0
- eval_studio_client/api/docs/V1Metric.md +30 -0
- eval_studio_client/api/docs/V1MetricAverage.md +36 -0
- eval_studio_client/api/docs/V1MetricMeta.md +40 -0
- eval_studio_client/api/docs/V1MetricScore.md +1 -1
- eval_studio_client/api/docs/V1MetricScores.md +1 -1
- eval_studio_client/api/docs/V1ModelType.md +1 -1
- eval_studio_client/api/docs/V1ModelsComparisons.md +32 -0
- eval_studio_client/api/docs/V1ModelsComparisonsMetrics.md +33 -0
- eval_studio_client/api/docs/V1ModelsOverview.md +34 -0
- eval_studio_client/api/docs/V1Operation.md +1 -0
- eval_studio_client/api/docs/V1OperationView.md +12 -0
- eval_studio_client/api/docs/V1RetrievedContextDiff.md +36 -0
- eval_studio_client/api/docs/V1Stats.md +2 -0
- eval_studio_client/api/docs/V1TechnicalMetrics.md +30 -0
- eval_studio_client/api/docs/V1TechnicalMetricsDetail.md +33 -0
- eval_studio_client/api/docs/V1TestCaseLeaderboardItem.md +31 -0
- eval_studio_client/api/docs/V1TestCaseRelationshipInfo.md +31 -0
- eval_studio_client/api/docs/V1TestCaseResult.md +48 -0
- eval_studio_client/api/docs/V1TextSimilarityMetric.md +12 -0
- eval_studio_client/api/docs/V1UpdateDashboardTestCaseAnnotationResponse.md +29 -0
- eval_studio_client/api/docs/V1UpdateLeaderboardTestCaseAnnotationResponse.md +29 -0
- eval_studio_client/api/docs/WorkflowNodeServiceApi.md +5 -5
- eval_studio_client/api/docs/WorkflowServiceApi.md +5 -5
- eval_studio_client/api/models/__init__.py +62 -0
- eval_studio_client/api/models/adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +17 -2
- eval_studio_client/api/models/required_the_dashboard_test_case_annotation_to_update.py +108 -0
- eval_studio_client/api/models/required_the_leaderboard_test_case_annotation_to_update.py +108 -0
- eval_studio_client/api/models/required_the_leaderboard_to_update.py +5 -2
- eval_studio_client/api/models/required_the_operation_to_finalize.py +6 -2
- eval_studio_client/api/models/required_the_operation_to_update.py +6 -2
- eval_studio_client/api/models/test_case_service_append_test_cases_request.py +89 -0
- eval_studio_client/api/models/v1_actual_output_meta.py +97 -0
- eval_studio_client/api/models/v1_actual_output_meta_diff.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram.py +109 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_edge.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_node.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_activity_diagram_row.py +97 -0
- eval_studio_client/api/models/v1_agent_chat_script_usage.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_scripts_bar_chart.py +102 -0
- eval_studio_client/api/models/v1_agent_chat_tool_usage.py +101 -0
- eval_studio_client/api/models/v1_agent_chat_tools_bar_chart.py +102 -0
- eval_studio_client/api/models/v1_all_metric_scores.py +87 -0
- eval_studio_client/api/models/v1_append_test_cases_response.py +95 -0
- eval_studio_client/api/models/v1_batch_create_leaderboards_without_cache_request.py +99 -0
- eval_studio_client/api/models/v1_batch_create_leaderboards_without_cache_response.py +91 -0
- eval_studio_client/api/models/v1_batch_mark_operation_seen_by_creator_response.py +95 -0
- eval_studio_client/api/models/v1_cmp_leaderboard_reports_request.py +96 -0
- eval_studio_client/api/models/v1_cmp_leaderboard_reports_response.py +91 -0
- eval_studio_client/api/models/v1_comparison_item.py +130 -0
- eval_studio_client/api/models/v1_comparison_metric_score.py +89 -0
- eval_studio_client/api/models/v1_comparison_result.py +120 -0
- eval_studio_client/api/models/v1_comparison_summary.py +91 -0
- eval_studio_client/api/models/v1_create_evaluation_request.py +5 -2
- eval_studio_client/api/models/v1_create_test_from_test_cases_request.py +93 -0
- eval_studio_client/api/models/v1_create_test_from_test_cases_response.py +91 -0
- eval_studio_client/api/models/v1_dashboard_report.py +109 -0
- eval_studio_client/api/models/v1_dashboard_report_result.py +139 -0
- eval_studio_client/api/models/v1_dashboard_test_case_annotation.py +112 -0
- eval_studio_client/api/models/v1_data_fragment.py +91 -0
- eval_studio_client/api/models/v1_deep_compare_leaderboards_request.py +96 -0
- eval_studio_client/api/models/v1_deep_compare_leaderboards_response.py +91 -0
- eval_studio_client/api/models/v1_diff_item.py +137 -0
- eval_studio_client/api/models/v1_evaluation_type.py +39 -0
- eval_studio_client/api/models/v1_flipped_metric.py +91 -0
- eval_studio_client/api/models/v1_get_dashboard_report_response.py +91 -0
- eval_studio_client/api/models/v1_human_decision.py +38 -0
- eval_studio_client/api/models/v1_info.py +4 -2
- eval_studio_client/api/models/v1_leaderboard.py +5 -2
- eval_studio_client/api/models/v1_leaderboard_cmp_report.py +93 -0
- eval_studio_client/api/models/v1_leaderboard_comparison_item.py +91 -0
- eval_studio_client/api/models/v1_leaderboard_info.py +97 -0
- eval_studio_client/api/models/v1_leaderboard_report_actual_output_meta.py +23 -9
- eval_studio_client/api/models/v1_leaderboard_report_result.py +21 -10
- eval_studio_client/api/models/v1_leaderboard_report_result_view.py +38 -0
- eval_studio_client/api/models/v1_leaderboard_test_case_annotation.py +112 -0
- eval_studio_client/api/models/v1_list_dashboard_test_case_annotations_response.py +95 -0
- eval_studio_client/api/models/v1_list_leaderboard_test_case_annotations_response.py +95 -0
- eval_studio_client/api/models/v1_list_operations_response.py +5 -3
- eval_studio_client/api/models/v1_list_unseen_operations_response.py +97 -0
- eval_studio_client/api/models/v1_mark_operation_seen_by_creator_response.py +91 -0
- eval_studio_client/api/models/v1_metric.py +89 -0
- eval_studio_client/api/models/v1_metric_average.py +101 -0
- eval_studio_client/api/models/v1_metric_meta.py +109 -0
- eval_studio_client/api/models/v1_metric_score.py +6 -1
- eval_studio_client/api/models/v1_metric_scores.py +1 -1
- eval_studio_client/api/models/v1_model_type.py +2 -1
- eval_studio_client/api/models/v1_models_comparisons.py +93 -0
- eval_studio_client/api/models/v1_models_comparisons_metrics.py +103 -0
- eval_studio_client/api/models/v1_models_overview.py +97 -0
- eval_studio_client/api/models/v1_operation.py +6 -2
- eval_studio_client/api/models/v1_operation_view.py +38 -0
- eval_studio_client/api/models/v1_retrieved_context_diff.py +101 -0
- eval_studio_client/api/models/v1_stats.py +16 -2
- eval_studio_client/api/models/v1_technical_metrics.py +96 -0
- eval_studio_client/api/models/v1_technical_metrics_detail.py +95 -0
- eval_studio_client/api/models/v1_test_case_leaderboard_item.py +91 -0
- eval_studio_client/api/models/v1_test_case_relationship_info.py +91 -0
- eval_studio_client/api/models/v1_test_case_result.py +157 -0
- eval_studio_client/api/models/v1_text_similarity_metric.py +39 -0
- eval_studio_client/api/models/v1_update_dashboard_test_case_annotation_response.py +91 -0
- eval_studio_client/api/models/v1_update_leaderboard_test_case_annotation_response.py +91 -0
- eval_studio_client/api/models/v1_workflow_node_type.py +1 -0
- eval_studio_client/api/models/v1_workflow_type.py +1 -0
- eval_studio_client/api/test/test_adversarial_inputs_service_test_adversarial_inputs_robustness_request.py +6 -0
- eval_studio_client/api/test/test_dashboard_report_service_api.py +37 -0
- eval_studio_client/api/test/test_dashboard_test_case_annotation_service_api.py +43 -0
- eval_studio_client/api/test/test_leaderboard_report_service_api.py +6 -0
- eval_studio_client/api/test/test_leaderboard_service_api.py +12 -0
- eval_studio_client/api/test/test_leaderboard_test_case_annotation_service_api.py +43 -0
- eval_studio_client/api/test/test_operation_service_api.py +18 -0
- eval_studio_client/api/test/test_required_the_dashboard_test_case_annotation_to_update.py +57 -0
- eval_studio_client/api/test/test_required_the_leaderboard_test_case_annotation_to_update.py +57 -0
- eval_studio_client/api/test/test_required_the_leaderboard_to_update.py +2 -1
- eval_studio_client/api/test/test_required_the_operation_to_finalize.py +2 -1
- eval_studio_client/api/test/test_required_the_operation_to_update.py +2 -1
- eval_studio_client/api/test/test_test_case_service_api.py +6 -0
- eval_studio_client/api/test/test_test_case_service_append_test_cases_request.py +52 -0
- eval_studio_client/api/test/test_test_service_api.py +6 -0
- eval_studio_client/api/test/test_v1_abort_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_actual_output_meta.py +61 -0
- eval_studio_client/api/test/test_v1_actual_output_meta_diff.py +66 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram.py +65 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_edge.py +53 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_node.py +53 -0
- eval_studio_client/api/test/test_v1_agent_chat_activity_diagram_row.py +56 -0
- eval_studio_client/api/test/test_v1_agent_chat_script_usage.py +54 -0
- eval_studio_client/api/test/test_v1_agent_chat_scripts_bar_chart.py +57 -0
- eval_studio_client/api/test/test_v1_agent_chat_tool_usage.py +54 -0
- eval_studio_client/api/test/test_v1_agent_chat_tools_bar_chart.py +57 -0
- eval_studio_client/api/test/test_v1_all_metric_scores.py +53 -0
- eval_studio_client/api/test/test_v1_append_test_cases_response.py +74 -0
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_request.py +2 -1
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_without_cache_request.py +120 -0
- eval_studio_client/api/test/test_v1_batch_create_leaderboards_without_cache_response.py +72 -0
- eval_studio_client/api/test/test_v1_batch_delete_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_get_operations_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_import_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_batch_mark_operation_seen_by_creator_response.py +74 -0
- eval_studio_client/api/test/test_v1_cmp_leaderboard_reports_request.py +55 -0
- eval_studio_client/api/test/test_v1_cmp_leaderboard_reports_response.py +255 -0
- eval_studio_client/api/test/test_v1_comparison_item.py +233 -0
- eval_studio_client/api/test/test_v1_comparison_metric_score.py +52 -0
- eval_studio_client/api/test/test_v1_comparison_result.py +258 -0
- eval_studio_client/api/test/test_v1_comparison_summary.py +53 -0
- eval_studio_client/api/test/test_v1_create_evaluation_request.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_request.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_create_leaderboard_without_cache_response.py +2 -1
- eval_studio_client/api/test/test_v1_create_test_from_test_cases_request.py +54 -0
- eval_studio_client/api/test/test_v1_create_test_from_test_cases_response.py +68 -0
- eval_studio_client/api/test/test_v1_dashboard_report.py +142 -0
- eval_studio_client/api/test/test_v1_dashboard_report_result.py +72 -0
- eval_studio_client/api/test/test_v1_dashboard_test_case_annotation.py +58 -0
- eval_studio_client/api/test/test_v1_data_fragment.py +57 -0
- eval_studio_client/api/test/test_v1_deep_compare_leaderboards_request.py +55 -0
- eval_studio_client/api/test/test_v1_deep_compare_leaderboards_response.py +255 -0
- eval_studio_client/api/test/test_v1_delete_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_diff_item.py +226 -0
- eval_studio_client/api/test/test_v1_evaluation_type.py +33 -0
- eval_studio_client/api/test/test_v1_finalize_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_flipped_metric.py +53 -0
- eval_studio_client/api/test/test_v1_generate_test_cases_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_dashboard_report_response.py +143 -0
- eval_studio_client/api/test/test_v1_get_info_response.py +4 -1
- eval_studio_client/api/test/test_v1_get_leaderboard_report_response.py +39 -2
- eval_studio_client/api/test/test_v1_get_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_operation_response.py +2 -1
- eval_studio_client/api/test/test_v1_get_stats_response.py +3 -1
- eval_studio_client/api/test/test_v1_human_decision.py +33 -0
- eval_studio_client/api/test/test_v1_import_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_import_test_cases_from_library_response.py +2 -1
- eval_studio_client/api/test/test_v1_info.py +4 -1
- eval_studio_client/api/test/test_v1_leaderboard.py +2 -1
- eval_studio_client/api/test/test_v1_leaderboard_cmp_report.py +254 -0
- eval_studio_client/api/test/test_v1_leaderboard_comparison_item.py +53 -0
- eval_studio_client/api/test/test_v1_leaderboard_info.py +57 -0
- eval_studio_client/api/test/test_v1_leaderboard_report.py +39 -2
- eval_studio_client/api/test/test_v1_leaderboard_report_actual_output_meta.py +33 -1
- eval_studio_client/api/test/test_v1_leaderboard_report_result.py +39 -2
- eval_studio_client/api/test/test_v1_leaderboard_report_result_view.py +33 -0
- eval_studio_client/api/test/test_v1_leaderboard_test_case_annotation.py +58 -0
- eval_studio_client/api/test/test_v1_list_dashboard_test_case_annotations_response.py +61 -0
- eval_studio_client/api/test/test_v1_list_leaderboard_test_case_annotations_response.py +61 -0
- eval_studio_client/api/test/test_v1_list_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_most_recent_leaderboards_response.py +2 -1
- eval_studio_client/api/test/test_v1_list_operations_response.py +4 -2
- eval_studio_client/api/test/test_v1_list_unseen_operations_response.py +75 -0
- eval_studio_client/api/test/test_v1_mark_operation_seen_by_creator_response.py +72 -0
- eval_studio_client/api/test/test_v1_metric.py +52 -0
- eval_studio_client/api/test/test_v1_metric_average.py +58 -0
- eval_studio_client/api/test/test_v1_metric_meta.py +66 -0
- eval_studio_client/api/test/test_v1_models_comparisons.py +54 -0
- eval_studio_client/api/test/test_v1_models_comparisons_metrics.py +65 -0
- eval_studio_client/api/test/test_v1_models_overview.py +60 -0
- eval_studio_client/api/test/test_v1_operation.py +2 -1
- eval_studio_client/api/test/test_v1_operation_view.py +33 -0
- eval_studio_client/api/test/test_v1_process_workflow_node_response.py +2 -1
- eval_studio_client/api/test/test_v1_retrieved_context_diff.py +66 -0
- eval_studio_client/api/test/test_v1_stats.py +3 -1
- eval_studio_client/api/test/test_v1_technical_metrics.py +62 -0
- eval_studio_client/api/test/test_v1_technical_metrics_detail.py +55 -0
- eval_studio_client/api/test/test_v1_test_case_leaderboard_item.py +53 -0
- eval_studio_client/api/test/test_v1_test_case_relationship_info.py +53 -0
- eval_studio_client/api/test/test_v1_test_case_result.py +106 -0
- eval_studio_client/api/test/test_v1_text_similarity_metric.py +33 -0
- eval_studio_client/api/test/test_v1_update_dashboard_test_case_annotation_response.py +59 -0
- eval_studio_client/api/test/test_v1_update_leaderboard_response.py +2 -1
- eval_studio_client/api/test/test_v1_update_leaderboard_test_case_annotation_response.py +59 -0
- eval_studio_client/api/test/test_v1_update_operation_response.py +2 -1
- eval_studio_client/gen/openapiv2/eval_studio.swagger.json +2340 -210
- eval_studio_client/models.py +18 -6
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/METADATA +2 -2
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/RECORD +306 -111
- {eval_studio_client-1.2.4a2.dist-info → eval_studio_client-1.3.0.dist-info}/WHEEL +0 -0
|
@@ -16,16 +16,19 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, StrictStr, field_validator
|
|
19
|
+
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
20
20
|
from typing import List, Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from eval_studio_client.api.models.required_the_operation_to_finalize import RequiredTheOperationToFinalize
|
|
23
23
|
from eval_studio_client.api.models.required_the_operation_to_update import RequiredTheOperationToUpdate
|
|
24
24
|
from eval_studio_client.api.models.v1_abort_operation_response import V1AbortOperationResponse
|
|
25
25
|
from eval_studio_client.api.models.v1_batch_get_operations_response import V1BatchGetOperationsResponse
|
|
26
|
+
from eval_studio_client.api.models.v1_batch_mark_operation_seen_by_creator_response import V1BatchMarkOperationSeenByCreatorResponse
|
|
26
27
|
from eval_studio_client.api.models.v1_finalize_operation_response import V1FinalizeOperationResponse
|
|
27
28
|
from eval_studio_client.api.models.v1_get_operation_response import V1GetOperationResponse
|
|
28
29
|
from eval_studio_client.api.models.v1_list_operations_response import V1ListOperationsResponse
|
|
30
|
+
from eval_studio_client.api.models.v1_list_unseen_operations_response import V1ListUnseenOperationsResponse
|
|
31
|
+
from eval_studio_client.api.models.v1_mark_operation_seen_by_creator_response import V1MarkOperationSeenByCreatorResponse
|
|
29
32
|
from eval_studio_client.api.models.v1_update_operation_response import V1UpdateOperationResponse
|
|
30
33
|
|
|
31
34
|
from eval_studio_client.api.api_client import ApiClient, RequestSerialized
|
|
@@ -557,6 +560,263 @@ class OperationServiceApi:
|
|
|
557
560
|
|
|
558
561
|
|
|
559
562
|
|
|
563
|
+
@validate_call
|
|
564
|
+
def operation_service_batch_mark_operation_seen_by_creator(
|
|
565
|
+
self,
|
|
566
|
+
names: Annotated[Optional[List[StrictStr]], Field(description="Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.")] = None,
|
|
567
|
+
_request_timeout: Union[
|
|
568
|
+
None,
|
|
569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
570
|
+
Tuple[
|
|
571
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
572
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
573
|
+
]
|
|
574
|
+
] = None,
|
|
575
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
576
|
+
_content_type: Optional[StrictStr] = None,
|
|
577
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
578
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
579
|
+
) -> V1BatchMarkOperationSeenByCreatorResponse:
|
|
580
|
+
"""operation_service_batch_mark_operation_seen_by_creator
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
:param names: Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.
|
|
584
|
+
:type names: List[str]
|
|
585
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
586
|
+
number provided, it will be total request
|
|
587
|
+
timeout. It can also be a pair (tuple) of
|
|
588
|
+
(connection, read) timeouts.
|
|
589
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
590
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
591
|
+
request; this effectively ignores the
|
|
592
|
+
authentication in the spec for a single request.
|
|
593
|
+
:type _request_auth: dict, optional
|
|
594
|
+
:param _content_type: force content-type for the request.
|
|
595
|
+
:type _content_type: str, Optional
|
|
596
|
+
:param _headers: set to override the headers for a single
|
|
597
|
+
request; this effectively ignores the headers
|
|
598
|
+
in the spec for a single request.
|
|
599
|
+
:type _headers: dict, optional
|
|
600
|
+
:param _host_index: set to override the host_index for a single
|
|
601
|
+
request; this effectively ignores the host_index
|
|
602
|
+
in the spec for a single request.
|
|
603
|
+
:type _host_index: int, optional
|
|
604
|
+
:return: Returns the result object.
|
|
605
|
+
""" # noqa: E501
|
|
606
|
+
|
|
607
|
+
_param = self._operation_service_batch_mark_operation_seen_by_creator_serialize(
|
|
608
|
+
names=names,
|
|
609
|
+
_request_auth=_request_auth,
|
|
610
|
+
_content_type=_content_type,
|
|
611
|
+
_headers=_headers,
|
|
612
|
+
_host_index=_host_index
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
616
|
+
'200': "V1BatchMarkOperationSeenByCreatorResponse",
|
|
617
|
+
}
|
|
618
|
+
response_data = self.api_client.call_api(
|
|
619
|
+
*_param,
|
|
620
|
+
_request_timeout=_request_timeout
|
|
621
|
+
)
|
|
622
|
+
response_data.read()
|
|
623
|
+
return self.api_client.response_deserialize(
|
|
624
|
+
response_data=response_data,
|
|
625
|
+
response_types_map=_response_types_map,
|
|
626
|
+
).data
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
@validate_call
|
|
630
|
+
def operation_service_batch_mark_operation_seen_by_creator_with_http_info(
|
|
631
|
+
self,
|
|
632
|
+
names: Annotated[Optional[List[StrictStr]], Field(description="Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.")] = None,
|
|
633
|
+
_request_timeout: Union[
|
|
634
|
+
None,
|
|
635
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
636
|
+
Tuple[
|
|
637
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
638
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
639
|
+
]
|
|
640
|
+
] = None,
|
|
641
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
642
|
+
_content_type: Optional[StrictStr] = None,
|
|
643
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
644
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
645
|
+
) -> ApiResponse[V1BatchMarkOperationSeenByCreatorResponse]:
|
|
646
|
+
"""operation_service_batch_mark_operation_seen_by_creator
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
:param names: Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.
|
|
650
|
+
:type names: List[str]
|
|
651
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
652
|
+
number provided, it will be total request
|
|
653
|
+
timeout. It can also be a pair (tuple) of
|
|
654
|
+
(connection, read) timeouts.
|
|
655
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
656
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
657
|
+
request; this effectively ignores the
|
|
658
|
+
authentication in the spec for a single request.
|
|
659
|
+
:type _request_auth: dict, optional
|
|
660
|
+
:param _content_type: force content-type for the request.
|
|
661
|
+
:type _content_type: str, Optional
|
|
662
|
+
:param _headers: set to override the headers for a single
|
|
663
|
+
request; this effectively ignores the headers
|
|
664
|
+
in the spec for a single request.
|
|
665
|
+
:type _headers: dict, optional
|
|
666
|
+
:param _host_index: set to override the host_index for a single
|
|
667
|
+
request; this effectively ignores the host_index
|
|
668
|
+
in the spec for a single request.
|
|
669
|
+
:type _host_index: int, optional
|
|
670
|
+
:return: Returns the result object.
|
|
671
|
+
""" # noqa: E501
|
|
672
|
+
|
|
673
|
+
_param = self._operation_service_batch_mark_operation_seen_by_creator_serialize(
|
|
674
|
+
names=names,
|
|
675
|
+
_request_auth=_request_auth,
|
|
676
|
+
_content_type=_content_type,
|
|
677
|
+
_headers=_headers,
|
|
678
|
+
_host_index=_host_index
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
682
|
+
'200': "V1BatchMarkOperationSeenByCreatorResponse",
|
|
683
|
+
}
|
|
684
|
+
response_data = self.api_client.call_api(
|
|
685
|
+
*_param,
|
|
686
|
+
_request_timeout=_request_timeout
|
|
687
|
+
)
|
|
688
|
+
response_data.read()
|
|
689
|
+
return self.api_client.response_deserialize(
|
|
690
|
+
response_data=response_data,
|
|
691
|
+
response_types_map=_response_types_map,
|
|
692
|
+
)
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
@validate_call
|
|
696
|
+
def operation_service_batch_mark_operation_seen_by_creator_without_preload_content(
|
|
697
|
+
self,
|
|
698
|
+
names: Annotated[Optional[List[StrictStr]], Field(description="Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.")] = None,
|
|
699
|
+
_request_timeout: Union[
|
|
700
|
+
None,
|
|
701
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
702
|
+
Tuple[
|
|
703
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
704
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
705
|
+
]
|
|
706
|
+
] = None,
|
|
707
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
708
|
+
_content_type: Optional[StrictStr] = None,
|
|
709
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
710
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
711
|
+
) -> RESTResponseType:
|
|
712
|
+
"""operation_service_batch_mark_operation_seen_by_creator
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
:param names: Required. The names of the Operations to mark as seen. A maximum of 1000 can be specified.
|
|
716
|
+
:type names: List[str]
|
|
717
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
718
|
+
number provided, it will be total request
|
|
719
|
+
timeout. It can also be a pair (tuple) of
|
|
720
|
+
(connection, read) timeouts.
|
|
721
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
722
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
723
|
+
request; this effectively ignores the
|
|
724
|
+
authentication in the spec for a single request.
|
|
725
|
+
:type _request_auth: dict, optional
|
|
726
|
+
:param _content_type: force content-type for the request.
|
|
727
|
+
:type _content_type: str, Optional
|
|
728
|
+
:param _headers: set to override the headers for a single
|
|
729
|
+
request; this effectively ignores the headers
|
|
730
|
+
in the spec for a single request.
|
|
731
|
+
:type _headers: dict, optional
|
|
732
|
+
:param _host_index: set to override the host_index for a single
|
|
733
|
+
request; this effectively ignores the host_index
|
|
734
|
+
in the spec for a single request.
|
|
735
|
+
:type _host_index: int, optional
|
|
736
|
+
:return: Returns the result object.
|
|
737
|
+
""" # noqa: E501
|
|
738
|
+
|
|
739
|
+
_param = self._operation_service_batch_mark_operation_seen_by_creator_serialize(
|
|
740
|
+
names=names,
|
|
741
|
+
_request_auth=_request_auth,
|
|
742
|
+
_content_type=_content_type,
|
|
743
|
+
_headers=_headers,
|
|
744
|
+
_host_index=_host_index
|
|
745
|
+
)
|
|
746
|
+
|
|
747
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
748
|
+
'200': "V1BatchMarkOperationSeenByCreatorResponse",
|
|
749
|
+
}
|
|
750
|
+
response_data = self.api_client.call_api(
|
|
751
|
+
*_param,
|
|
752
|
+
_request_timeout=_request_timeout
|
|
753
|
+
)
|
|
754
|
+
return response_data.response
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
def _operation_service_batch_mark_operation_seen_by_creator_serialize(
|
|
758
|
+
self,
|
|
759
|
+
names,
|
|
760
|
+
_request_auth,
|
|
761
|
+
_content_type,
|
|
762
|
+
_headers,
|
|
763
|
+
_host_index,
|
|
764
|
+
) -> RequestSerialized:
|
|
765
|
+
|
|
766
|
+
_host = None
|
|
767
|
+
|
|
768
|
+
_collection_formats: Dict[str, str] = {
|
|
769
|
+
'names': 'multi',
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
_path_params: Dict[str, str] = {}
|
|
773
|
+
_query_params: List[Tuple[str, str]] = []
|
|
774
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
775
|
+
_form_params: List[Tuple[str, str]] = []
|
|
776
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
777
|
+
_body_params: Optional[bytes] = None
|
|
778
|
+
|
|
779
|
+
# process the path parameters
|
|
780
|
+
# process the query parameters
|
|
781
|
+
if names is not None:
|
|
782
|
+
|
|
783
|
+
_query_params.append(('names', names))
|
|
784
|
+
|
|
785
|
+
# process the header parameters
|
|
786
|
+
# process the form parameters
|
|
787
|
+
# process the body parameter
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
# set the HTTP header `Accept`
|
|
791
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
792
|
+
[
|
|
793
|
+
'application/json'
|
|
794
|
+
]
|
|
795
|
+
)
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
# authentication setting
|
|
799
|
+
_auth_settings: List[str] = [
|
|
800
|
+
]
|
|
801
|
+
|
|
802
|
+
return self.api_client.param_serialize(
|
|
803
|
+
method='POST',
|
|
804
|
+
resource_path='/v1/operations:batchMarkSeenByCreator',
|
|
805
|
+
path_params=_path_params,
|
|
806
|
+
query_params=_query_params,
|
|
807
|
+
header_params=_header_params,
|
|
808
|
+
body=_body_params,
|
|
809
|
+
post_params=_form_params,
|
|
810
|
+
files=_files,
|
|
811
|
+
auth_settings=_auth_settings,
|
|
812
|
+
collection_formats=_collection_formats,
|
|
813
|
+
_host=_host,
|
|
814
|
+
_request_auth=_request_auth
|
|
815
|
+
)
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
560
820
|
@validate_call
|
|
561
821
|
def operation_service_finalize_operation(
|
|
562
822
|
self,
|
|
@@ -842,7 +1102,7 @@ class OperationServiceApi:
|
|
|
842
1102
|
@validate_call
|
|
843
1103
|
def operation_service_get_operation(
|
|
844
1104
|
self,
|
|
845
|
-
|
|
1105
|
+
name_7: Annotated[str, Field(strict=True, description="Required. The name of the Operation to retrieve.")],
|
|
846
1106
|
_request_timeout: Union[
|
|
847
1107
|
None,
|
|
848
1108
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -859,8 +1119,8 @@ class OperationServiceApi:
|
|
|
859
1119
|
"""operation_service_get_operation
|
|
860
1120
|
|
|
861
1121
|
|
|
862
|
-
:param
|
|
863
|
-
:type
|
|
1122
|
+
:param name_7: Required. The name of the Operation to retrieve. (required)
|
|
1123
|
+
:type name_7: str
|
|
864
1124
|
:param _request_timeout: timeout setting for this request. If one
|
|
865
1125
|
number provided, it will be total request
|
|
866
1126
|
timeout. It can also be a pair (tuple) of
|
|
@@ -884,7 +1144,7 @@ class OperationServiceApi:
|
|
|
884
1144
|
""" # noqa: E501
|
|
885
1145
|
|
|
886
1146
|
_param = self._operation_service_get_operation_serialize(
|
|
887
|
-
|
|
1147
|
+
name_7=name_7,
|
|
888
1148
|
_request_auth=_request_auth,
|
|
889
1149
|
_content_type=_content_type,
|
|
890
1150
|
_headers=_headers,
|
|
@@ -908,7 +1168,7 @@ class OperationServiceApi:
|
|
|
908
1168
|
@validate_call
|
|
909
1169
|
def operation_service_get_operation_with_http_info(
|
|
910
1170
|
self,
|
|
911
|
-
|
|
1171
|
+
name_7: Annotated[str, Field(strict=True, description="Required. The name of the Operation to retrieve.")],
|
|
912
1172
|
_request_timeout: Union[
|
|
913
1173
|
None,
|
|
914
1174
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -925,8 +1185,8 @@ class OperationServiceApi:
|
|
|
925
1185
|
"""operation_service_get_operation
|
|
926
1186
|
|
|
927
1187
|
|
|
928
|
-
:param
|
|
929
|
-
:type
|
|
1188
|
+
:param name_7: Required. The name of the Operation to retrieve. (required)
|
|
1189
|
+
:type name_7: str
|
|
930
1190
|
:param _request_timeout: timeout setting for this request. If one
|
|
931
1191
|
number provided, it will be total request
|
|
932
1192
|
timeout. It can also be a pair (tuple) of
|
|
@@ -950,7 +1210,7 @@ class OperationServiceApi:
|
|
|
950
1210
|
""" # noqa: E501
|
|
951
1211
|
|
|
952
1212
|
_param = self._operation_service_get_operation_serialize(
|
|
953
|
-
|
|
1213
|
+
name_7=name_7,
|
|
954
1214
|
_request_auth=_request_auth,
|
|
955
1215
|
_content_type=_content_type,
|
|
956
1216
|
_headers=_headers,
|
|
@@ -974,7 +1234,7 @@ class OperationServiceApi:
|
|
|
974
1234
|
@validate_call
|
|
975
1235
|
def operation_service_get_operation_without_preload_content(
|
|
976
1236
|
self,
|
|
977
|
-
|
|
1237
|
+
name_7: Annotated[str, Field(strict=True, description="Required. The name of the Operation to retrieve.")],
|
|
978
1238
|
_request_timeout: Union[
|
|
979
1239
|
None,
|
|
980
1240
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -991,8 +1251,8 @@ class OperationServiceApi:
|
|
|
991
1251
|
"""operation_service_get_operation
|
|
992
1252
|
|
|
993
1253
|
|
|
994
|
-
:param
|
|
995
|
-
:type
|
|
1254
|
+
:param name_7: Required. The name of the Operation to retrieve. (required)
|
|
1255
|
+
:type name_7: str
|
|
996
1256
|
:param _request_timeout: timeout setting for this request. If one
|
|
997
1257
|
number provided, it will be total request
|
|
998
1258
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1016,7 +1276,7 @@ class OperationServiceApi:
|
|
|
1016
1276
|
""" # noqa: E501
|
|
1017
1277
|
|
|
1018
1278
|
_param = self._operation_service_get_operation_serialize(
|
|
1019
|
-
|
|
1279
|
+
name_7=name_7,
|
|
1020
1280
|
_request_auth=_request_auth,
|
|
1021
1281
|
_content_type=_content_type,
|
|
1022
1282
|
_headers=_headers,
|
|
@@ -1035,7 +1295,7 @@ class OperationServiceApi:
|
|
|
1035
1295
|
|
|
1036
1296
|
def _operation_service_get_operation_serialize(
|
|
1037
1297
|
self,
|
|
1038
|
-
|
|
1298
|
+
name_7,
|
|
1039
1299
|
_request_auth,
|
|
1040
1300
|
_content_type,
|
|
1041
1301
|
_headers,
|
|
@@ -1055,8 +1315,8 @@ class OperationServiceApi:
|
|
|
1055
1315
|
_body_params: Optional[bytes] = None
|
|
1056
1316
|
|
|
1057
1317
|
# process the path parameters
|
|
1058
|
-
if
|
|
1059
|
-
_path_params['
|
|
1318
|
+
if name_7 is not None:
|
|
1319
|
+
_path_params['name_7'] = name_7
|
|
1060
1320
|
# process the query parameters
|
|
1061
1321
|
# process the header parameters
|
|
1062
1322
|
# process the form parameters
|
|
@@ -1077,7 +1337,7 @@ class OperationServiceApi:
|
|
|
1077
1337
|
|
|
1078
1338
|
return self.api_client.param_serialize(
|
|
1079
1339
|
method='GET',
|
|
1080
|
-
resource_path='/v1/{
|
|
1340
|
+
resource_path='/v1/{name_7}',
|
|
1081
1341
|
path_params=_path_params,
|
|
1082
1342
|
query_params=_query_params,
|
|
1083
1343
|
header_params=_header_params,
|
|
@@ -1096,6 +1356,7 @@ class OperationServiceApi:
|
|
|
1096
1356
|
@validate_call
|
|
1097
1357
|
def operation_service_list_operations(
|
|
1098
1358
|
self,
|
|
1359
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1099
1360
|
_request_timeout: Union[
|
|
1100
1361
|
None,
|
|
1101
1362
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1112,6 +1373,8 @@ class OperationServiceApi:
|
|
|
1112
1373
|
"""operation_service_list_operations
|
|
1113
1374
|
|
|
1114
1375
|
|
|
1376
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1377
|
+
:type page_size: int
|
|
1115
1378
|
:param _request_timeout: timeout setting for this request. If one
|
|
1116
1379
|
number provided, it will be total request
|
|
1117
1380
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1135,6 +1398,7 @@ class OperationServiceApi:
|
|
|
1135
1398
|
""" # noqa: E501
|
|
1136
1399
|
|
|
1137
1400
|
_param = self._operation_service_list_operations_serialize(
|
|
1401
|
+
page_size=page_size,
|
|
1138
1402
|
_request_auth=_request_auth,
|
|
1139
1403
|
_content_type=_content_type,
|
|
1140
1404
|
_headers=_headers,
|
|
@@ -1158,6 +1422,7 @@ class OperationServiceApi:
|
|
|
1158
1422
|
@validate_call
|
|
1159
1423
|
def operation_service_list_operations_with_http_info(
|
|
1160
1424
|
self,
|
|
1425
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1161
1426
|
_request_timeout: Union[
|
|
1162
1427
|
None,
|
|
1163
1428
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1174,6 +1439,8 @@ class OperationServiceApi:
|
|
|
1174
1439
|
"""operation_service_list_operations
|
|
1175
1440
|
|
|
1176
1441
|
|
|
1442
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1443
|
+
:type page_size: int
|
|
1177
1444
|
:param _request_timeout: timeout setting for this request. If one
|
|
1178
1445
|
number provided, it will be total request
|
|
1179
1446
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1197,6 +1464,7 @@ class OperationServiceApi:
|
|
|
1197
1464
|
""" # noqa: E501
|
|
1198
1465
|
|
|
1199
1466
|
_param = self._operation_service_list_operations_serialize(
|
|
1467
|
+
page_size=page_size,
|
|
1200
1468
|
_request_auth=_request_auth,
|
|
1201
1469
|
_content_type=_content_type,
|
|
1202
1470
|
_headers=_headers,
|
|
@@ -1220,6 +1488,7 @@ class OperationServiceApi:
|
|
|
1220
1488
|
@validate_call
|
|
1221
1489
|
def operation_service_list_operations_without_preload_content(
|
|
1222
1490
|
self,
|
|
1491
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1223
1492
|
_request_timeout: Union[
|
|
1224
1493
|
None,
|
|
1225
1494
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1236,6 +1505,8 @@ class OperationServiceApi:
|
|
|
1236
1505
|
"""operation_service_list_operations
|
|
1237
1506
|
|
|
1238
1507
|
|
|
1508
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1509
|
+
:type page_size: int
|
|
1239
1510
|
:param _request_timeout: timeout setting for this request. If one
|
|
1240
1511
|
number provided, it will be total request
|
|
1241
1512
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1259,6 +1530,7 @@ class OperationServiceApi:
|
|
|
1259
1530
|
""" # noqa: E501
|
|
1260
1531
|
|
|
1261
1532
|
_param = self._operation_service_list_operations_serialize(
|
|
1533
|
+
page_size=page_size,
|
|
1262
1534
|
_request_auth=_request_auth,
|
|
1263
1535
|
_content_type=_content_type,
|
|
1264
1536
|
_headers=_headers,
|
|
@@ -1277,6 +1549,7 @@ class OperationServiceApi:
|
|
|
1277
1549
|
|
|
1278
1550
|
def _operation_service_list_operations_serialize(
|
|
1279
1551
|
self,
|
|
1552
|
+
page_size,
|
|
1280
1553
|
_request_auth,
|
|
1281
1554
|
_content_type,
|
|
1282
1555
|
_headers,
|
|
@@ -1297,6 +1570,10 @@ class OperationServiceApi:
|
|
|
1297
1570
|
|
|
1298
1571
|
# process the path parameters
|
|
1299
1572
|
# process the query parameters
|
|
1573
|
+
if page_size is not None:
|
|
1574
|
+
|
|
1575
|
+
_query_params.append(('pageSize', page_size))
|
|
1576
|
+
|
|
1300
1577
|
# process the header parameters
|
|
1301
1578
|
# process the form parameters
|
|
1302
1579
|
# process the body parameter
|
|
@@ -1332,6 +1609,533 @@ class OperationServiceApi:
|
|
|
1332
1609
|
|
|
1333
1610
|
|
|
1334
1611
|
|
|
1612
|
+
@validate_call
|
|
1613
|
+
def operation_service_list_unseen_operations(
|
|
1614
|
+
self,
|
|
1615
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1616
|
+
view: Annotated[Optional[StrictStr], Field(description="The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.")] = None,
|
|
1617
|
+
_request_timeout: Union[
|
|
1618
|
+
None,
|
|
1619
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1620
|
+
Tuple[
|
|
1621
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1622
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1623
|
+
]
|
|
1624
|
+
] = None,
|
|
1625
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1626
|
+
_content_type: Optional[StrictStr] = None,
|
|
1627
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1628
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1629
|
+
) -> V1ListUnseenOperationsResponse:
|
|
1630
|
+
"""operation_service_list_unseen_operations
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1634
|
+
:type page_size: int
|
|
1635
|
+
:param view: The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.
|
|
1636
|
+
:type view: str
|
|
1637
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1638
|
+
number provided, it will be total request
|
|
1639
|
+
timeout. It can also be a pair (tuple) of
|
|
1640
|
+
(connection, read) timeouts.
|
|
1641
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1642
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1643
|
+
request; this effectively ignores the
|
|
1644
|
+
authentication in the spec for a single request.
|
|
1645
|
+
:type _request_auth: dict, optional
|
|
1646
|
+
:param _content_type: force content-type for the request.
|
|
1647
|
+
:type _content_type: str, Optional
|
|
1648
|
+
:param _headers: set to override the headers for a single
|
|
1649
|
+
request; this effectively ignores the headers
|
|
1650
|
+
in the spec for a single request.
|
|
1651
|
+
:type _headers: dict, optional
|
|
1652
|
+
:param _host_index: set to override the host_index for a single
|
|
1653
|
+
request; this effectively ignores the host_index
|
|
1654
|
+
in the spec for a single request.
|
|
1655
|
+
:type _host_index: int, optional
|
|
1656
|
+
:return: Returns the result object.
|
|
1657
|
+
""" # noqa: E501
|
|
1658
|
+
|
|
1659
|
+
_param = self._operation_service_list_unseen_operations_serialize(
|
|
1660
|
+
page_size=page_size,
|
|
1661
|
+
view=view,
|
|
1662
|
+
_request_auth=_request_auth,
|
|
1663
|
+
_content_type=_content_type,
|
|
1664
|
+
_headers=_headers,
|
|
1665
|
+
_host_index=_host_index
|
|
1666
|
+
)
|
|
1667
|
+
|
|
1668
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1669
|
+
'200': "V1ListUnseenOperationsResponse",
|
|
1670
|
+
}
|
|
1671
|
+
response_data = self.api_client.call_api(
|
|
1672
|
+
*_param,
|
|
1673
|
+
_request_timeout=_request_timeout
|
|
1674
|
+
)
|
|
1675
|
+
response_data.read()
|
|
1676
|
+
return self.api_client.response_deserialize(
|
|
1677
|
+
response_data=response_data,
|
|
1678
|
+
response_types_map=_response_types_map,
|
|
1679
|
+
).data
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
@validate_call
|
|
1683
|
+
def operation_service_list_unseen_operations_with_http_info(
|
|
1684
|
+
self,
|
|
1685
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1686
|
+
view: Annotated[Optional[StrictStr], Field(description="The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.")] = None,
|
|
1687
|
+
_request_timeout: Union[
|
|
1688
|
+
None,
|
|
1689
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1690
|
+
Tuple[
|
|
1691
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1692
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1693
|
+
]
|
|
1694
|
+
] = None,
|
|
1695
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1696
|
+
_content_type: Optional[StrictStr] = None,
|
|
1697
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1698
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1699
|
+
) -> ApiResponse[V1ListUnseenOperationsResponse]:
|
|
1700
|
+
"""operation_service_list_unseen_operations
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1704
|
+
:type page_size: int
|
|
1705
|
+
:param view: The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.
|
|
1706
|
+
:type view: str
|
|
1707
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1708
|
+
number provided, it will be total request
|
|
1709
|
+
timeout. It can also be a pair (tuple) of
|
|
1710
|
+
(connection, read) timeouts.
|
|
1711
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1712
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1713
|
+
request; this effectively ignores the
|
|
1714
|
+
authentication in the spec for a single request.
|
|
1715
|
+
:type _request_auth: dict, optional
|
|
1716
|
+
:param _content_type: force content-type for the request.
|
|
1717
|
+
:type _content_type: str, Optional
|
|
1718
|
+
:param _headers: set to override the headers for a single
|
|
1719
|
+
request; this effectively ignores the headers
|
|
1720
|
+
in the spec for a single request.
|
|
1721
|
+
:type _headers: dict, optional
|
|
1722
|
+
:param _host_index: set to override the host_index for a single
|
|
1723
|
+
request; this effectively ignores the host_index
|
|
1724
|
+
in the spec for a single request.
|
|
1725
|
+
:type _host_index: int, optional
|
|
1726
|
+
:return: Returns the result object.
|
|
1727
|
+
""" # noqa: E501
|
|
1728
|
+
|
|
1729
|
+
_param = self._operation_service_list_unseen_operations_serialize(
|
|
1730
|
+
page_size=page_size,
|
|
1731
|
+
view=view,
|
|
1732
|
+
_request_auth=_request_auth,
|
|
1733
|
+
_content_type=_content_type,
|
|
1734
|
+
_headers=_headers,
|
|
1735
|
+
_host_index=_host_index
|
|
1736
|
+
)
|
|
1737
|
+
|
|
1738
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1739
|
+
'200': "V1ListUnseenOperationsResponse",
|
|
1740
|
+
}
|
|
1741
|
+
response_data = self.api_client.call_api(
|
|
1742
|
+
*_param,
|
|
1743
|
+
_request_timeout=_request_timeout
|
|
1744
|
+
)
|
|
1745
|
+
response_data.read()
|
|
1746
|
+
return self.api_client.response_deserialize(
|
|
1747
|
+
response_data=response_data,
|
|
1748
|
+
response_types_map=_response_types_map,
|
|
1749
|
+
)
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
@validate_call
|
|
1753
|
+
def operation_service_list_unseen_operations_without_preload_content(
|
|
1754
|
+
self,
|
|
1755
|
+
page_size: Annotated[Optional[StrictInt], Field(description="The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.")] = None,
|
|
1756
|
+
view: Annotated[Optional[StrictStr], Field(description="The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.")] = None,
|
|
1757
|
+
_request_timeout: Union[
|
|
1758
|
+
None,
|
|
1759
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1760
|
+
Tuple[
|
|
1761
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1762
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1763
|
+
]
|
|
1764
|
+
] = None,
|
|
1765
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1766
|
+
_content_type: Optional[StrictStr] = None,
|
|
1767
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1768
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1769
|
+
) -> RESTResponseType:
|
|
1770
|
+
"""operation_service_list_unseen_operations
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
:param page_size: The maximum number of Operations to return. The service may return fewer than this value, even if more are available. If unspecified, the default page size is unlimited.
|
|
1774
|
+
:type page_size: int
|
|
1775
|
+
:param view: The level of detail for each Operation in the response. Defaults to OPERATION_VIEW_FULL. - OPERATION_VIEW_UNSPECIFIED: Default / unset value. The API will default to the OPERATION_VIEW_FULL. - OPERATION_VIEW_BASIC: Include basic metadata about the Operation, but not the response. - OPERATION_VIEW_FULL: Include everything.
|
|
1776
|
+
:type view: str
|
|
1777
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1778
|
+
number provided, it will be total request
|
|
1779
|
+
timeout. It can also be a pair (tuple) of
|
|
1780
|
+
(connection, read) timeouts.
|
|
1781
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1782
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1783
|
+
request; this effectively ignores the
|
|
1784
|
+
authentication in the spec for a single request.
|
|
1785
|
+
:type _request_auth: dict, optional
|
|
1786
|
+
:param _content_type: force content-type for the request.
|
|
1787
|
+
:type _content_type: str, Optional
|
|
1788
|
+
:param _headers: set to override the headers for a single
|
|
1789
|
+
request; this effectively ignores the headers
|
|
1790
|
+
in the spec for a single request.
|
|
1791
|
+
:type _headers: dict, optional
|
|
1792
|
+
:param _host_index: set to override the host_index for a single
|
|
1793
|
+
request; this effectively ignores the host_index
|
|
1794
|
+
in the spec for a single request.
|
|
1795
|
+
:type _host_index: int, optional
|
|
1796
|
+
:return: Returns the result object.
|
|
1797
|
+
""" # noqa: E501
|
|
1798
|
+
|
|
1799
|
+
_param = self._operation_service_list_unseen_operations_serialize(
|
|
1800
|
+
page_size=page_size,
|
|
1801
|
+
view=view,
|
|
1802
|
+
_request_auth=_request_auth,
|
|
1803
|
+
_content_type=_content_type,
|
|
1804
|
+
_headers=_headers,
|
|
1805
|
+
_host_index=_host_index
|
|
1806
|
+
)
|
|
1807
|
+
|
|
1808
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1809
|
+
'200': "V1ListUnseenOperationsResponse",
|
|
1810
|
+
}
|
|
1811
|
+
response_data = self.api_client.call_api(
|
|
1812
|
+
*_param,
|
|
1813
|
+
_request_timeout=_request_timeout
|
|
1814
|
+
)
|
|
1815
|
+
return response_data.response
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
def _operation_service_list_unseen_operations_serialize(
|
|
1819
|
+
self,
|
|
1820
|
+
page_size,
|
|
1821
|
+
view,
|
|
1822
|
+
_request_auth,
|
|
1823
|
+
_content_type,
|
|
1824
|
+
_headers,
|
|
1825
|
+
_host_index,
|
|
1826
|
+
) -> RequestSerialized:
|
|
1827
|
+
|
|
1828
|
+
_host = None
|
|
1829
|
+
|
|
1830
|
+
_collection_formats: Dict[str, str] = {
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
_path_params: Dict[str, str] = {}
|
|
1834
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1835
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1836
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1837
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1838
|
+
_body_params: Optional[bytes] = None
|
|
1839
|
+
|
|
1840
|
+
# process the path parameters
|
|
1841
|
+
# process the query parameters
|
|
1842
|
+
if page_size is not None:
|
|
1843
|
+
|
|
1844
|
+
_query_params.append(('pageSize', page_size))
|
|
1845
|
+
|
|
1846
|
+
if view is not None:
|
|
1847
|
+
|
|
1848
|
+
_query_params.append(('view', view))
|
|
1849
|
+
|
|
1850
|
+
# process the header parameters
|
|
1851
|
+
# process the form parameters
|
|
1852
|
+
# process the body parameter
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
# set the HTTP header `Accept`
|
|
1856
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1857
|
+
[
|
|
1858
|
+
'application/json'
|
|
1859
|
+
]
|
|
1860
|
+
)
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
# authentication setting
|
|
1864
|
+
_auth_settings: List[str] = [
|
|
1865
|
+
]
|
|
1866
|
+
|
|
1867
|
+
return self.api_client.param_serialize(
|
|
1868
|
+
method='GET',
|
|
1869
|
+
resource_path='/v1/operations:unseen',
|
|
1870
|
+
path_params=_path_params,
|
|
1871
|
+
query_params=_query_params,
|
|
1872
|
+
header_params=_header_params,
|
|
1873
|
+
body=_body_params,
|
|
1874
|
+
post_params=_form_params,
|
|
1875
|
+
files=_files,
|
|
1876
|
+
auth_settings=_auth_settings,
|
|
1877
|
+
collection_formats=_collection_formats,
|
|
1878
|
+
_host=_host,
|
|
1879
|
+
_request_auth=_request_auth
|
|
1880
|
+
)
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
@validate_call
|
|
1886
|
+
def operation_service_mark_operation_seen_by_creator(
|
|
1887
|
+
self,
|
|
1888
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Operation to mark as seen.")],
|
|
1889
|
+
_request_timeout: Union[
|
|
1890
|
+
None,
|
|
1891
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1892
|
+
Tuple[
|
|
1893
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1894
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1895
|
+
]
|
|
1896
|
+
] = None,
|
|
1897
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1898
|
+
_content_type: Optional[StrictStr] = None,
|
|
1899
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1900
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1901
|
+
) -> V1MarkOperationSeenByCreatorResponse:
|
|
1902
|
+
"""operation_service_mark_operation_seen_by_creator
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
:param name: Required. The name of the Operation to mark as seen. (required)
|
|
1906
|
+
:type name: str
|
|
1907
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1908
|
+
number provided, it will be total request
|
|
1909
|
+
timeout. It can also be a pair (tuple) of
|
|
1910
|
+
(connection, read) timeouts.
|
|
1911
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1912
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1913
|
+
request; this effectively ignores the
|
|
1914
|
+
authentication in the spec for a single request.
|
|
1915
|
+
:type _request_auth: dict, optional
|
|
1916
|
+
:param _content_type: force content-type for the request.
|
|
1917
|
+
:type _content_type: str, Optional
|
|
1918
|
+
:param _headers: set to override the headers for a single
|
|
1919
|
+
request; this effectively ignores the headers
|
|
1920
|
+
in the spec for a single request.
|
|
1921
|
+
:type _headers: dict, optional
|
|
1922
|
+
:param _host_index: set to override the host_index for a single
|
|
1923
|
+
request; this effectively ignores the host_index
|
|
1924
|
+
in the spec for a single request.
|
|
1925
|
+
:type _host_index: int, optional
|
|
1926
|
+
:return: Returns the result object.
|
|
1927
|
+
""" # noqa: E501
|
|
1928
|
+
|
|
1929
|
+
_param = self._operation_service_mark_operation_seen_by_creator_serialize(
|
|
1930
|
+
name=name,
|
|
1931
|
+
_request_auth=_request_auth,
|
|
1932
|
+
_content_type=_content_type,
|
|
1933
|
+
_headers=_headers,
|
|
1934
|
+
_host_index=_host_index
|
|
1935
|
+
)
|
|
1936
|
+
|
|
1937
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1938
|
+
'200': "V1MarkOperationSeenByCreatorResponse",
|
|
1939
|
+
}
|
|
1940
|
+
response_data = self.api_client.call_api(
|
|
1941
|
+
*_param,
|
|
1942
|
+
_request_timeout=_request_timeout
|
|
1943
|
+
)
|
|
1944
|
+
response_data.read()
|
|
1945
|
+
return self.api_client.response_deserialize(
|
|
1946
|
+
response_data=response_data,
|
|
1947
|
+
response_types_map=_response_types_map,
|
|
1948
|
+
).data
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
@validate_call
|
|
1952
|
+
def operation_service_mark_operation_seen_by_creator_with_http_info(
|
|
1953
|
+
self,
|
|
1954
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Operation to mark as seen.")],
|
|
1955
|
+
_request_timeout: Union[
|
|
1956
|
+
None,
|
|
1957
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1958
|
+
Tuple[
|
|
1959
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1960
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1961
|
+
]
|
|
1962
|
+
] = None,
|
|
1963
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1964
|
+
_content_type: Optional[StrictStr] = None,
|
|
1965
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1966
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1967
|
+
) -> ApiResponse[V1MarkOperationSeenByCreatorResponse]:
|
|
1968
|
+
"""operation_service_mark_operation_seen_by_creator
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
:param name: Required. The name of the Operation to mark as seen. (required)
|
|
1972
|
+
:type name: str
|
|
1973
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1974
|
+
number provided, it will be total request
|
|
1975
|
+
timeout. It can also be a pair (tuple) of
|
|
1976
|
+
(connection, read) timeouts.
|
|
1977
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1978
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1979
|
+
request; this effectively ignores the
|
|
1980
|
+
authentication in the spec for a single request.
|
|
1981
|
+
:type _request_auth: dict, optional
|
|
1982
|
+
:param _content_type: force content-type for the request.
|
|
1983
|
+
:type _content_type: str, Optional
|
|
1984
|
+
:param _headers: set to override the headers for a single
|
|
1985
|
+
request; this effectively ignores the headers
|
|
1986
|
+
in the spec for a single request.
|
|
1987
|
+
:type _headers: dict, optional
|
|
1988
|
+
:param _host_index: set to override the host_index for a single
|
|
1989
|
+
request; this effectively ignores the host_index
|
|
1990
|
+
in the spec for a single request.
|
|
1991
|
+
:type _host_index: int, optional
|
|
1992
|
+
:return: Returns the result object.
|
|
1993
|
+
""" # noqa: E501
|
|
1994
|
+
|
|
1995
|
+
_param = self._operation_service_mark_operation_seen_by_creator_serialize(
|
|
1996
|
+
name=name,
|
|
1997
|
+
_request_auth=_request_auth,
|
|
1998
|
+
_content_type=_content_type,
|
|
1999
|
+
_headers=_headers,
|
|
2000
|
+
_host_index=_host_index
|
|
2001
|
+
)
|
|
2002
|
+
|
|
2003
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2004
|
+
'200': "V1MarkOperationSeenByCreatorResponse",
|
|
2005
|
+
}
|
|
2006
|
+
response_data = self.api_client.call_api(
|
|
2007
|
+
*_param,
|
|
2008
|
+
_request_timeout=_request_timeout
|
|
2009
|
+
)
|
|
2010
|
+
response_data.read()
|
|
2011
|
+
return self.api_client.response_deserialize(
|
|
2012
|
+
response_data=response_data,
|
|
2013
|
+
response_types_map=_response_types_map,
|
|
2014
|
+
)
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
@validate_call
|
|
2018
|
+
def operation_service_mark_operation_seen_by_creator_without_preload_content(
|
|
2019
|
+
self,
|
|
2020
|
+
name: Annotated[str, Field(strict=True, description="Required. The name of the Operation to mark as seen.")],
|
|
2021
|
+
_request_timeout: Union[
|
|
2022
|
+
None,
|
|
2023
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2024
|
+
Tuple[
|
|
2025
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2026
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2027
|
+
]
|
|
2028
|
+
] = None,
|
|
2029
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2030
|
+
_content_type: Optional[StrictStr] = None,
|
|
2031
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2032
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2033
|
+
) -> RESTResponseType:
|
|
2034
|
+
"""operation_service_mark_operation_seen_by_creator
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
:param name: Required. The name of the Operation to mark as seen. (required)
|
|
2038
|
+
:type name: str
|
|
2039
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2040
|
+
number provided, it will be total request
|
|
2041
|
+
timeout. It can also be a pair (tuple) of
|
|
2042
|
+
(connection, read) timeouts.
|
|
2043
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2044
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2045
|
+
request; this effectively ignores the
|
|
2046
|
+
authentication in the spec for a single request.
|
|
2047
|
+
:type _request_auth: dict, optional
|
|
2048
|
+
:param _content_type: force content-type for the request.
|
|
2049
|
+
:type _content_type: str, Optional
|
|
2050
|
+
:param _headers: set to override the headers for a single
|
|
2051
|
+
request; this effectively ignores the headers
|
|
2052
|
+
in the spec for a single request.
|
|
2053
|
+
:type _headers: dict, optional
|
|
2054
|
+
:param _host_index: set to override the host_index for a single
|
|
2055
|
+
request; this effectively ignores the host_index
|
|
2056
|
+
in the spec for a single request.
|
|
2057
|
+
:type _host_index: int, optional
|
|
2058
|
+
:return: Returns the result object.
|
|
2059
|
+
""" # noqa: E501
|
|
2060
|
+
|
|
2061
|
+
_param = self._operation_service_mark_operation_seen_by_creator_serialize(
|
|
2062
|
+
name=name,
|
|
2063
|
+
_request_auth=_request_auth,
|
|
2064
|
+
_content_type=_content_type,
|
|
2065
|
+
_headers=_headers,
|
|
2066
|
+
_host_index=_host_index
|
|
2067
|
+
)
|
|
2068
|
+
|
|
2069
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2070
|
+
'200': "V1MarkOperationSeenByCreatorResponse",
|
|
2071
|
+
}
|
|
2072
|
+
response_data = self.api_client.call_api(
|
|
2073
|
+
*_param,
|
|
2074
|
+
_request_timeout=_request_timeout
|
|
2075
|
+
)
|
|
2076
|
+
return response_data.response
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
def _operation_service_mark_operation_seen_by_creator_serialize(
|
|
2080
|
+
self,
|
|
2081
|
+
name,
|
|
2082
|
+
_request_auth,
|
|
2083
|
+
_content_type,
|
|
2084
|
+
_headers,
|
|
2085
|
+
_host_index,
|
|
2086
|
+
) -> RequestSerialized:
|
|
2087
|
+
|
|
2088
|
+
_host = None
|
|
2089
|
+
|
|
2090
|
+
_collection_formats: Dict[str, str] = {
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
_path_params: Dict[str, str] = {}
|
|
2094
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2095
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2096
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2097
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2098
|
+
_body_params: Optional[bytes] = None
|
|
2099
|
+
|
|
2100
|
+
# process the path parameters
|
|
2101
|
+
if name is not None:
|
|
2102
|
+
_path_params['name'] = name
|
|
2103
|
+
# process the query parameters
|
|
2104
|
+
# process the header parameters
|
|
2105
|
+
# process the form parameters
|
|
2106
|
+
# process the body parameter
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
# set the HTTP header `Accept`
|
|
2110
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2111
|
+
[
|
|
2112
|
+
'application/json'
|
|
2113
|
+
]
|
|
2114
|
+
)
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
# authentication setting
|
|
2118
|
+
_auth_settings: List[str] = [
|
|
2119
|
+
]
|
|
2120
|
+
|
|
2121
|
+
return self.api_client.param_serialize(
|
|
2122
|
+
method='POST',
|
|
2123
|
+
resource_path='/v1/{name}:markSeenByCreator',
|
|
2124
|
+
path_params=_path_params,
|
|
2125
|
+
query_params=_query_params,
|
|
2126
|
+
header_params=_header_params,
|
|
2127
|
+
body=_body_params,
|
|
2128
|
+
post_params=_form_params,
|
|
2129
|
+
files=_files,
|
|
2130
|
+
auth_settings=_auth_settings,
|
|
2131
|
+
collection_formats=_collection_formats,
|
|
2132
|
+
_host=_host,
|
|
2133
|
+
_request_auth=_request_auth
|
|
2134
|
+
)
|
|
2135
|
+
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
|
|
1335
2139
|
@validate_call
|
|
1336
2140
|
def operation_service_update_operation(
|
|
1337
2141
|
self,
|