mirror of
https://github.com/rendercv/rendercv.git
synced 2026-03-14 12:50:48 -04: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