MCPcopy Create free account
hub / github.com/coleifer/huey / has_data_for_key

Method has_data_for_key

huey/storage.py:596–597  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

594 return False
595
596 def has_data_for_key(self, key):
597 return self.conn.hexists(self.result_key, key)
598
599 def put_if_empty(self, key, value):
600 return self.conn.hsetnx(self.result_key, key, value)

Callers 1

wait_resultMethod · 0.95

Calls 1

hexistsMethod · 0.80

Tested by

no test coverage detected