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

Method restore_all

huey/api.py:634–637  ·  view source on GitHub ↗
(self, task_class)

Source from the content-addressed store, hash-verified

632 self.put(self._task_key(task_class, 'rt'), (revoke_until, revoke_once))
633
634 def restore_all(self, task_class):
635 if isinstance(task_class, TaskWrapper):
636 task_class = task_class.task_class
637 return self.delete(self._task_key(task_class, 'rt'))
638
639 def revoke(self, task, revoke_until=None, revoke_once=False):
640 if revoke_until is not None:

Callers 2

is_revokedMethod · 0.95
restoreMethod · 0.80

Calls 2

deleteMethod · 0.95
_task_keyMethod · 0.95

Tested by

no test coverage detected