MCPcopy
hub / github.com/celery/celery / convert

Method convert

celery/bin/base.py:315–321  ·  view source on GitHub ↗
(self, value, param, ctx)

Source from the content-addressed store, hash-verified

313 super().__init__(('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL', 'FATAL'))
314
315 def convert(self, value, param, ctx):
316 if isinstance(value, numbers.Integral):
317 return value
318
319 value = value.upper()
320 value = super().convert(value, param, ctx)
321 return mlevel(value)
322
323
324JSON_ARRAY = JsonArray()

Callers

nothing calls this directly

Calls 1

mlevelFunction · 0.90

Tested by

no test coverage detected