Commit c9109317 authored by John Chilton's avatar John Chilton
Browse files

Fix optional fields being validated as missing.

parent 8b926e67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */
+4 −3
Original line number Diff line number Diff line
@@ -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"
    )