backend/checker/tasks.py

11 lines
186 B
Python
Raw Normal View History

2022-08-26 20:04:45 +03:00
from celery import shared_task
from uuid import uuid4
2022-08-26 20:04:45 +03:00
from checker.models import Docx
@shared_task(name="process_file")
def process_file(file: uuid4):
print(file)
return file