We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905b0a2 commit ad327b8Copy full SHA for ad327b8
app/api/celery_tasks.py
@@ -20,7 +20,7 @@ def celery_task(task_id):
20
state = TASK_RESULTS[task_id]['state']
21
info = TASK_RESULTS[task_id]['result']
22
else:
23
- from app.views.celery_ import celery
+ from app.api.helpers.tasks import celery
24
result = AsyncResult(id=task_id, app=celery)
25
state = result.state
26
info = result.info
0 commit comments