-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Standard libraries don't support pathlib.Path
objects
#4455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
All our libraries (and APIs) certainly should accept A related question is that should keywords also return |
pathlib.Path
objects
OperatingSystem now supports |
Somewhat related, we probably should add type conversion support for |
Parsing alraedy worked with pathlib.Path but saving didn't.
pathlib.Path
objectspathlib.Path
objects
Added |
Also Screenshot used paths and that's now fixed as well. That ought to be all. |
OperatingSystem library should support also Python Path objects. Currently OperatingSystem library keyword which uses path or file path as argument, expect the argument to be as a string. Would it be possible to enhance library keyword to support also Python Path as arguments.
This could be useful when library keywords returns a path object and that object is example used in Get File. Currently users are required to do:
But it could be handy to just do
The text was updated successfully, but these errors were encountered: