mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-08-14 12:40:09 +08:00
7 lines
83 B
Python
7 lines
83 B
Python
import celery
|
|
app = celery.Celery()
|
|
|
|
@app.task
|
|
def addtest(x, y):
|
|
return x + y
|