This document describes the current stable version of Celery (5.6). For development docs, go here.
celery.app.defaults¶
Changed in version 5.7: find() now returns an Option as the third item for
qualified-name lookups instead of returning the option’s default value.
Use find(name).type.default to retrieve the default value.
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¶
- typemap = {'any': <function Option.<lambda>>, 'bool': <function strtobool>, 'dict': <class 'dict'>, 'float': <class 'float'>, 'int': <class 'int'>, 'string': <class 'str'>, 'tuple': <class 'tuple'>}¶