celery.app.defaults
¶
Configuration introspection and defaults.
- class celery.app.defaults.Option(default=None, *args, **kwargs)[исходный код]¶
Describes a Celery configuration option.
- alt = None¶
- deprecate_by = None¶
- old = {}¶
- remove_by = None¶
- to_python(value)[исходный код]¶
- 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')[исходный код]¶
Find setting by name.
- celery.app.defaults.flatten(d, root='', keyfilter=<function _flatten_keys>)[исходный код]¶
Flatten settings.