We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ecfe4 commit 49cc750Copy full SHA for 49cc750
1 file changed
fs_s3fs/_s3fs.py
@@ -346,6 +346,7 @@ def s3(self):
346
if not hasattr(self._tlocal, 's3'):
347
self._tlocal.s3 = boto3.resource(
348
's3',
349
+ region_name=self.region,
350
aws_access_key_id=self.aws_access_key_id,
351
aws_secret_access_key=self.aws_secret_access_key,
352
aws_session_token=self.aws_session_token,
@@ -358,6 +359,7 @@ def client(self):
358
359
if not hasattr(self._tlocal, 'client'):
360
self._tlocal.client = boto3.client(
361
362
363
364
365
0 commit comments