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

Method on_replace

t/unit/tasks/test_tasks.py:1404–1406  ·  view source on GitHub ↗
(self, sig)

Source from the content-addressed store, hash-verified

1402
1403 class MyTask(Task):
1404 def on_replace(self, sig):
1405 sig.stamp(CustomStampingVisitor())
1406 return super().on_replace(sig)
1407
1408 mytask = self.app.task(shared=False, base=MyTask)(return_True)
1409

Callers

nothing calls this directly

Calls 2

stampMethod · 0.45

Tested by

no test coverage detected