Skip to content

Commit

Permalink
Add payload model for get_tool_predictions operation from WorkflowAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
heisner-tillman committed Feb 20, 2024
1 parent 31cccca commit 310fc85
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/galaxy/schema/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 310fc85

Please sign in to comment.