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

Method close

dwave/cloud/api/client.py:449–454  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

447 super().__init__(**kwargs)
448
449 def close(self):
450 # close diskcache (db conn) on session close
451 if hasattr(self, '_store') and hasattr(self._store, 'close'):
452 self._store.close()
453
454 super().close()
455
456 def configure_cache(self, cache: ExtendedCacheConfig, **store_params) -> None:
457 config = {opt: cache.get(opt, default)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected