From 310fc85246fffd2c7994aa741beb3afb74292a86 Mon Sep 17 00:00:00 2001 From: heisner-tillman Date: Mon, 19 Feb 2024 21:32:36 +0100 Subject: [PATCH] Add payload model for get_tool_predictions operation from WorkflowAPI --- lib/galaxy/schema/workflows.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/galaxy/schema/workflows.py b/lib/galaxy/schema/workflows.py index 7980fdd19d6a..87f97012066d 100644 --- a/lib/galaxy/schema/workflows.py +++ b/lib/galaxy/schema/workflows.py @@ -70,6 +70,19 @@ class GetTargetHistoryPayload(Model): ) +class GetToolPredictionsPayload(Model): + tool_sequence: Any = Field( + ..., + title="Tool Sequence", + description="comma separated sequence of tool ids", + ) + remote_model_url: Optional[Any] = Field( + None, + title="Remote Model URL", + description="Path to the deep learning model", + ) + + class InvokeWorkflowPayload(GetTargetHistoryPayload): # TODO - Are the descriptions correct? instance: Optional[bool] = Field(