MCPcopy
hub / github.com/celery/celery / conf

Function conf

celery/worker/control.py:90–94  ·  view source on GitHub ↗

List configuration.

(state, with_defaults=False, **kwargs)

Source from the content-addressed store, hash-verified

88 args=[('with_defaults', strtobool)],
89)
90def conf(state, with_defaults=False, **kwargs):
91 """List configuration."""
92 return jsonify(state.app.conf.table(with_defaults=with_defaults),
93 keyfilter=_wanted_config_key,
94 unknown_type_filter=safe_repr)
95
96
97def _wanted_config_key(key):

Callers

nothing calls this directly

Calls 2

jsonifyFunction · 0.90
tableMethod · 0.80

Tested by

no test coverage detected