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

Method map

celery/app/task.py:1090–1093  ·  view source on GitHub ↗

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

(self, it)

Source from the content-addressed store, hash-verified

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``."""
1092 from celery import xmap
1093 return xmap(self.s(), it, app=self.app)
1094
1095 def starmap(self, it):
1096 """Create a :class:`~celery.canvas.xstarmap` task from ``it``."""

Callers 7

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

Calls 2

sMethod · 0.95
xmapFunction · 0.90

Tested by 4

test_mapMethod · 0.36