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

Added timeout to available input query parameters #210

Merged
merged 2 commits into from
Oct 25, 2022

Conversation

harshavamsi
Copy link
Collaborator

Signed-off-by: Harsha Vamsi Kalluri [email protected]

Description

Fixes the timeout query parameter to allow for not just request_timeout but also timeout like the examples say.

Issues Resolved

Fixes #209

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.

@dblock
Copy link
Member

dblock commented Sep 30, 2022

Needs a unit test, please?

@harshavamsi
Copy link
Collaborator Author

@dblock added.

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Why 84 and not 42?! :)

@dblock dblock requested a review from VachaShah October 3, 2022 18:46
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

One more thing, it needs to be documented in user guide/README.

I realize we don't have this here, or at least it doesn't look like other clients that have a USERS_GUIDE? @VachaShah what are we to do for this one?

@VachaShah
Copy link
Collaborator

USER_GUIDE is the GETTING_STARTED guide. @harshavamsi If you are making the change to this guide in your PR, can you also rename it to USER_GUIDE?

@harshavamsi harshavamsi merged commit 8879644 into opensearch-project:main Oct 25, 2022
@harshavamsi harshavamsi deleted the fix/timeout_name branch October 25, 2022 17:41
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] _resolve_request_args looking for "request_timeout" instead of "timeout"
4 participants