Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make params required in cancel_task #761

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

Merged
merged 3 commits into from
May 24, 2023
Merged

Make params required in cancel_task #761

merged 3 commits into from
May 24, 2023

Conversation

sanders41
Copy link
Collaborator

Pull Request

I went this direction because I figure most people are using cancel_tasks from the Client. With that I made TaskHandler match what is done in Client. If you think another direction would be better I can make changes.

Related issue

Fixes #760

What does this PR do?

  • Makes parms required in cancel_tasks for TaskHandler

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sanders41 for raising this issue and fixing it! 🚀
Indeed, for the sake of consistency, it's much better this way
LGTM!

@alallema
Copy link
Contributor

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented May 24, 2023

@meili-bors meili-bors bot merged commit 2d6e7ee into main May 24, 2023
@meili-bors meili-bors bot deleted the cancel-tasks branch May 24, 2023 10:55
@alallema alallema added the enhancement New feature or request label May 24, 2023
@alallema alallema added bug Something isn't working and removed enhancement New feature or request labels Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cancel_tasks parameters are inconsistant
2 participants