MCPcopy
hub / github.com/celery/celery / __init__

Method __init__

celery/bin/base.py:40–45  ·  view source on GitHub ↗

Initialize the CLI context.

(self, app, no_color, workdir, quiet=False)

Source from the content-addressed store, hash-verified

38 """Context Object for the CLI."""
39
40 def __init__(self, app, no_color, workdir, quiet=False):
41 """Initialize the CLI context."""
42 self.app = app or get_current_app()
43 self.no_color = no_color
44 self.quiet = quiet
45 self.workdir = workdir
46
47 @cached_property
48 def OK(self):

Callers

nothing calls this directly

Calls 1

get_current_appFunction · 0.90

Tested by

no test coverage detected