MCPcopy
hub / github.com/celery/celery / _invoke_default_shell

Function _invoke_default_shell

celery/bin/shell.py:68–79  ·  view source on GitHub ↗
(locals)

Source from the content-addressed store, hash-verified

66
67
68def _invoke_default_shell(locals):
69 try:
70 import IPython # noqa
71 except ImportError:
72 try:
73 import bpython # noqa
74 except ImportError:
75 _invoke_fallback_shell(locals)
76 else:
77 _invoke_bpython_shell(locals)
78 else:
79 _invoke_ipython_shell(locals)
80
81
82@click.command(cls=CeleryCommand, context_settings={

Callers 1

shellFunction · 0.85

Calls 3

_invoke_fallback_shellFunction · 0.85
_invoke_bpython_shellFunction · 0.85
_invoke_ipython_shellFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…