Skip to content

Commit

Permalink
Fix visualization api type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Nov 16, 2023
1 parent 3585aeb commit 07c1bcd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/galaxy/schema/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
)
from typing_extensions import Literal

from galaxy.schema.fields import EncodedDatabaseIdField
from galaxy.schema.fields import (
DecodedDatabaseIdField,
EncodedDatabaseIdField,
)
from galaxy.schema.schema import (
CreateTimeField,
Model,
Expand All @@ -26,7 +29,7 @@ class VisualizationIndexQueryPayload(Model):
show_own: Optional[bool] = None
show_published: Optional[bool] = None
show_shared: Optional[bool] = None
user_id: Optional[EncodedDatabaseIdField] = None
user_id: Optional[DecodedDatabaseIdField] = None
sort_by: VisualizationSortByEnum = Field(
"update_time", title="Sort By", description="Sort pages by this attribute."
)
Expand Down

0 comments on commit 07c1bcd

Please sign in to comment.