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

Function run_example3

examples/stamping/examples.py:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def run_example3():
34 sig1 = identity_task.si("sig1")
35 sig1_link = identity_task.si("sig1_link")
36 sig1.link(sig1_link)
37 sig1_link.stamp(FullVisitor())
38 sig1_link.stamp(MonitoringIdStampingVisitor())
39 sig1.stamp(MonitoringIdStampingVisitor(), append_stamps=True)
40 sig1.delay()
41
42
43def run_example_with_replace():

Callers

nothing calls this directly

Calls 6

FullVisitorClass · 0.90
siMethod · 0.80
linkMethod · 0.45
stampMethod · 0.45
delayMethod · 0.45

Tested by

no test coverage detected