Loading Databunch and running the file fails with Celery

I am getting an error when I load a databunch and run the model with a Celery worker -

“AttributeError: Can’t get attribute ‘RobertaTextList’ on <module ‘celery.bin.celery’ from ‘/usr/local/lib/python3.7/site-packages/celery/bin/celery.py’>”

Do I have to import it in the Celery.py file as well? If yes, how?

I tried importing in celery file, but doesn’t seem to work.

Any pointers will be extremely helpful!