You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error, which apparently happened because the library was passing a Path instead of a string
Most libraries now use Path objects instead of str and finding out such an error is like finding a needle in a haystack.
Why not implement Path supported operations in s3fs itself instead of expecting everyone using it to add additional functionalities to change it to str?
The text was updated successfully, but these errors were encountered:
As the documentation for Path makes clear, it is intended to be used with local paths only. If you apply them to remote storage, you often have to worry about the specifics of windows versus posix, making like complicated (fsspec/filesystem_spec#1574 with exactly this problem). May I suggest you use universal_pathlib ( https://github.com/fsspec/universal_pathlib ) if you really require Path-like functionality.
which apparently happened because the library was passing a Path instead of a string
Trying to do
apparently gives a
error, which apparently happened because the library was passing a
Path
instead of astring
Most libraries now use
Path
objects instead ofstr
and finding out such an error is like finding a needle in a haystack.Why not implement Path supported operations in s3fs itself instead of expecting everyone using it to add additional functionalities to change it to
str
?The text was updated successfully, but these errors were encountered: