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

# `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.