Radomir Stevanovic
Radomir Stevanovic
Currently in [`JSONDisk`](https://github.com/grantjenks/python-diskcache/blob/4d3068625a3edcd2f5a1f6f104ef621f1f7ea395/diskcache/core.py#L334), `json.loads` and `json.dumps` are used for keys/values (de-)serialization (with the stdlib `json` module). Both the `json` module and arguments to load/dump are hard-coded, making it hard to...
Fix #1325. With `notebook~=7.0` ServerApp is responsible for launching browser, not NotebookApp anymore. In `notebook~=6.0`, `launch_browser` will [append notebook path](https://github.com/jupyter/notebook/blob/e946154112daa5ef997d7f549953cce91b336d3d/notebook/notebookapp.py#L2171) for opening in browser even when `use_redirect_file` is set to...
## Description With `notebook~=6.0`, this: ``` jupyter notebook --NotebookApp.use_redirect_file=false /path/to/notebook ``` opens the specified notebook in browser, skipping the `/tree` view. Now, with `notebook~=7.0` (and after changing `NotebookApp` --> `ServerApp`),...
With py37 EOL [approaching fast](https://devguide.python.org/versions/) on [2023-06-27](https://peps.python.org/pep-0537/), we should plan dropping support for it in the next Ocean release. Getting rid of py37 support should simplify the code in a...
Note: - `hybrid.SplatComposer` **does not sort output samples** by energy - subsequent `hybrid.ArgMin` with the default `key="samples.first.energy"` might not pick the best sample by energy - easily fixed by sorting...
Currently, `dwave.cloud.auth.flow.AuthFlow` will use `Credentials` backed by a file (created) next to the most-specific dwave config file. Typically, config file will be in `~/.config/dwave/dwave.conf`, and credentials will be stored right...
Similarly to config file location environment variable, `DWAVE_CONFIG_FILE`, add an option to **control cache directory** location (for region and solver metadata cache, etc) from the environment. For example, `DWAVE_CACHE_HOME`. An...
Once SAPI adds support for conditional requests ([rfc7232](https://datatracker.ietf.org/doc/html/rfc7232)), we can use it to avoid downloading of rather big solver metadata on each `Solver` init. For this, we require: - support...
The new fast anneal feature might require us to update the model we use for estimating QPU access time in https://github.com/dwavesystems/dwave-cloud-client/blob/9a7fa4d2216838d663bba91ccc1bc8928b73fb1b/dwave/cloud/solver.py#L1174
Perhaps add `.from_auth_flow()` or similar: ``` flow = LeapAuthFlow.from_config(...) account = LeapAccount.from_auth_flow(flow) ``` In addition (perhaps in a separate issue/pr), ensure token is refreshed when request fails with `Unauthorized`.