drivendataorg/cloudpathlib

File not found error surfaces local path instead of cloud path

Aberta

#118 aberto em 5 de fev. de 2021

 (3 comentários) (3 reações) (0 responsável)Python (87 forks)auto 404
buggood first issue

Métricas do repositório

Stars
 (624 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador