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

Function run_example2

examples/stamping/examples.py:21–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def run_example2():
22 sig1 = identity_task.si("sig1")
23 sig1.link(identity_task.si("sig1_link"))
24 sig2 = identity_task.si("sig2")
25 sig2.link(identity_task.si("sig2_link"))
26 s1 = chain(sig1, sig2)
27 s1.link(identity_task.si("chain_link"))
28 s1.stamp(FullVisitor())
29 s1.stamp(MonitoringIdStampingVisitor())
30 s1.delay()
31
32
33def run_example3():

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected