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

use session to build client - to be threadsafe #195

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

nandubatchu
Copy link
Contributor

@nandubatchu nandubatchu commented Jul 6, 2023

resolves #

KeyError: 'credential_provider'

Description

Building boto3 client with DEFAULT session is breaking when using threads - Reference used

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-glue next" section.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nandubatchu
Copy link
Contributor Author

@menuetb pls do validate the changes! I was able to open upto 20 sessions in parallel without any issue!

@menuetb menuetb merged commit 548dd71 into aws-samples:main Jul 17, 2023
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.

2 participants