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

Fix: don't hardcode client class name. #555

Merged

Conversation

dblock
Copy link
Member

@dblock dblock commented Oct 26, 2023

Description

The generator copies then patches all async class names to be sync, but it doesn't know how to patch a string inside a warning message. This avoids the problem and adds a test for the correct warning message.

Issues Resolved

https://github.com/opensearch-project/opensearch-py/pull/553/files#r1373341397

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.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #555 (6984b89) into main (17794ba) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #555      +/-   ##
==========================================
+ Coverage   71.09%   71.10%   +0.01%     
==========================================
  Files          85       85              
  Lines        7774     7774              
==========================================
+ Hits         5527     5528       +1     
+ Misses       2247     2246       -1     
Files Coverage Δ
opensearchpy/_async/client/plugins.py 93.75% <ø> (ø)
opensearchpy/client/plugins.py 100.00% <ø> (+6.25%) ⬆️

@dblock dblock added skip-changelog Skips changelog verifier and removed skip-changelog Skips changelog verifier labels Oct 26, 2023
@saimedhi saimedhi merged commit 5c7fe9d into opensearch-project:main Oct 26, 2023
59 of 68 checks passed
roma2023 pushed a commit to roma2023/opensearch-py that referenced this pull request Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skips changelog verifier
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants