arthur/arthur.py
def remove_task(self, task_id):
        """Remove and cancel a task.

        :param task_id: id of the task to be removed
        """
        try:
            self._scheduler.cancel_task(task_id)
        except NotFoundError as e:
            logger.info("Cannot cancel %s task because it does not exist.",
                        task_id)
            return False
        else:
            return True
def remove_task(self, task_id):
        try:
            self._scheduler.cancel_task(task_id)
        except NotFoundError as e:
            logger.info("Cannot cancel %s task because it does not exist.",
                        task_id)
            return False
        else:
            return True
def remove_task ( self , task_id ) : try : self . _scheduler . cancel_task ( task_id ) except NotFoundError as e : logger . info ( "Cannot cancel %s task because it does not exist." , task_id ) return False else : return True
Remove and cancel a task.

        :param task_id: id of the task to be removed
Remove and cancel a task .