Closed ljeub-pometry closed 1 month ago
Replace &str and String by PathBuf for python path input
&str
String
PathBuf
This allows passing in pathlib.Path as well as strings on the python side for the path and avoids unnecessary errors.
pathlib.Path
Less nonsense exceptions in python :)
The tests
What changes were proposed in this pull request?
Replace
&str
andString
byPathBuf
for python path inputWhy are the changes needed?
This allows passing in
pathlib.Path
as well as strings on the python side for the path and avoids unnecessary errors.Does this PR introduce any user-facing change? If yes is this documented?
Less nonsense exceptions in python :)
How was this patch tested?
The tests
Are there any further changes required?
PathBuf
for path input in the future.