Skip to content

Commit 3629a2f

Browse files
fix formatting
1 parent a0817cd commit 3629a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/athena/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def create_athena_bucket(boto3_session: Optional[boto3.Session] = None) -> str:
377377
client_s3 = _utils.client(service_name="s3", session=boto3_session)
378378
args = {} if region_name == "us-east-1" else {"CreateBucketConfiguration": {"LocationConstraint": region_name}}
379379
try:
380-
client_s3.create_bucket(Bucket=bucket_name, **args)
380+
client_s3.create_bucket(Bucket=bucket_name, **args) # type: ignore[arg-type]
381381
except (client_s3.exceptions.BucketAlreadyExists, client_s3.exceptions.BucketAlreadyOwnedByYou) as err:
382382
_logger.debug("Bucket %s already exists.", err.response["Error"]["BucketName"])
383383
except botocore.exceptions.ClientError as err:

0 commit comments

Comments
 (0)