Skip to content

Commit

Permalink
Add ability to modity signature_version
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSuperiorStanislav committed Aug 8, 2024
1 parent 69014c0 commit 04d6578
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions saritasa_s3_tools/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def get_boto3_s3_client(
s3_endpoint_url_getter: S3EndpointUrlGetter | None = None,
region: RegionGetter | str = "",
max_pool_connections: int = 100,
signature_version: str | None = None,
) -> mypy_boto3_s3.S3Client:
"""Prepare boto3's s3 client for usage."""
endpoint_url = None
Expand All @@ -50,6 +51,7 @@ def get_boto3_s3_client(
config=botocore.config.Config(
# Increase for work in async env
max_pool_connections=max_pool_connections,
signature_version=signature_version,
),
)

Expand Down

0 comments on commit 04d6578

Please sign in to comment.