-
Notifications
You must be signed in to change notification settings - Fork 176
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
Adding async support for AWSSigV4 #254
Adding async support for AWSSigV4 #254
Conversation
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some nits/asks.
Consider expanding tests. For example asyncsigner.py
should have its own test_asyncsigner.py
for all kind of really basic functions to avoid regressions and have a test set to build on top of in the future.
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
8fed221
to
0ec369f
Compare
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
1301319
to
4047445
Compare
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
@dblock this PR is ready for review now. I created a new test class for the async signer. We can add more tests to that namespace in the future. Tested this locally with an async client and it works as expected. |
I like it. If you have time, you could make an async version of https://github.com/dblock/opensearch-python-client-demo (Pipfile lets you use a relative path with |
Did this make it into 2.0.1? I think it didn't, so our CHANGELOG was incorrectly modified. I opened #273. |
Signed-off-by: Harsha Vamsi Kalluri harshavamsi096@gmail.com
Description
Adds support for Async Sigv4 to authenticate with AWS IAM.
Issues Resolved
Closes #131
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.