MCPcopy Create free account
hub / github.com/celery/celery / forget

Method forget

celery/backends/rpc.py:265–273  ·  view source on GitHub ↗
(self, task_id)

Source from the content-addressed store, hash-verified

263 pass
264
265 def forget(self, task_id):
266 self._out_of_band.pop(task_id, None)
267 try:
268 buf = self._pending_messages.pop(task_id)
269 except KeyError:
270 pass
271 else:
272 self._pending_messages.total -= len(buf)
273 super().forget(task_id)
274
275 def _forget(self, task_id):
276 # results are messages on the reply queue,

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected