MCPcopy
hub / github.com/celery/celery / __init__

Method __init__

celery/canvas.py:1432–1436  ·  view source on GitHub ↗
(self, task, it, n, **options)

Source from the content-addressed store, hash-verified

1430 return cls(*cls._unpack_args(d['kwargs']), app=app, **d['options'])
1431
1432 def __init__(self, task, it, n, **options):
1433 super().__init__('celery.chunks', (),
1434 {'task': task, 'it': regen(it), 'n': n},
1435 immutable=True, **options
1436 )
1437
1438 def __call__(self, **options):
1439 return self.apply_async(**options)

Callers

nothing calls this directly

Calls 2

regenFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected