MCPcopy
hub / github.com/celery/celery / forget

Method forget

celery/result.py:135–142  ·  view source on GitHub ↗

Forget the result of this task and its parents.

(self)

Source from the content-addressed store, hash-verified

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):

Callers 4

test_forgetMethod · 0.95
test_forgetMethod · 0.95
test_forgetMethod · 0.95

Calls 2

forgetMethod · 0.45
remove_pending_resultMethod · 0.45

Tested by 4

test_forgetMethod · 0.76
test_forgetMethod · 0.76
test_forgetMethod · 0.76