Skip to content

Commit

Permalink
Fix typing of field upgrade_messages in one of the return models of t…
Browse files Browse the repository at this point in the history
…he workflow_dict operation
  • Loading branch information
heisner-tillman committed May 29, 2024
1 parent 69317c9 commit 7b0fe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/schema/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ class WorkflowDictPreviewSummary(WorkflowDictExtendedBaseModel):


class WorkflowDictEditorSummary(WorkflowDictExtendedBaseModel):
upgrade_messages: Dict[int, str] = Field(
upgrade_messages: Dict[int, Union[str, Dict[str, str]]] = Field(
...,
title="Upgrade Messages",
description="Upgrade messages for each step in the workflow.",
Expand Down

0 comments on commit 7b0fe78

Please sign in to comment.