Dwave-cloud-client

Latest version: v0.13.2

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

Scan your dependencies

Page 3 of 14

0.10.6

Not secure
New Features

- Add basic support for Leap API access with `dwave.cloud.api.client.LeapAPIClient` and `dwave.cloud.api.resources.LeapAccount`.

- Filter out more formats of API token-like strings from logs. In addition to the Solver API tokens, we now filter generic 32-char+ hex tokens (Leap API access token format), and UUID tokens (all variants). See [\551](https://github.com/dwavesystems/dwave-cloud-client/issues/551).

Bug Fixes

- Constrain `pydantic` version, as V2 introduces major backwards incompatible changes.

0.10.5

Not secure
New Features

- Add `strict_mode` support to `VersionedAPISession`. Strict mode is now the default, implying API requests will fail if type/version is expected and the response doesn't include it.

- Add `version_strict_mode` config option to `DWaveAPIClient`. It corresponds to underlying session's (`VersionedAPISession`) `strict_mode`.

- Add `VersionedAPISession`, a `requests.Session` subclass (more precisely, further specialized `LoggingSession`) that enforces conformance of API response version with supported version range(s).

- Add `accepts` decorator for declaring accepted media type and response format version (range) on `dwave.cloud.api.Resource` methods.

- Simplify `dwave.cloud.api.resource.accepts` interface (require only `media_type` and `version`), but retain flexibility (pass all keyword arguments to `VersionedAPISession.set_accept`).

- Support `strict_mode` control of API response type validation via `accepts` interface.

Upgrade Notes

- Response type version is now always required (regardless of `strict_mode`) if type is expected and received, and version is expected.

- Enforce D-Wave API response format version on all `cloud.api` resources.

Bug Fixes

- Fix `dwave.cloud.api.resources.accepts` to allow for partial decoration of `Resource` methods. See [\544](https://github.com/dwavesystems/dwave-cloud-client/issues/544).

0.10.4

Not secure
New Features

- Add Python 3.11 support
- Add dimod 0.12.x support
- Add numpy 1.24.x support

0.10.3

Not secure
New Features

- Add support for NumPy scalars used as problem parameter values. See 512.

0.10.2

Not secure
New Features

- Added `estimate_qpu_access_time` method to `dwave.cloud.solver.StructuredSolver`
to estimate quantum processing unit (QPU) access time for a submission to the
selected solver.

0.10.1

Not secure
Bug Fixes

- Previously it was possible for mutually exclusive config options, if all specified on the same level, and depending on the order used, to not be correctly combined with options from a lower level. See [\524](https://github.com/dwavesystems/dwave-cloud-client/issues/524), now fixed.

Page 3 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.