I\'m writing an application which needs to run a series of tasks in parallel and then a single task with the results of all the tasks run:
@celery.task
def p
Celery has plenty of tools for most of workflows you can imagine.
It seems you need to get use of chord. Here's a quote from docs:
A chord is just like a group but with a callback. A chord consists of a header group and a body, where the body is a task that should execute after all of the tasks in the header are complete.