Browse Source

(->2.2) Document arguments to App

Ask Solem 14 years ago
parent
commit
26b8521a28
1 changed files with 6 additions and 0 deletions
  1. 6 0
      celery/app/__init__.py

+ 6 - 0
celery/app/__init__.py

@@ -28,11 +28,17 @@ _tls.current_app = None
 class App(base.BaseApp):
     """Celery Application.
 
+    :param main: Name of the main module if running as `__main__`.
     :keyword loader: The loader class, or the name of the loader class to use.
                      Default is :class:`celery.loaders.app.AppLoader`.
     :keyword backend: The result store backend class, or the name of the
                       backend class to use. Default is the value of the
                       :setting:`CELERY_RESULT_BACKEND` setting.
+    :keyword amqp: AMQP object or class name.
+    :keyword events: Events object or class name.
+    :keyword log: Log object or class name.
+    :keyword control: Control object or class name.
+    :keyword set_as_current:  Make this the global current app.
 
     """