mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-24 05:08:46 -04:00
allow data models without name
This commit is contained in:
1 parent
ddaad438af
commit
19a2dbb6a5
1 file changed
+2
-1
@@ -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.",
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user