backend/checker/tasks.py

11 lines
186 B
Python

from celery import shared_task
from uuid import uuid4
from checker.models import Docx
@shared_task(name="process_file")
def process_file(file: uuid4):
print(file)
return file