MCPcopy Index your code
hub / github.com/coleifer/huey / get

Method get

huey/api.py:395–398  ·  view source on GitHub ↗
(self, key, peek=False)

Source from the content-addressed store, hash-verified

393 return self.storage.pop_data(key)
394
395 def get(self, key, peek=False):
396 data = self.get_raw(key, peek)
397 if data is not EmptyData:
398 return self.serializer.deserialize(data)
399
400 def delete(self, key):
401 return self.storage.delete_data(key)

Callers 15

_executeMethod · 0.95
_check_chordMethod · 0.95
_check_revokedMethod · 0.95
sendMethod · 0.45
peek_dataMethod · 0.45
incrMethod · 0.45
peek_dataMethod · 0.45
build_error_resultMethod · 0.45
acquireMethod · 0.45
getMethod · 0.45
__getitem__Method · 0.45
as_completedMethod · 0.45

Calls 2

get_rawMethod · 0.95
deserializeMethod · 0.80

Tested by 15

test_immediateMethod · 0.36
test_swap_immediateMethod · 0.36
test_consumer_minimalMethod · 0.36
test_consumer_timeoutMethod · 0.36
test_fs_multithreadedMethod · 0.36
setUpMethod · 0.36
test_workflowMethod · 0.36