app.celery.ContextTask.after_return
- ContextTask.after_return(status, retval, task_id, args, kwargs, einfo)
Handler called after the task returns.
- Parameters
status (str) – Current task state.
retval (Any) – Task return value/exception.
task_id (str) – Unique id of the task.
args (Tuple) – Original arguments for the task.
kwargs (Dict) – Original keyword arguments for the task.
einfo (ExceptionInfo) – Exception information.
- Returns
The return value of this handler is ignored.
- Return type
None