celery.app.defaults

celery.app.defaults

Configuration introspection and defaults.

class celery.app.defaults.Option(default=None, \args, **kwargs*)[源代码]

  • alt = None

  • deprecate_by = None

  • remove_by = None

  • to_python(value)[源代码]

  • typemap = {‘bool’: <function strtobool at 0xa90a5dc>, ‘string’: <type ‘str’>, ‘tuple’: <type ‘tuple’>, ‘int’: <type ‘int’>, ‘dict’: <type ‘dict’>, ‘float’: <type ‘float’>, ‘any’: <function <lambda> at 0xb364304>}

celery.app.defaults.flatten(d, ns=’’)[源代码]

celery.app.defaults.find(\args, **kwargs*)[源代码]