Closed lappemic closed 59 minutes ago
Hey, thanks for opening the issue :)
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 https://github.com/algolia/api-clients-automation/pull/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