MCPcopy
hub / github.com/celery/celery / replace_with_chain

Method replace_with_chain

t/unit/tasks/test_canvas.py:85–86  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

83
84 @self.app.task(shared=False, bind=True)
85 def replace_with_chain(self, x, y):
86 return self.replace(group(add.si(x, y) | mul.s(y), add.si(x, y)))
87
88 self.replace_with_chain = replace_with_chain
89

Callers

nothing calls this directly

Calls 4

groupClass · 0.90
siMethod · 0.80
replaceMethod · 0.45
sMethod · 0.45

Tested by

no test coverage detected