MCPcopy Create free account
hub / github.com/amyasnikov/validity / get

Method get

validity/utils/orm.py:40–42  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

38 return key in self._map
39
40 def get(self, key, default=None):
41 self._evaluate()
42 return self._map.get(key, default)
43
44 def keys(self):
45 self._evaluate()

Callers 15

memberMethod · 0.45
from_requestMethod · 0.45
viewnameMethod · 0.45
validateMethod · 0.45
validity_settingsFunction · 0.45
backup_launcherFunction · 0.45
render_total_devicesMethod · 0.45
get_table_attrMethod · 0.45
__init__Method · 0.45
clean_jq_expressionMethod · 0.45
datasource_idMethod · 0.45

Calls 1

_evaluateMethod · 0.95

Tested by 15

test_createMethod · 0.36
test_getMethod · 0.36
test_custom_poller_apiFunction · 0.36
test_device_resultsFunction · 0.36
test_report_devicesFunction · 0.36
test_datasource_devicesFunction · 0.36
test_getMethod · 0.36