Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom configuration for cached connection #116

Merged
merged 2 commits into from
Jul 23, 2020
Merged

Conversation

patricksanders
Copy link
Contributor

This PR adds a config keyword argument to boto3_cached_conn() that allows end users to specify a botocore.client.Config to be passed to the boto3 client creation. This enables a workaround for boto/botocore#2109 by setting the config argument in the sts_conn() decorator:

@sts_conn('s3', config=Config(signature_version='s3v4'))

@patricksanders patricksanders requested a review from mikegrima July 23, 2020 17:17
@coveralls
Copy link

coveralls commented Jul 23, 2020

Coverage Status

Coverage increased (+0.05%) to 34.614% when pulling ee1033d on s3-sigv4 into 428d96f on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants