ports/sysutils/py-rendercv/files/patch-src_rendercv_schema_models_path.py
Jesús Daniel Colmenares Oviedo 905634748b sysutils/py-rendercv: New port: Typst-based CV/resume generator
RenderCV is a python tool for creating a CV from YAML.

Write your CV or resume as YAML, then run RenderCV, and get a PDF
with perfect typography. No template wrestling. No broken layouts.
Consistent spacing, every time.
2025-12-20 13:03:38 -04:00

20 lines
678 B
Python

--- src/rendercv/schema/models/path.py.orig 2025-12-19 21:40:25 UTC
+++ src/rendercv/schema/models/path.py
@@ -60,14 +60,14 @@ def serialize_path(path: pathlib.Path) -> str:
return str(path.relative_to(pathlib.Path.cwd()))
-type ExistingPathRelativeToInput = Annotated[
+ExistingPathRelativeToInput = Annotated[
pathlib.Path,
pydantic.AfterValidator(
lambda path, info: resolve_relative_path(path, info, must_exist=True)
),
]
-type PlannedPathRelativeToInput = Annotated[
+PlannedPathRelativeToInput = Annotated[
pathlib.Path,
pydantic.AfterValidator(
lambda path, info: resolve_relative_path(path, info, must_exist=False)