|
@@ -27,6 +27,7 @@ from celery import platforms
|
|
|
from celery.exceptions import AlwaysEagerIgnored
|
|
|
from celery.loaders import get_loader_cls
|
|
|
from celery.local import PromiseProxy, maybe_evaluate
|
|
|
+from celery.state import _tls, get_current_app
|
|
|
from celery.utils.functional import first
|
|
|
from celery.utils.imports import instantiate, symbol_by_name
|
|
|
|
|
@@ -34,7 +35,6 @@ from .annotations import prepare as prepare_annotations
|
|
|
from .builtins import shared_task, load_shared_tasks
|
|
|
from .defaults import DEFAULTS, find_deprecated_settings
|
|
|
from .registry import TaskRegistry
|
|
|
-from .state import _tls, get_current_app
|
|
|
from .utils import AppPickler, Settings, bugreport, _unpickle_app
|
|
|
|
|
|
|