mirror of https://github.com/eyhc1/rendercv.git
allow data models without name
This commit is contained in:
parent
ddaad438af
commit
19a2dbb6a5
|
@ -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.",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue