Call the task directly (in the current process).
(self, *partial_args, **partial_kwargs)
| 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.""" |