-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add a method to delete the index only if it already exists #231
Comments
@curquiza pls let me know about the status of this issue if any changes? if still pending can you pls assign this issue to me |
Hi @bkaur-bkj, |
My ide is showing some issues with configuration so unassigning it for now |
Thanks for telling us. |
Hello, is this issue still open ? I'd like to help, could you assign it to me please? |
Hi @adrianrojek, |
I provide a PR: #248 |
Trying to delete an index that does not exist on the MeiliSearch server will throw an error. To delete it without any error no matter what if it exists or not, we need a new method.
delete_index_if_exists
: it deletes the index but does not throw any error if the index does not exist.Example: https://github.com/meilisearch/meilisearch-python/pull/268/files
delete_index_if_exists
might be named differently in this package. Keep the already existing way of naming in this package to stay idomatic with the language and the repository.Related to meilisearch/integration-guides#107
Sorry if this is already partially/completely implemented, feel free to let me know about the state of this issue.
The text was updated successfully, but these errors were encountered: