Skip to content

Commit

Permalink
Fix typing of id fields in payload of create opperation
Browse files Browse the repository at this point in the history
  • Loading branch information
heisner-tillman committed May 29, 2024
1 parent ccfef02 commit 69317c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/schema/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,12 +1075,12 @@ class WorkflowCreatePayload(Model):
title="Job IDs",
description="If from_history_id is set, this is an optional list of job IDs to include when extracting a workflow from history.",
)
dataset_ids: Optional[Union[str, int]] = Field(
dataset_ids: Optional[List[Union[str, int]]] = Field(
None,
title="Dataset IDs",
description="If from_history_id is set, this is an optional list of HDA 'hid's corresponding to workflow inputs when extracting a workflow from history.",
)
dataset_collection_ids: Optional[Union[str, int]] = Field(
dataset_collection_ids: Optional[List[Union[str, int]]] = Field(
None,
title="Dataset Collection IDs",
description="If from_history_id is set, this is an optional list of HDCA 'hid's corresponding to workflow inputs when extracting a workflow from history.",
Expand Down

0 comments on commit 69317c9

Please sign in to comment.