From 437d33b5bb658fee340eff2a8a021d0272229fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20K=C3=BCrten?= Date: Fri, 12 Jul 2024 13:13:49 +0200 Subject: [PATCH] cdb_obsolete can be None --- csfunctions/objects/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csfunctions/objects/document.py b/csfunctions/objects/document.py index 35b5e7c..4029072 100644 --- a/csfunctions/objects/document.py +++ b/csfunctions/objects/document.py @@ -31,7 +31,7 @@ class Document(BaseObject): category2_name_de: str | None = Field(..., description="Category") z_categ1: str | None = Field(..., description="Main Category") z_categ2: str | None = Field(..., description="Category") - cdb_obsolete: int = Field(..., description="Obsolete") + cdb_obsolete: int | None = Field(..., description="Obsolete") z_status: int = Field(..., description="Status Number") z_status_txt: str = Field(..., description="Status Text") autoren: str | None = Field(..., description="Authors, comma separated")