kopia lustrzana https://github.com/OpenDroneMap/WebODM
15 wiersze
165 B
Python
15 wiersze
165 B
Python
|
from .celery import app
|
||
|
|
||
|
@app.task
|
||
|
def add(x, y):
|
||
|
return x + y
|
||
|
|
||
|
|
||
|
@app.task
|
||
|
def mul(x, y):
|
||
|
return x * y
|
||
|
|
||
|
|
||
|
@app.task
|
||
|
def xsum(numbers):
|
||
|
return sum(numbers)
|