MCPcopy
hub / github.com/eudicots/Cactus / get

Method get

cactus/config/file.py:19–20  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

17 self.load()
18
19 def get(self, key, default=None):
20 return self._data.get(key, default)
21
22 def set(self, key, value):
23 self._data[key] = value

Callers 15

__init__Method · 0.45
urlMethod · 0.45
uploadMethod · 0.45
configFunction · 0.45
setup_loggingFunction · 0.45
preBuildPageMethod · 0.45
preBuildMethod · 0.45
preDeployMethod · 0.45
preBuildMethod · 0.45
mkdtempFunction · 0.45
get_or_promptFunction · 0.45
signalFunction · 0.45

Calls

no outgoing calls

Tested by 11

test_writeMethod · 0.36
test_duplicateMethod · 0.36
test_nestedMethod · 0.36
test_missing_fileMethod · 0.36
test_broken_fileMethod · 0.36
test_write_configMethod · 0.36
test_no_bucket_createMethod · 0.36
test_simple_deployMethod · 0.36
test_compressionMethod · 0.36
test_config_savedMethod · 0.36