You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for maintaining the Python client! I ran into some issues while trying to use the delete_by operation that I think could be improved to help other developers.
Current Behavior
When trying to delete records using delete_by, I get a Pydantic validation error that's quite cryptic:
Documentation seems to mix v3 and v4 API styles which is confusing for users
It seems like you are indeed using the v4 client with the v3 syntax/code snippets. We did some docs improvements last week (mostly around the search), that allows you to get more up to date results (cf screenshot) which should bring you to this page that contains the correct v4 snippet.
The error message doesn't clearly indicate if this is a client version mismatch, API incompatibility, or incorrect usage
Totally agree that this is pretty hard to comprehend, I'll see if I can improve it
When trying to delete records using delete_by, I get a Pydantic validation error that's quite cryptic:
This is actually an error on the API client side, it should expect an updated_at field and not deleted_at, which should be fixed by algolia/api-clients-automation#4107
Description
First, thank you for maintaining the Python client! I ran into some issues while trying to use the
delete_by
operation that I think could be improved to help other developers.Current Behavior
When trying to delete records using
delete_by
, I get a Pydantic validation error that's quite cryptic:The error occurs with this simple code:
Expected Behavior
Issues
Questions
Environment
Let me know if you need any additional information.
Client
Search
Version
4.6.5
Relevant log output
The text was updated successfully, but these errors were encountered: