app.celery.ContextTask.update_state
- ContextTask.update_state(task_id=None, state=None, meta=None, **kwargs)
Update task state.
- Parameters
task_id (str) – Id of the task to update. Defaults to the id of the current task.
state (str) – New state.
meta (Dict) – State meta-data.