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
Description params in cancel_tasks from Client are required, but in TaskHandler they are optional.
In TaskHandler if params is set to None it defaults to {} meaning the information is sent to the Meilisearch server but it won't do anything. I think either the Noneparams should default to something that makes sense ({"statuses": "enqueued, processing"} maybe?) and the parms in Client should be made options, or params in TaskHandler should also be required.
Expected behavior
Parameters should be consistant.
Current behavior
What happened.
Screenshots or Logs
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
OS: All
Meilisearch version: All
meilisearch-python version: v0.26.0
The text was updated successfully, but these errors were encountered:
Description
params
incancel_tasks
fromClient
are required, but inTaskHandler
they are optional.In
TaskHandler
ifparams
is set toNone
it defaults to{}
meaning the information is sent to the Meilisearch server but it won't do anything. I think either theNone
params
should default to something that makes sense ({"statuses": "enqueued, processing"}
maybe?) and theparms
inClient
should be made options, orparams
inTaskHandler
should also be required.Expected behavior
Parameters should be consistant.
Current behavior
What happened.
Screenshots or Logs
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: