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

Method __init__

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

Source from the content-addressed store, hash-verified

1377 return cls(*cls._unpack_args(d['kwargs']), app=app, **d['options'])
1378
1379 def __init__(self, task, it, **options):
1380 super().__init__(self._task_name, (),
1381 {'task': task, 'it': regen(it)}, immutable=True, **options
1382 )
1383
1384 def apply_async(self, args=None, kwargs=None, **opts):
1385 # need to evaluate generators

Callers

nothing calls this directly

Calls 2

regenFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected