drivendataorg/cloudpathlib

File not found error surfaces local path instead of cloud path

オープン

#118 opened on 2021/02/05

 (3 件のコメント) (3 件のリアクション) (0 人の担当者)Python (87 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (624 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド