mirror of https://github.com/eyhc1/rendercv.git
add more sections
This commit is contained in:
parent
20561eca72
commit
b4042f704e
|
@ -629,9 +629,7 @@ class Design(BaseModel):
|
||||||
|
|
||||||
LaTeXString = Annotated[str, AfterValidator(escape_latex_characters)]
|
LaTeXString = Annotated[str, AfterValidator(escape_latex_characters)]
|
||||||
PastDate = Annotated[
|
PastDate = Annotated[
|
||||||
str,
|
str, Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"), AfterValidator(parse_date_string)
|
||||||
Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"),
|
|
||||||
AfterValidator(parse_date_string),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue