from celery import Celery from backend.config import CELERY_RESULT_BACKEND, CELERY_BROKER_URL celery = Celery( __name__, broker=CELERY_BROKER_URL, backend=CELERY_RESULT_BACKEND )