Chat / api /user /tasks.py
VTechAI's picture
init
8a41f4d
raw
history blame
No virus
265 Bytes
from application.worker import ingest_worker
from application.celery import celery
@celery.task(bind=True)
def ingest(self, directory, formats, name_job, filename, user):
resp = ingest_worker(self, directory, formats, name_job, filename, user)
return resp