MCPcopy
hub / github.com/celery/celery / group

Method group

celery/canvas.py:1449–1454  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1447 )
1448
1449 def group(self):
1450 # need to evaluate generators
1451 task, it, n = self._unpack_args(self.kwargs)
1452 return group((xstarmap(task, part, app=self._app)
1453 for part in _chunks(iter(it), n)),
1454 app=self._app)
1455
1456 @classmethod
1457 def apply_chunks(cls, task, it, n, app=None):

Callers 4

apply_asyncMethod · 0.95
test_chord_on_errorMethod · 0.45
test_chunksMethod · 0.45
crawlFunction · 0.45

Calls 3

_unpack_argsMethod · 0.80
groupClass · 0.70
xstarmapClass · 0.70

Tested by 2

test_chord_on_errorMethod · 0.36
test_chunksMethod · 0.36