October 2018
Intermediate to advanced
332 pages
8h 9m
English
The group function takes a list of signatures and creates a callable function to execute all of the signatures in parallel, then returns a list of all of the results as follows:
>>> from celery import group >>> sig = group(multiply.s(i, i+5) for i in range(10)) >>> result = sig.delay() >>> result.get() [0, 6, 14, 24, 36, 50, 66, 84, 104, 126]