Forget the result of this task and its parents.
(self)
| 133 | return results |
| 134 | |
| 135 | def forget(self): |
| 136 | """Forget the result of this task and its parents.""" |
| 137 | self._cache = None |
| 138 | if self.parent: |
| 139 | self.parent.forget() |
| 140 | |
| 141 | self.backend.remove_pending_result(self) |
| 142 | self.backend.forget(self.id) |
| 143 | |
| 144 | def revoke(self, connection=None, terminate=False, signal=None, |
| 145 | wait=False, timeout=None): |