diff --git a/weaver/utils.py b/weaver/utils.py index 9018e3d62..346ea97d9 100644 --- a/weaver/utils.py +++ b/weaver/utils.py @@ -35,7 +35,6 @@ from bs4 import BeautifulSoup from celery.app import Celery from mypy_boto3_s3.literals import RegionName -from pyramid_celery import celery_app as app from pyramid.config import Configurator from pyramid.exceptions import ConfigurationError from pyramid.httpexceptions import ( @@ -50,6 +49,7 @@ from pyramid.settings import asbool, aslist from pyramid.threadlocal import get_current_registry, get_current_request from pyramid_beaker import set_cache_regions_from_settings +from pyramid_celery import celery_app as app from requests import HTTPError as RequestsHTTPError, Response from requests.structures import CaseInsensitiveDict from requests_file import FileAdapter