tasks.py 204 Bytes
Newer Older
Janez K's avatar
Janez K committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
from celery.task import task

@task()
def runForLoopIteration(workflow,iteration):
    pass


@task()
def runWidgetAsync(widget):
    widget.run(True)

@task()
def add(x, y):
    return x + y