소스 검색

Document Celery.config_source

Maxime Beauchemin 8 년 전
부모
커밋
17ce8f6916
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`
         will be raised if the task registry or tasks are used before
         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