MCPcopy
hub / github.com/celery/celery / map

Method map

celery/app/task.py:913–916  ·  view source on GitHub ↗

Create a :class:`~celery.canvas.xmap` task from ``it``.

(self, it)

Source from the content-addressed store, hash-verified

911 return chunks(self.s(), it, n, app=self.app)
912
913 def map(self, it):
914 """Create a :class:`~celery.canvas.xmap` task from ``it``."""
915 from celery import xmap
916 return xmap(self.s(), it, app=self.app)
917
918 def starmap(self, it):
919 """Create a :class:`~celery.canvas.xstarmap` task from ``it``."""

Callers 6

test_mapMethod · 0.45
stampMethod · 0.45
stampMethod · 0.45
mgetMethod · 0.45

Calls 2

sMethod · 0.95
xmapFunction · 0.90

Tested by 3

test_mapMethod · 0.36