mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix optional fields being validated as missing.
Fixes https://github.com/galaxyproject/galaxy/issues/16135
This commit is contained in:
@@ -4539,12 +4539,12 @@ export interface components {
|
||||
* Latest installed revision
|
||||
* @description Most recent version available on the tool shed
|
||||
*/
|
||||
latest_installable_revision: string;
|
||||
latest_installable_revision?: string;
|
||||
/**
|
||||
* Repository deprecated
|
||||
* @description Repository has been depreciated on the tool shed
|
||||
*/
|
||||
repository_deprecated: string;
|
||||
repository_deprecated?: string;
|
||||
/** Revision Update */
|
||||
revision_update: string;
|
||||
/** Revision Upgrade */
|
||||
|
||||
@@ -2306,13 +2306,14 @@ class ToolShedRepositoryChangeset(ToolShedRepository):
|
||||
|
||||
|
||||
class InstalledRepositoryToolShedStatus(Model):
|
||||
# See https://github.com/galaxyproject/galaxy/issues/10453
|
||||
latest_installable_revision: str = Field(
|
||||
# See https://github.com/galaxyproject/galaxy/issues/10453 , bad booleans
|
||||
# See https://github.com/galaxyproject/galaxy/issues/16135 , optional fields
|
||||
latest_installable_revision: Optional[str] = Field(
|
||||
title="Latest installed revision", description="Most recent version available on the tool shed"
|
||||
)
|
||||
revision_update: str
|
||||
revision_upgrade: Optional[str]
|
||||
repository_deprecated: str = Field(
|
||||
repository_deprecated: Optional[str] = Field(
|
||||
title="Repository deprecated", description="Repository has been depreciated on the tool shed"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user