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

Function _creds

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

Source from the content-addressed store, hash-verified

1232 return dict(path=path) | _stats(cache)
1233
1234 def _creds(path: Path) -> dict:
1235 with Credentials(creds_file=path) as cache:
1236 return dict(path=path) | _stats(cache)
1237
1238 def _existing(paths: list[Path]) -> list[Path]:
1239 return [p for p in paths if p.exists()]

Callers 1

_get_cache_infoFunction · 0.85

Calls 2

CredentialsClass · 0.90
_statsFunction · 0.85

Tested by

no test coverage detected