celery.app.utils
class celery.app.utils.Settings(changes, defaults)
Celery settings object.
BROKER_BACKEND None[源代码]
Deprecated compat alias to .
BROKER_TRANSPORT None[源代码]
BROKER_URL None
CELERY_TIMEZONE None
-
Search for option by name.
Will return (namespace, key, type) tuple, e.g.:
find_value_for_key(name, namespace=’celery’)[源代码]
Shortcut to get_by_parts(*find_option(name)[:-1])
humanize(with_defaults=False, censored=True)
table(with_defaults=False, censored=True)
without_defaults()[源代码]
Return the current configuration, but without defaults.
celery.app.utils.appstr(app)
String used in __repr__ etc, to id app instances.
celery.app.utils.bugreport(app)
Return a string containing information useful in bug reports.
celery.app.utils.find_app(app, symbol_by_name=<function symbol_by_name at 0x9402a04>, imp=<function import_from_cwd at 0xb08d87c>)