Skip to content

Commit

Permalink
Merge pull request #17638 from mvdbeek/fix_stored_workflow_serialization
Browse files Browse the repository at this point in the history
[24.0] Make WorkflowInput label, value and uuid optional
  • Loading branch information
mvdbeek authored Mar 8, 2024
2 parents b43ec47 + 61545f2 commit 8c22a09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12107,18 +12107,17 @@ export interface components {
* Label
* @description Label of the input.
*/
label: string;
label: string | null;
/**
* UUID
* Format: uuid4
* @description Universal unique identifier of the input.
*/
uuid: string;
uuid: string | null;
/**
* Value
* @description TODO
*/
value: string;
value: Record<string, never> | null;
};
/** WorkflowInvocationCollectionView */
WorkflowInvocationCollectionView: {
Expand Down
6 changes: 3 additions & 3 deletions lib/galaxy/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2154,17 +2154,17 @@ class StoredWorkflowSummary(Model, WithModelClass):


class WorkflowInput(Model):
label: str = Field(
label: Optional[str] = Field(
...,
title="Label",
description="Label of the input.",
)
value: str = Field(
value: Optional[Any] = Field(
...,
title="Value",
description="TODO",
)
uuid: UUID4 = Field(
uuid: Optional[UUID4] = Field(
...,
title="UUID",
description="Universal unique identifier of the input.",
Expand Down

0 comments on commit 8c22a09

Please sign in to comment.