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 client util escape function casting int, float to a string #1

Closed
wants to merge 1 commit into from

Conversation

firas-rabaia
Copy link
Owner

Description

client util escape function casting int, float to a string but it should keep it as the passed value since it causes exceptions to be raised like in opensearchpy.client.OpenSearch.delete_by_query when passing the field as a normal parameter for the function.

Issues Resolved

_ Closes opensearch-project#816 _

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.

client util escape function casting int, float to a string but it should keep it as the passed value since it causes exceptions to be raised like in opensearchpy.client.OpenSearch.delete_by_query when passing the field as a normal parameter for the function.

Signed-off-by: Firas rabaia <44394489+firas-rabaia@users.noreply.github.com>
@firas-rabaia firas-rabaia deleted the fix/client-util-escape-function-casting branch September 8, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] passing timeout parameter to some functions in the OpenSearch object raises an exception.
1 participant