From b9c51d8cc6c96ac1ff0a6c518134eef731acf10f Mon Sep 17 00:00:00 2001 From: Jos van der Velde Date: Tue, 28 Nov 2023 20:05:07 +0100 Subject: [PATCH] DCAT-AP: description can be none. This resulted in an exception (#209) --- src/converters/schema/dcat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converters/schema/dcat.py b/src/converters/schema/dcat.py index 92a92247..8e495f43 100644 --- a/src/converters/schema/dcat.py +++ b/src/converters/schema/dcat.py @@ -90,7 +90,7 @@ class DcatAPDistribution(DcatAPObject): class DcatAPDataset(DcatAPObject): type_: str = Field(default="dcat:Dataset", alias="@type", const=True) - description: str = Field( + description: str | None = Field( alias="dct:description", description="This property contains a free-text account of the Dataset", )