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

Method put_data

huey/storage.py:155–165  ·  view source on GitHub ↗

Store an arbitrary key/value pair, overwrites any existing value. :param bytes key: lookup key :param bytes value: value :param bool is_result: indicate if we are storing a (volatile) task result versus metadata like a task revocation key or lock.

(self, key, value, is_result=False)

Source from the content-addressed store, hash-verified

153 raise NotImplementedError
154
155 def put_data(self, key, value, is_result=False):
156 """
157 Store an arbitrary key/value pair, overwrites any existing value.
158
159 :param bytes key: lookup key
160 :param bytes value: value
161 :param bool is_result: indicate if we are storing a (volatile) task
162 result versus metadata like a task revocation key or lock.
163 :return: No return value.
164 """
165 raise NotImplementedError
166
167 def peek_data(self, key):
168 """

Callers 4

put_if_emptyMethod · 0.95
putMethod · 0.45
put_resultMethod · 0.45
hold_onFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected