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

Method delete

tasktiger/task.py:622–629  ·  view source on GitHub ↗

Removes 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

620 self._move(from_state=SCHEDULED)
621
622 def delete(self) -> None:
623 """
624 Removes a task that's in the error queue.
625
626 Raises TaskNotFound if the task could not be found in the ERROR
627 queue.
628 """
629 self._move(from_state=ERROR)
630
631 def clone(self) -> "Task":
632 """Returns a clone of the this task"""

Calls 1

_moveMethod · 0.95