-
Notifications
You must be signed in to change notification settings - Fork 73
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
download
returns Path
objects rather than strings when in_region
#595
Comments
Nice catch! Why isn't our type checker catching this though? earthaccess/earthaccess/api.py Line 177 in 9f43047
I love pathlib though, should we update |
If you want to be fancy, you could return the same type given to you in the |
I like the idea of returning a list of Path objects. I think this would avoid cross platform issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The download docs say that the return value shall be a list of strings. When running
in_region
however, the result is a list ofpathlib.PosixPath
objects.The last assert raises an exception.
The text was updated successfully, but these errors were encountered: