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.
0.3.0
Added
- Added `full_result` attribute to `Job` schema for unformatted results. - Updated documentation for `full_result`
Changed
- `fetch_result` kwarg was removed from all internal functions as the results are by default included with the batch. It was marked as deprecated in public functions. - Refactored to no longer return `batch_rsp` and `jobs_rsp` as the latter is systematically included in the former. - Changed test payloads to reflect data returned by the api.