MCPcopy
hub / github.com/celery/celery / identity

Function identity

examples/stamping/tasks.py:75–77  ·  view source on GitHub ↗
(self: Task, x)

Source from the content-addressed store, hash-verified

73
74@app.task(bind=True, base=StampOnReplace)
75def identity(self: Task, x):
76 log_demo(self)
77 return self.replace(replaced_identity.s(x))
78
79
80@app.task

Callers

nothing calls this directly

Calls 3

log_demoFunction · 0.85
replaceMethod · 0.45
sMethod · 0.45

Tested by

no test coverage detected