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

Method pop_data

huey/storage.py:176–183  ·  view source on GitHub ↗

Destructively read the value at the given key, if it exists. :param bytes key: Key to read. :return: Associated value, if key exists, or ``EmptyData``.

(self, key)

Source from the content-addressed store, hash-verified

174 raise NotImplementedError
175
176 def pop_data(self, key):
177 """
178 Destructively read the value at the given key, if it exists.
179
180 :param bytes key: Key to read.
181 :return: Associated value, if key exists, or ``EmptyData``.
182 """
183 raise NotImplementedError
184
185 def wait_result(self, key, timeout=None, backoff=1.15, max_delay=1.0):
186 """

Callers 3

delete_dataMethod · 0.95
get_rawMethod · 0.45
hold_onFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected