This document describes the current stable version of Celery (4.0). For development docs, go here.

celery.bin.shell

The celery shell program, used to start a REPL.

class celery.bin.shell.shell(app=None, get_app=None, no_color=False, stdout=None, stderr=None, quiet=False, on_error=None, on_usage_error=None)[source]

Start shell session with convenient access to celery symbols.

The following symbols will be added to the main globals:

  • celery: the current application.
  • chord, group, chain, chunks, xmap, xstarmap subtask, Task
  • all registered tasks.
add_arguments(parser)[source]
invoke_bpython_shell()[source]
invoke_default_shell()[source]
invoke_fallback_shell()[source]
invoke_ipython_shell()[source]
run(*args, **kwargs)[source]