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

Method __init__

celery/bin/base.py:379–381  ·  view source on GitHub ↗

Initialize the log level option with the relevant choices.

(self)

Source from the content-addressed store, hash-verified

377 """Log level option."""
378
379 def __init__(self):
380 """Initialize the log level option with the relevant choices."""
381 super().__init__(('DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL', 'FATAL'))
382
383 def convert(self, value, param, ctx):
384 if isinstance(value, numbers.Integral):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected