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 0b0fb41 commit f0e6f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sertit/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +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,
extra_args=kwargs.pop("extra_args"),
**kwargs,
)
client.set_as_default_client()

0 comments on commit f0e6f2e

Please sign in to comment.