MCPcopy
hub / github.com/celery/celery / run

Method run

celery/app/task.py:445–447  ·  celery/app/task.py::Task.run

The body of the task executed by workers.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

443 return (_unpickle_task_v2, (self.name, mod), None)
444
445 def run(self, *args, **kwargs):
446 class="st">""class="st">"The body of the task executed by workers."class="st">""
447 raise NotImplementedError(&class="cm">#x27;Tasks must define the run method.')
448
449 def start_strategy(self, app, consumer, **kwargs):
450 return instantiate(self.Strategy, self, app, consumer, **kwargs)

Callers 3

__call__Method · 0.95
chordFunction · 0.45
__protected_call__Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected