Force reload folder on every request

This commit is contained in:
Alex Rogozhnikov
2022-03-11 02:43:29 -08:00
committed by GitHub
parent 87a8dbfa78
commit 757487b772

View File

@@ -75,7 +75,7 @@ class S3ItemSource(ItemSource):
s3key_map = dict(
(self.remove_bucket(filepath), "s3://" + filepath)
for filepath in sorted(self.s3.ls(url))
for filepath in sorted(self.s3.ls(url, refresh=True))
)
def is_annotation_dir(dir_s3key):