-
Notifications
You must be signed in to change notification settings - Fork 181
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
Override put_mapping definition to make index name optional. #553
Conversation
Codecov Report
@@ Coverage Diff @@
## main #553 +/- ##
=======================================
Coverage 71.09% 71.09%
=======================================
Files 85 85
Lines 7774 7774
=======================================
Hits 5527 5527
Misses 2247 2247
|
00159b7
to
a01e0db
Compare
opensearchpy/client/plugins.py
Outdated
"Cannot load `{plugin}` directly to OpenSearch. `{plugin}` already exists in OpenSearch. Please use `OpenSearch.plugin.{plugin}` instead.".format( | ||
plugin=plugin | ||
), | ||
f"Cannot load `{plugin}` directly to AsyncOpenSearch. `{plugin}` already exists in AsyncOpenSearch. Please use `AsyncOpenSearch.plugin.{plugin}` instead.", |
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.
The generator has replacing AsyncOpenSearch with OpenSearch code, but it's not happening, and I'm not sure why. https://github.com/saimedhi/opensearch-py/blob/main/utils/generate-api.py#L655
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'll look.
a01e0db
to
89f4ac9
Compare
Signed-off-by: dblock <[email protected]>
89f4ac9
to
bc6eaec
Compare
@saimedhi please don't hesitate to hit merge if you approve of a PR and it passes (at least from me!) |
…rch-project#553) Signed-off-by: dblock <[email protected]> Signed-off-by: roma2023 <[email protected]>
Description
This is an alternative to patching in code.
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.