allow data models without name

This commit is contained in:
Sina Atalay committed 2024-02-20 20:11:03 +01:00
1 parent ddaad438af
commit 19a2dbb6a5
1 file changed
+2 -1
+2 -1
View File
@@ -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.",
)