MCPcopy
hub / github.com/yosinski/deep-visualization-toolbox / get

Method get

numpy_cache.py:17–22  ·  view source on GitHub ↗
(self, key, default = None)

Source from the content-addressed store, hash-verified

15 self._lock = RLock()
16
17 def get(self, key, default = None):
18 with self._lock:
19 if key in self._store:
20 return self._store[key]
21 else:
22 return default
23
24 def set(self, key, val):
25 with self._lock:

Callers 6

__init__Method · 0.80
settings.pyFile · 0.80
_draw_layer_paneMethod · 0.80
_draw_jpgvis_paneMethod · 0.80
get_pretty_layer_nameFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected