apple/turicreate

trailing slash prevents sarray loading from s3

Open

#3,109 建立於 2020年4月9日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C++ (11,135 star) (1,161 fork)batch import
S3good first issue

描述

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

貢獻者指南