Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ add
Function
add
examples/tutorial/tasks.py:7–8 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
5
6
@app.task()
7
def
add(x, y):
8
return
x + y
9
10
11
if
__name__ ==
'__main__'
:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected