Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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)
75
def
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_demo
Function · 0.85
replace
Method · 0.45
s
Method · 0.45
Tested by
no test coverage detected