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
The Indices API behind the package seems to be returning 3 less fields and the pydantic validator doesn't account for it.
Here are the field names: lastBuildTimeS, numberOfPendingTasks, pendingTask
Code:
client.list_indices()
Client
Seearch
Version
4.48.0
Relevant log output
pydantic_core._pydantic_core.ValidationError: 3 validation errors for FetchedIndex
lastBuildTimeS
Field required [type=missing, input_value={'name': 'products_fr_fr'...ucts_created_at_desc)']}, input_type=dict] For further information visit https://errors.pydantic.dev/2.12/v/missing numberOfPendingTasks Field required [type=missing, input_value={'name': 'products_fr_fr'...ucts_created_at_desc)']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.12/v/missing
pendingTask
Field required [type=missing, input_value={'name': 'products_fr_fr'...ucts_created_at_desc)']}, input_type=dict] For further information visit https://errors.pydantic.dev/2.12/v/missing
Activity