In practice this is not always defined and should be treated as

optional, I think
This commit is contained in:
Dannon Baker
2023-05-29 16:28:29 -04:00
parent 7fea2db936
commit 6de151f994
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -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,...)",
)