local_tasks.py 266 Bytes
Newer Older
1
from manager.mancelery import celery
Guba Sándor committed
2 3 4 5


@celery.task
def deploy(disk, user):
6
    disk.deploy(task_uuid=deploy.request.id, user=user)
Guba Sándor committed
7 8


Guba Sándor committed
9
@celery.task
10 11
def remove(disk, user):
    disk.remove(task_uuid=remove.request.id, user=user)
Guba Sándor committed
12 13


Guba Sándor committed
14
@celery.task
Guba Sándor committed
15 16
def save_as():
    pass