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",
|
alias="sections",
|
||||||
)
|
)
|
||||||
|
|
||||||
@pydantic.field_validator("sections_input")
|
@pydantic.field_validator("sections_input", mode="before")
|
||||||
@classmethod
|
@classmethod
|
||||||
def validate_sections(
|
def validate_sections(
|
||||||
cls,
|
cls,
|
||||||
|
|
Loading…
Reference in New Issue