MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / _cache

Function _cache

dwave/cloud/cli.py:1230–1232  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

1228 }
1229
1230 def _cache(path: Path) -> dict:
1231 with diskcache.Cache(disk=diskcache.JSONDisk, directory=path) as cache:
1232 return dict(path=path) | _stats(cache)
1233
1234 def _creds(path: Path) -> dict:
1235 with Credentials(creds_file=path) as cache:

Callers 1

_get_cache_infoFunction · 0.85

Calls 1

_statsFunction · 0.85

Tested by

no test coverage detected