From 19a2dbb6a59abea15642c654054f58a5a321b93d Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 20 Feb 2024 20:11:03 +0100 Subject: [PATCH] allow data models without name --- rendercv/data_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rendercv/data_models.py b/rendercv/data_models.py index 38946da..0f1f77d 100644 --- a/rendercv/data_models.py +++ b/rendercv/data_models.py @@ -855,7 +855,8 @@ class SocialNetwork(RenderCVBaseModel): class CurriculumVitae(RenderCVBaseModel): """This class is the data model of the CV.""" - name: str = pydantic.Field( + name: Optional[str] = pydantic.Field( + default=None, title="Name", description="The name of the person.", )