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

Method get

dwave/cloud/api/models.py:41–45  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

39 return getattr(self.root, name)
40
41 def get(self, key, default=None):
42 try:
43 return self[key]
44 except AttributeError:
45 return default
46
47
48class _RootSetterMixin:

Callers 15

update_sessionMethod · 0.45
fetch_tokenMethod · 0.45
token_expires_soonMethod · 0.45
exchange_codeMethod · 0.45
configure_cacheMethod · 0.45
_update_cacheMethod · 0.45
make_responseMethod · 0.45
requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected