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

Method has_data_for_key

huey/storage.py:214–220  ·  view source on GitHub ↗

Return whether there is data for the given key. :return: Boolean value.

(self, key)

Source from the content-addressed store, hash-verified

212 return self.pop_data(key) is not EmptyData
213
214 def has_data_for_key(self, key):
215 """
216 Return whether there is data for the given key.
217
218 :return: Boolean value.
219 """
220 raise NotImplementedError
221
222 def put_if_empty(self, key, value):
223 """

Callers 3

wait_resultMethod · 0.95
put_if_emptyMethod · 0.95
is_lockedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected