This PR adds the feature of cancelling a group of batches.
Filters were refactored as they are the same for getting and cancelling jobs and the same too for getting and cancelling batches. Rebatch filters stay different though.
Also it was the opportunity to spot a missing feature of cancelling jobs by job status on the cancel jobs method, it is now fixed.
Breaking changes
Now the CancelJobFilters does not exist anymore, use JobFilters instead.
Checklist
[ ] The title of the PR follows the right format: [{Label}] {Short Message}. Label examples: IMPROVEMENT, FIX, REFACTORING... Short message is about what your PR changes.
Versioning (PASQAL developers only)
[ ] Update the version of pasqal-cloud in _version.py following the changes in your PR and by using semantic versioning.
Documentation
[ ] Update CHANGELOG.md with a description explaining briefly the changes to the users.
Tests
[ ] Unit tests have been added or adjusted.
[ ] Tests were run locally.
Internal tests pipeline (PASQAL developers only)
[ ] Update and run the internal tests while targeting the branch of this PR.
If your PR hasn't changed any functionality, it still needs to be validated against internal tests.
After updating the version (PASQAL developers only)
[ ] Open a PR on the internal tests that updates the version used for the pasqal-cloud backward compatibility tests.
Description
This PR adds the feature of cancelling a group of batches.
Filters were refactored as they are the same for getting and cancelling jobs and the same too for getting and cancelling batches. Rebatch filters stay different though.
Also it was the opportunity to spot a missing feature of cancelling jobs by job status on the cancel jobs method, it is now fixed.
Breaking changes
Now the CancelJobFilters does not exist anymore, use JobFilters instead.
Checklist
Versioning (PASQAL developers only)
_version.py
following the changes in your PR and by using semantic versioning.Documentation
Tests
Internal tests pipeline (PASQAL developers only)
After updating the version (PASQAL developers only)