We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0817cd commit 3629a2fCopy full SHA for 3629a2f
awswrangler/athena/_utils.py
@@ -377,7 +377,7 @@ def create_athena_bucket(boto3_session: Optional[boto3.Session] = None) -> str:
377
client_s3 = _utils.client(service_name="s3", session=boto3_session)
378
args = {} if region_name == "us-east-1" else {"CreateBucketConfiguration": {"LocationConstraint": region_name}}
379
try:
380
- client_s3.create_bucket(Bucket=bucket_name, **args)
+ client_s3.create_bucket(Bucket=bucket_name, **args) # type: ignore[arg-type]
381
except (client_s3.exceptions.BucketAlreadyExists, client_s3.exceptions.BucketAlreadyOwnedByYou) as err:
382
_logger.debug("Bucket %s already exists.", err.response["Error"]["BucketName"])
383
except botocore.exceptions.ClientError as err:
0 commit comments