MCPcopy Create free account
hub / github.com/celery/celery / humanize

Method humanize

celery/app/utils.py:203–207  ·  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

201 })
202
203 def humanize(self, with_defaults=False, censored=True):
204 """Return a human readable text showing configuration changes."""
205 return '\n'.join(
206 f'{key}: {pretty(value, width=50)}'
207 for key, value in self.table(with_defaults, censored).items())
208
209 def maybe_warn_deprecated_settings(self):
210 # 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