mirror of
https://github.com/p2p-ld/numpydantic.git
synced 2024-11-14 02:34:28 +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 = Path(relative_to).resolve()
|
||||
|
||||
|
||||
def _r_path(v: Any) -> Any:
|
||||
if not isinstance(v, (str, Path)):
|
||||
return v
|
||||
|
|
Loading…
Reference in a new issue