From 893b2f1af1bf4dc3ca000668ce35b321efcbe902 Mon Sep 17 00:00:00 2001 From: Alex Rogozhnikov Date: Fri, 11 Mar 2022 03:20:06 -0800 Subject: [PATCH] remove listing cache at the level of fs --- cellxgene_gateway/items/s3/s3item_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellxgene_gateway/items/s3/s3item_source.py b/cellxgene_gateway/items/s3/s3item_source.py index 3f88078..d307045 100644 --- a/cellxgene_gateway/items/s3/s3item_source.py +++ b/cellxgene_gateway/items/s3/s3item_source.py @@ -28,7 +28,7 @@ class S3ItemSource(ItemSource): annotation_file_suffix=".csv", ): self._name = name - self.s3 = s3fs.S3FileSystem() + self.s3 = s3fs.S3FileSystem(use_listings_cache=False) if bucket.startswith("s3://"): raise Exception( f"Bucket name should not include s3:// prefix, got {bucket}"