apple/turicreate

trailing slash prevents sarray loading from s3

Aberta

#3.109 aberto em 9 de abr. de 2020

 (0 comentário) (0 reação) (0 responsável)C++ (1.161 forks)batch import
S3good first issue

Métricas do repositório

Stars
 (11.135 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

trailing slash will make sarray loading from s3 fail.

import turicreate as tc
tc.config.set_runtime_config("TURI_FILEIO_INSECURE_SSL_CERTIFICATE_CHECKS", 1)
gui = tc.SArray([1])

works with

gui = tc.load_sarray("s3://guihao/tiny_array")

but not with

gui = tc.load_sarray("s3://guihao/tiny_array/")

Surfaced by #3106

Guia do colaborador