Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed
fs::path
to be bound to os.PathLike|str
.
Strings are implicitly convertible to `fs::path`, but pybind11 just uses `os.PathLike` and not `os.PathLike | str` as type annotation. Python does not support implicit conversions for annotations, so this corrects the annotations to be explicit.
- Loading branch information