Pasqal-cloud

Latest version: v0.10.1

Safety actively analyzes 640296 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

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.

0.2.8

Changed

Fixed incorrect type hint of user IDs from int to str which was raising a validation exception when loading the data returned by the API.

0.2.7

Added

Now you can get the environment configuration for `endpoints` and `auth0` of the SDK class with
`PASQAL_ENDPOINTS['env']`and `AUTH0_CONFIG['env']` with env being `prod`, `preprod` or `dev`.

Changed

- Batch and Job dataclasses have been replaced by pydantic models, which gives more control to unserialize the API response data.
The SDK is now more resilient to API changes, if a new field is added to the response of the API then the job and batch object instantiation will not raise an exception, meaning this SDK version will not become obsolete as soon as the API spec is updated.

0.2.6

Changed

"Groups" have been renamed as "Projects", hence URL endpoints and attribute names have been changed accordingly.
For example the `group_id` of a batch has been renamed to `project_id`.
Note that for backwards compatibility, the `group_id` is still exposed by the APIs as a duplicate of the `project_id`.

0.2.5

Added

- Cancel methods added to batches and jobs, from the object itself and the sdk
- Get a job method from sdk added

0.2.4

Changed

- Relax python dependencies version to prevent conflicts.

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.