drivendataorg/cloudpathlib

File not found error surfaces local path instead of cloud path

Ouverte

#118 ouverte le 5 févr. 2021

 (3 commentaires) (3 réactions) (0 personne assignée)Python (87 forks)auto 404
buggood first issue

Métriques du dépôt

Stars
 (624 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur