mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-06 17:48:12 +08:00
remove listing cache at the level of fs
This commit is contained in:
@@ -28,7 +28,7 @@ class S3ItemSource(ItemSource):
|
|||||||
annotation_file_suffix=".csv",
|
annotation_file_suffix=".csv",
|
||||||
):
|
):
|
||||||
self._name = name
|
self._name = name
|
||||||
self.s3 = s3fs.S3FileSystem()
|
self.s3 = s3fs.S3FileSystem(use_listings_cache=False)
|
||||||
if bucket.startswith("s3://"):
|
if bucket.startswith("s3://"):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
f"Bucket name should not include s3:// prefix, got {bucket}"
|
f"Bucket name should not include s3:// prefix, got {bucket}"
|
||||||
|
|||||||
Reference in New Issue
Block a user