Skip to content

Commit c8b3c84

Browse files
committed
Fix empty default Optionals for tool_shed_repositories API.
It looks like it should fix #20641.
1 parent 78bb88c commit c8b3c84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/galaxy/schema/schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,12 +2755,12 @@ class InstalledRepositoryToolShedStatus(Model):
27552755
# See https://github.com/galaxyproject/galaxy/issues/10453 , bad booleans
27562756
# See https://github.com/galaxyproject/galaxy/issues/16135 , optional fields
27572757
latest_installable_revision: Optional[str] = Field(
2758-
title="Latest installed revision", description="Most recent version available on the tool shed"
2758+
None, title="Latest installed revision", description="Most recent version available on the tool shed"
27592759
)
27602760
revision_update: str
27612761
revision_upgrade: Optional[str] = None
27622762
repository_deprecated: Optional[str] = Field(
2763-
title="Repository deprecated", description="Repository has been depreciated on the tool shed"
2763+
None, title="Repository deprecated", description="Repository has been depreciated on the tool shed"
27642764
)
27652765

27662766

@@ -2792,7 +2792,7 @@ class InstalledToolShedRepository(Model, WithModelClass):
27922792
title="Changeset revision", description="Changeset revision of the repository - a mercurial commit hash"
27932793
)
27942794
tool_shed_status: Optional[InstalledRepositoryToolShedStatus] = Field(
2795-
title="Latest updated status from the tool shed"
2795+
None, title="Latest updated status from the tool shed"
27962796
)
27972797

27982798

0 commit comments

Comments
 (0)