This document describes the current stable version of Celery (4.2). For development docs, go here.
celery.loaders.base
¶
Loader base class.
-
class
celery.loaders.base.
BaseLoader
(app, **kwargs)[source]¶ Base class for loaders.
Loaders handles,
- Reading celery client/worker configurations.
- What happens when a task starts?
- See
on_task_init()
.
- What happens when the worker starts?
- See
on_worker_init()
.
- What happens when the worker shuts down?
- See
on_worker_shutdown()
.
- What modules are imported to find tasks?
-
builtin_modules
= frozenset([])¶
-
cmdline_config_parser
(args, namespace=u'celery', re_type=<_sre.SRE_Pattern object>, extra_types={u'json': <function loads at 0x7f42f57bff50>}, override_types={u'dict': u'json', u'list': u'json', u'tuple': u'json'})[source]¶
-
conf
¶ Loader configuration.
-
configured
= False¶
-
override_backends
= {}¶
-
worker_initialized
= False¶