Handler called after the task returns. Arguments: 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): Orig
(self, status, retval, task_id, args, kwargs, einfo)
| 1294 | """ |
| 1295 | |
| 1296 | def after_return(self, status, retval, task_id, args, kwargs, einfo): |
| 1297 | """Handler called after the task returns. |
| 1298 | |
| 1299 | Arguments: |
| 1300 | status (str): Current task state. |
| 1301 | retval (Any): Task return value/exception. |
| 1302 | task_id (str): Unique id of the task. |
| 1303 | args (Tuple): Original arguments for the task. |
| 1304 | kwargs (Dict): Original keyword arguments for the task. |
| 1305 | einfo (~billiard.einfo.ExceptionInfo): Exception information. |
| 1306 | |
| 1307 | Returns: |
| 1308 | None: The return value of this handler is ignored. |
| 1309 | """ |
| 1310 | |
| 1311 | def on_replace(self, sig): |
| 1312 | """Handler called when the task is replaced. |