Open danielgafni opened 1 week ago
Hi @danielgafni
Thank you for reporting! Could you check 3 things:
Cheers, Andreas 😊
Hey!
I can answer to (1) and (3) right away:
fsspec
version was 2024.3.1
Regarding (2), I will be able to check a bit later
Checked it, seems to be an issue with fsspec
. It has this problem too.
I wouldn't call it a problem. There's something stored under that key in the bucket. We should just define / document behavior of upath in cases like these.
No object with this key exists in the bucket. Also, it happens with any "directory" (common path prefix) in the bucket, not just a specific one.
Also, aws s3 ls
doesn't contain the problematic key
Could you create a PR with a test case in the upath S3 tests that reproduces the issue? That would be super helpful for finding a solution
Given the following objects on S3:
UPath("s3://my-bucket/my-directory").iterdir() yields:
The first item is wrong, right?