Explorar o código

Don't import celery.task (remove it from BUILTIN_MODULES)

Ask Solem %!s(int64=13) %!d(string=hai) anos
pai
achega
2fb14811fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/loaders/base.py

+ 1 - 1
celery/loaders/base.py

@@ -27,7 +27,7 @@ from ..utils import (cached_property, get_cls_by_name,
 from ..utils.functional import maybe_list
 from ..utils.encoding import safe_str
 
-BUILTIN_MODULES = frozenset(["celery.task"])
+BUILTIN_MODULES = frozenset()
 
 ERROR_ENVVAR_NOT_SET = (
 """The environment variable %r is not set,