示例#1
0
文件: task.py 项目: chillbear/celery
 def chunks(self, it, n):
     """Creates a :class:`~celery.canvas.chunks` task for this task."""
     from celery import chunks
     return chunks(self.s(), it, n, app=self.app)
示例#2
0
 def chunks(self, it, n):
     """Create a :class:`~celery.canvas.chunks` task for this task."""
     from celery import chunks
     return chunks(self.s(), it, n, app=self.app)
示例#3
0
文件: task.py 项目: clvrobj/celery
 def chunks(self, it, n):
     from celery import chunks
     return chunks(self.s(), it, n)