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

Override put_mapping definition to make index name optional. #553

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

dblock
Copy link
Member

@dblock dblock commented Oct 26, 2023

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.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #553 (bc6eaec) into main (fe4b6d7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #553   +/-   ##
=======================================
  Coverage   71.09%   71.09%           
=======================================
  Files          85       85           
  Lines        7774     7774           
=======================================
  Hits         5527     5527           
  Misses       2247     2247           
Files Coverage Δ
opensearchpy/_async/client/remote_store.py 57.14% <ø> (ø)
opensearchpy/client/remote_store.py 85.71% <ø> (ø)

@dblock dblock force-pushed the patch-api-spec branch 2 times, most recently from 00159b7 to a01e0db Compare October 26, 2023 15:15
"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.",
Copy link
Collaborator

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look.

@dblock dblock added the skip-changelog Skips changelog verifier label Oct 26, 2023
@dblock
Copy link
Member Author

dblock commented Oct 26, 2023

@saimedhi please don't hesitate to hit merge if you approve of a PR and it passes (at least from me!)

@dblock dblock merged commit ebd50e0 into opensearch-project:main Oct 26, 2023
55 of 56 checks passed
@dblock dblock deleted the patch-api-spec branch October 26, 2023 15:31
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