feat: cleanup and format logs

This commit is contained in:
Herculino Trotta
2025-02-07 11:31:14 -03:00
parent 62bfaaa62a
commit 852ffd5634
10 changed files with 58 additions and 24 deletions

View File

@@ -9,7 +9,7 @@ from apps.import_app.services import ImportServiceV1
logger = logging.getLogger(__name__)
@app.task
@app.task(name="process_import")
def process_import(import_run_id: int, file_path: str):
try:
import_run = ImportRun.objects.get(id=import_run_id)