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

Method delete_data

huey/storage.py:205–212  ·  view source on GitHub ↗

Delete the value at the given key, if it exists. :param bytes key: Key to delete. :return: boolean success or failure.

(self, key)

Source from the content-addressed store, hash-verified

203 delay *= backoff
204
205 def delete_data(self, key):
206 """
207 Delete the value at the given key, if it exists.
208
209 :param bytes key: Key to delete.
210 :return: boolean success or failure.
211 """
212 return self.pop_data(key) is not EmptyData
213
214 def has_data_for_key(self, key):
215 """

Callers 1

deleteMethod · 0.45

Calls 1

pop_dataMethod · 0.95

Tested by

no test coverage detected