MCPcopy
hub / github.com/celery/celery / on_replace

Method on_replace

t/unit/tasks/test_stamping.py:1018–1020  ·  view source on GitHub ↗
(self, sig)

Source from the content-addressed store, hash-verified

1016
1017 class MyTask(Task):
1018 def on_replace(self, sig):
1019 sig.stamp(CustomStampingVisitor())
1020 return super().on_replace(sig)
1021
1022 mytask = self.app.task(shared=False, base=MyTask)(return_True)
1023

Callers 1

on_replaceMethod · 0.45

Calls 3

stampMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected