mirror of https://github.com/eyhc1/rendercv.git
validate sections before
This commit is contained in:
parent
303da319ec
commit
e83107fa6e
|
@ -748,7 +748,7 @@ class CurriculumVitae(RenderCVBaseModel):
|
|||
alias="sections",
|
||||
)
|
||||
|
||||
@pydantic.field_validator("sections_input")
|
||||
@pydantic.field_validator("sections_input", mode="before")
|
||||
@classmethod
|
||||
def validate_sections(
|
||||
cls,
|
||||
|
|
Loading…
Reference in New Issue