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

Updated user_guide for async client #340

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

saimedhi
Copy link
Collaborator

Description

Updated user_guide for async client

Issues Resolved

Closes #332

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.

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.

This looks good, I'll keep nitpicking until you're ready. Just hit day and let's merge this.

USER_GUIDE.md Outdated
@@ -45,6 +46,12 @@ from opensearchpy import OpenSearch

If you prefer to add the client manually or just want to examine the source code, see [opensearch-py on GitHub](https://github.com/opensearch-project/opensearch-py).

To add the async client to your project, install it using [pip](https://pip.pypa.io/) as below:
Copy link
Member

Choose a reason for hiding this comment

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

Swap this with the line above?

We don't say "as below" above, so remove it.

USER_GUIDE.md Outdated
pip install opensearch-py[async]
```
#### Pre-requisites to use `AWSV4SignerAsyncAuth`
- Setup the async client as given [here](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md#setup)
Copy link
Member

Choose a reason for hiding this comment

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

I would just say, "Requires opensearch-py[async].", keep it short. I don't think this needs a new section.

Signed-off-by: saimedhi <saimedhi@amazon.com>
@saimedhi saimedhi requested a review from dblock March 28, 2023 16:38
@saimedhi saimedhi marked this pull request as ready for review March 28, 2023 16:38
@dblock dblock merged commit df3a39f into opensearch-project:main Mar 28, 2023
44 of 45 checks passed
@saimedhi saimedhi deleted the fix/async_userguide branch April 4, 2023 17:54
@saimedhi saimedhi restored the fix/async_userguide branch April 4, 2023 17:54
@saimedhi saimedhi deleted the fix/async_userguide branch April 4, 2023 17:56
roma2023 pushed a commit to roma2023/opensearch-py that referenced this pull request May 9, 2023
Signed-off-by: saimedhi <saimedhi@amazon.com>
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com>
roma2023 pushed a commit to roma2023/opensearch-py that referenced this pull request Jul 4, 2023
Signed-off-by: saimedhi <saimedhi@amazon.com>
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com>
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] Unable to import AsyncOpenSearch from opensearch-py v2.2.0
2 participants