Show More
@@ -146,7 +146,9 b' class ObjectStoreCache(BaseCache):' | |||||
146 |
|
146 | |||
147 | log.debug('Initializing %s archival cache instance', self) |
|
147 | log.debug('Initializing %s archival cache instance', self) | |
148 |
|
148 | |||
149 | fs = fsspec.filesystem('s3', anon=False, endpoint_url=endpoint_url, key=key, secret=secret, region=region) |
|
149 | fs = fsspec.filesystem( | |
|
150 | 's3', anon=False, endpoint_url=endpoint_url, key=key, secret=secret, client_kwargs={'region_name': region} | |||
|
151 | ) | |||
150 |
|
152 | |||
151 | # init main bucket |
|
153 | # init main bucket | |
152 | if not fs.exists(self._bucket): |
|
154 | if not fs.exists(self._bucket): |
General Comments 0
You need to be logged in to leave comments.
Login now