MCPcopy Index your code
hub / github.com/saltstack/salt / fetch

Method fetch

tests/pytests/unit/modules/test_mine.py:23–24  ·  view source on GitHub ↗
(self, bank, key)

Source from the content-addressed store, hash-verified

21 return "FakeCache:StoreSuccess!"
22
23 def fetch(self, bank, key):
24 return self.data.get((bank, key), {})
25
26 def debug(self):
27 print(f"{__name__}:FakeCache dump:\n{self.data}")

Callers 15

configure_loader_modulesFunction · 0.45
test_send_get_localFunction · 0.45
test_send_get_acl_localFunction · 0.45
test_update_localFunction · 0.45
test_delete_localFunction · 0.45
test_flush_localFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected