def METHOD_NAME(app):
    from celery.canvas import chunks as _chunks
    @app.task(name='celery.chunks', shared=False, lazy=False)
    def chunks(task, it, n):
        return _chunks.apply_chunks(task, it, n)
    return chunks