dwavesystems / dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.
https://docs.ocean.dwavesys.com/projects/cloud-client/en/stable/
Apache License 2.0
59 stars 40 forks source link

Don't depend on `click` in main library code; only in CLI code #475

Closed randomir closed 3 years ago

randomir commented 3 years ago

Lazily import click (and use it only for CLI), so that the cloud-client works in environments without click available. Obviously, CLI will not work there, but absense of click will now cause only partial degradation (CLI component only).

Fixes #473.