(task_self)
| 1968 | |
| 1969 | @self.app.task(bind=True) |
| 1970 | def simple_task(task_self): |
| 1971 | return { |
| 1972 | 'task_id': task_self.request.id, |
| 1973 | 'parent_id': task_self.request.parent_id, |
| 1974 | 'root_id': task_self.request.root_id, |
| 1975 | } |
| 1976 | |
| 1977 | result = simple_task.apply() |
| 1978 | assert isinstance(result, EagerResult) |
nothing calls this directly
no outgoing calls
no test coverage detected