(self, task_id)
Returns information about task status.
Returns information about task status.
Returns information about task status .
def get(self, task_id):
        """
        Returns information about task status.
        """
        queue = rq.get_queue()
        task = queue.fetch_job(task_id)
        if task:
            return {
                "id": task.id,
                "status": task.status,
                "result_url": task.result
            }
        else:
            return abort(404, message="Unknown task_id")
def get ( self , task_id ) : queue = rq . get_queue ( ) task = queue . fetch_job ( task_id ) if task : return { "id" : task . id , "status" : task . status , "result_url" : task . result } else : return abort ( 404 , message = "Unknown task_id" )