浏览代码

Merge pull request #3251 from mistercrunch/doc_config_source

Document Celery.config_source
Ask Solem 9 年之前
父节点
当前提交
d40e92350b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      celery/app/base.py

+ 3 - 0
celery/app/base.py

@@ -135,6 +135,9 @@ class Celery(object):
     :keyword autofinalize: If set to False a :exc:`RuntimeError`
     :keyword autofinalize: If set to False a :exc:`RuntimeError`
         will be raised if the task registry or tasks are used before
         will be raised if the task registry or tasks are used before
         the app is finalized.
         the app is finalized.
+    :keyword config_source: receives a class with class level attributes that
+        allows configurating Celery from a single object. All attributes
+        described in the documentation can be defined.
 
 
     """
     """
     #: This is deprecated, use :meth:`reduce_keys` instead
     #: This is deprecated, use :meth:`reduce_keys` instead