MCPcopy Create free account
hub / github.com/apple/foundationdb / get

Method get

tests/python_tests/python_correctness.py:45–52  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

43 store = dict()
44
45 def get(self, key):
46 if key is fdb.KeySelector:
47 key = self.get_key(key)
48
49 if key in self.store:
50 return self.store[key]
51 else:
52 return None
53
54 def get_key(self, key_selector):
55 sorted_keys = list(sorted(self.store.keys()))

Callers

nothing calls this directly

Calls 1

get_keyMethod · 0.95

Tested by

no test coverage detected