How to Solve NameError: name 'AsyncResult' is not defined -- celery
Solution: Import the 'AsyncResult' module
To Solve the error, add the following line to the top of your code.
from celery.result import AsyncResult
For more information:
Python celery AsyncResult