blob: 74b7cab315b658a126f186f8a5142cd79e34a115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- 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)
|