Support Callable as http_auth type in AIOHttpConnection#892
Support Callable as http_auth type in AIOHttpConnection#892superleesa wants to merge 1 commit intoopensearch-project:mainfrom
http_auth type in AIOHttpConnection#892Conversation
AIOHttpConnectionAIOHttpConnection
AIOHttpConnectionhttp_auth type in AIOHttpConnection
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #892 +/- ##
==========================================
- Coverage 71.95% 70.38% -1.57%
==========================================
Files 91 125 +34
Lines 8001 9294 +1293
==========================================
+ Hits 5757 6542 +785
- Misses 2244 2752 +508 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I like this, needs tests and a CHANGELOG. |
Signed-off-by: Satoshi Kashima <6world4trigger@gmail.com>
79de2f9 to
f06d442
Compare
|
@dblock Another thing is, the code for |
|
@superleesa The reasons are likely completely historical, feel free to do the right thing (TM) and fix this. |
|
@superleesa , thank you for the contributions. please consider adding tests and completing the PR. Or refactor the code if needed. |
Description
Support Callable
http_authinAIOHttpConnection, similar to howUrllib3HttpConnectionhandleshttp_auth.Reference
Urllib3HttpConnectionhandles Callablehttp_auth.opensearch-py/opensearchpy/connection/http_urllib3.py
Lines 141 to 149 in 7336f51
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.