MCPcopy
hub / github.com/celery/celery / humanize

Method humanize

celery/app/utils.py:191–195  ·  view source on GitHub ↗

Return a human readable text showing configuration changes.

(self, with_defaults=False, censored=True)

Source from the content-addressed store, hash-verified

189 })
190
191 def humanize(self, with_defaults=False, censored=True):
192 """Return a human readable text showing configuration changes."""
193 return '\n'.join(
194 f'{key}: {pretty(value, width=50)}'
195 for key, value in self.table(with_defaults, censored).items())
196
197 def maybe_warn_deprecated_settings(self):
198 # TODO: Remove this method in Celery 6.0

Callers 1

bugreportFunction · 0.45

Calls 4

tableMethod · 0.95
prettyFunction · 0.90
joinMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected