This document describes the current stable version of Celery (5.2). For development docs, go here.

celery.app.defaults

Configuration introspection and defaults.

class celery.app.defaults.Option(default=None, *args, **kwargs)[source]

Describes a Celery configuration option.

alt = None
deprecate_by = None
old = {}
remove_by = None
to_python(value)[source]
typemap = {'any': <function Option.<lambda>>, 'bool': <function strtobool>, 'dict': <class 'dict'>, 'float': <class 'float'>, 'int': <class 'int'>, 'string': <class 'str'>, 'tuple': <class 'tuple'>}
celery.app.defaults.find(name, namespace='celery')[source]

Find setting by name.

celery.app.defaults.flatten(d, root='', keyfilter=<function _flatten_keys>)[source]

Flatten settings.