Make Python API support `os.PathLike[str]` object beside `str` path
Open
usability
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
Currently, for Python API in `cadquery` if there is a file path in function argument, it has to be `str` object.
However, according to the Python official, it is recommended to use `os.PathLike[str]` object like `pathlib.Path` .
It would be nice to add `os.PathLike[str]` support in the API under `cadquery` module.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.