mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2025-01-09 21:44:27 +00:00
windows can't do <U as a path even hypothetically
This commit is contained in:
parent
d9f785efdd
commit
e87f24f9c3
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def _relativize_paths(
|
||||||
``relative_to`` directory, if provided in the context
|
``relative_to`` directory, if provided in the context
|
||||||
"""
|
"""
|
||||||
relative_to = Path(relative_to).resolve()
|
relative_to = Path(relative_to).resolve()
|
||||||
|
|
||||||
def _r_path(v: Any) -> Any:
|
def _r_path(v: Any) -> Any:
|
||||||
if not isinstance(v, (str, Path)):
|
if not isinstance(v, (str, Path)):
|
||||||
return v
|
return v
|
||||||
|
|
Loading…
Reference in a new issue