MCPcopy Create free account
hub / github.com/celery/celery / chunks

Method chunks

celery/app/task.py:1085–1088  ·  view source on GitHub ↗

Create a :class:`~celery.canvas.chunks` task for this task.

(self, it, n)

Source from the content-addressed store, hash-verified

1083 return self.signature(args, kwargs, immutable=True)
1084
1085 def chunks(self, it, n):
1086 """Create a :class:`~celery.canvas.chunks` task for this task."""
1087 from celery import chunks
1088 return chunks(self.s(), it, n, app=self.app)
1089
1090 def map(self, it):
1091 """Create a :class:`~celery.canvas.xmap` task from ``it``."""

Callers 3

test_chunksMethod · 0.80
test_chunksMethod · 0.80

Calls 2

sMethod · 0.95
chunksFunction · 0.90

Tested by 3

test_chunksMethod · 0.64
test_chunksMethod · 0.64