MCPcopy Create free account
hub / github.com/closeio/tasktiger / retry

Method retry

tasktiger/task.py:604–611  ·  view source on GitHub ↗

Retries a task that's in the error queue. Raises TaskNotFound if the task could not be found in the ERROR queue.

(self)

Source from the content-addressed store, hash-verified

602 return int(executions_count or 0)
603
604 def retry(self) -> None:
605 """
606 Retries a task that's in the error queue.
607
608 Raises TaskNotFound if the task could not be found in the ERROR
609 queue.
610 """
611 self._move(from_state=ERROR, to_state=QUEUED)
612
613 def cancel(self) -> None:
614 """

Callers

nothing calls this directly

Calls 1

_moveMethod · 0.95

Tested by

no test coverage detected