Skip to content

Commit

Permalink
Fix extra_args in define_s3_client
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Nov 10, 2023
1 parent f0e6f2e commit 71507ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sertit/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def define_s3_client(default_endpoint=None, **kwargs):
endpoint_url=f"https://{os.getenv(AWS_S3_ENDPOINT, default_endpoint)}",
aws_access_key_id=os.getenv(AWS_ACCESS_KEY_ID),
aws_secret_access_key=os.getenv(AWS_SECRET_ACCESS_KEY),
extra_args=kwargs.pop("extra_args"),
extra_args=kwargs.pop("extra_args", None),
**kwargs,
)
client.set_as_default_client()

0 comments on commit 71507ee

Please sign in to comment.