drivendataorg/cloudpathlib

File not found error surfaces local path instead of cloud path

Aperta

#118 aperta il 5 feb 2021

 (3 commenti) (3 reazioni) (0 assegnatari)Python (87 fork)auto 404
buggood first issue

Metriche repository

Star
 (624 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I was loading a file from s3 and mistyped the file location. The error I got showed me the local tmp path, which was misleading. I think this should be the standard error you get when you try to do a cloud operation on a file that doesn't exist (something like "head object does not exist") or at least something that includes the cloud path instead of the local path.

DATA_DIR here is an S3Path.

Guida contributor