Get the state of a task.
(self, task_id)
| 657 | raise NotImplementedError('backend does not implement forget.') |
| 658 | |
| 659 | def get_state(self, task_id): |
| 660 | """Get the state of a task.""" |
| 661 | return self.get_task_meta(task_id)['status'] |
| 662 | |
| 663 | get_status = get_state # XXX compat |
| 664 |