feat(import): some views and urls

This commit is contained in:
Herculino Trotta
2025-01-20 14:31:12 -03:00
parent 07fcbe1f45
commit 6f096fd3ff
3 changed files with 186 additions and 21 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from apps.import_app.services import ImportServiceV1
logger = logging.getLogger(__name__)
@app.task(queue="imports")
@app.task
def process_import(import_run_id: int, file_path: str):
try:
import_run = ImportRun.objects.get(id=import_run_id)