s3fs icon indicating copy to clipboard operation
s3fs copied to clipboard

Why isn't Pathlib supported yet?

Open yashsandansing opened this issue 2 months ago • 1 comments

Trying to do

s3fs.open('bucket/file.ext') as fp

apparently gives a

attempt to load non key-like path

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?

yashsandansing avatar Apr 18 '24 15:04 yashsandansing