mirror of
https://github.com/rendercv/rendercv.git
synced 2026-01-21 03:38:26 -05:00
validate sections before
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user