diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index 8f1f59a6641..3dd1c145d7f 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -4564,7 +4564,7 @@ export interface components { * Changeset revision number * @description The linearized 0-based index of the changeset on the tool shed (0, 1, 2,...) */ - ctx_rev: string; + ctx_rev?: string; /** Deleted */ deleted: boolean; /** Dist To Shed */ diff --git a/lib/galaxy/schema/schema.py b/lib/galaxy/schema/schema.py index 92ee2a5125e..2d5ca780257 100644 --- a/lib/galaxy/schema/schema.py +++ b/lib/galaxy/schema/schema.py @@ -2329,7 +2329,7 @@ class InstalledToolShedRepository(Model): owner: str = Field(title="Owner", description="Owner of repository") deleted: bool # This should be an int... but it would break backward compatiblity. Probably switch it at some point anyway? - ctx_rev: str = Field( + ctx_rev: Optional[str] = Field( title="Changeset revision number", description="The linearized 0-based index of the changeset on the tool shed (0, 1, 2,...)", )