-
Notifications
You must be signed in to change notification settings - Fork 175
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
[Doc] Improve opensearch.client documentation #718
Comments
+1 on the 'error handling' it seems that HTTP responses (eg This behavior should be clearly explained in the user guide https://opensearch-project.github.io/opensearch-py/api-ref/exceptions.html |
We could use a detailed error handling guide in https://github.com/opensearch-project/opensearch-py/tree/main/guides. Ultimately we want all API docs to be generated from https://github.com/opensearch-project/opensearch-api-specification, and all client-language-specific things to be in the GitHub repo. The API-ref that's auto-published to https://opensearch-project.github.io/opensearch-py/ could have the guides published in a nicer format, too. Your help is much appreciated! |
its actually worse because there's no semantic error checking, eg
so i have to write a helper that converts exceptions to semantic errors:
|
You're saying that |
yep, there are probably also other errors that I haven't encountered yet that could probably benefit from specialization |
Related to #380
Opensearch client methods
create
,index
,delete
could benefit from:I can contribute to this issue
The text was updated successfully, but these errors were encountered: