MCPcopy
hub / github.com/celery/celery / __call__

Method __call__

celery/canvas.py:346–349  ·  view source on GitHub ↗

Call the task directly (in the current process).

(self, *partial_args, **partial_kwargs)

Source from the content-addressed store, hash-verified

344 )
345
346 def __call__(self, *partial_args, **partial_kwargs):
347 """Call the task directly (in the current process)."""
348 args, kwargs, _ = self._merge(partial_args, partial_kwargs, None)
349 return self.type(*args, **kwargs)
350
351 def delay(self, *partial_args, **partial_kwargs):
352 """Shortcut to :meth:`apply_async` using star arguments."""

Callers

nothing calls this directly

Calls 2

_mergeMethod · 0.95
typeMethod · 0.95

Tested by

no test coverage detected