(self, *args, **kwargs)
| 424 | setattr(cls, attr, meth) |
| 425 | |
| 426 | def __call__(self, *args, **kwargs): |
| 427 | _task_stack.push(self) |
| 428 | self.push_request(args=args, kwargs=kwargs) |
| 429 | try: |
| 430 | return self.run(*args, **kwargs) |
| 431 | finally: |
| 432 | self.pop_request() |
| 433 | _task_stack.pop() |
| 434 | |
| 435 | def __reduce__(self): |
| 436 | class="cm"># - tasks are pickled into the name of the task only, and the receiver |
nothing calls this directly
no test coverage detected