Handler called before the task starts. .. versionadded:: 5.2 Arguments: task_id (str): Unique id of the task to execute. args (Tuple): Original arguments for the task to execute. kwargs (Dict): Original keyword arguments for the task to execute.
(self, task_id, args, kwargs)
| 1233 | task_id, meta, state, request=self.request, **kwargs) |
| 1234 | |
| 1235 | def before_start(self, task_id, args, kwargs): |
| 1236 | """Handler called before the task starts. |
| 1237 | |
| 1238 | .. versionadded:: 5.2 |
| 1239 | |
| 1240 | Arguments: |
| 1241 | task_id (str): Unique id of the task to execute. |
| 1242 | args (Tuple): Original arguments for the task to execute. |
| 1243 | kwargs (Dict): Original keyword arguments for the task to execute. |
| 1244 | |
| 1245 | Returns: |
| 1246 | None: The return value of this handler is ignored. |
| 1247 | """ |
| 1248 | |
| 1249 | def on_success(self, retval, task_id, args, kwargs): |
| 1250 | """Success handler. |
nothing calls this directly
no outgoing calls
no test coverage detected