MCPcopy Index your code
hub / github.com/coleifer/huey / put_data

Method put_data

huey/storage.py:550–557  ·  view source on GitHub ↗
(self, key, value, is_result=False)

Source from the content-addressed store, hash-verified

548 self.conn.delete(self.schedule_key)
549
550 def put_data(self, key, value, is_result=False):
551 self.conn.hset(self.result_key, key, value)
552 if is_result and self.notify_result:
553 nkey = self.notify_prefix + key
554 pipe = self.conn.pipeline()
555 pipe.lpush(nkey, b'1')
556 pipe.expire(nkey, self.notify_result_ttl)
557 pipe.execute()
558
559 def peek_data(self, key):
560 pipe = self.conn.pipeline()

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected