This document describes the current stable version of Celery (5.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='celery', re_type=re.compile('\\((\\w+)\\)'), extra_types=None, override_types=None)[source]¶
- property conf¶
Loader configuration.
- configured = False¶
- property default_modules¶
- override_backends = {}¶
- worker_initialized = False¶