- Added exception classes for all possible failures (mostly related to client errors). - Added try-catch to corresponding methods to raise proper error.
Changed
- Use `raise_for_status` on response from client before returning `data` to get accurate exception. - Bumped minor as new exceptions are raised.
Removed
- Removed obsolete `HTTPError` and `LoginError` classes.
0.3.5
Added
Added an `ordered_jobs` list as an attribute to the `Batch` object in which jobs are ordered by creation date.
Changed
Batch attribute `jobs` is now deprecated, use `ordered_jobs` instead.
0.3.4
Added
Workloads are now supported by the sdk with the create_workload, get_workload and cancel_workload methods.
0.3.3
Added
Reinstated the full functionality for the `fetch_results` argument as well as the corresponding test.
0.3.2
Added
Pre-commit hooks were added for the contributors of pasqal-cloud to enforce some code linting.
Notes
Pins the dependency on `pydantic` to versions before v2.0 due to conflicts with the current code.
0.3.1
Added
- Added `ResultType` enum and `result_types` config option - Added validation for result types
Notes
Currently none of the devices can choose a different result type than `counter`, hence the feature was not documented.