Explorar o código

Documents Celery.on_configure

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
b907c045c8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      docs/reference/celery.rst

+ 4 - 0
docs/reference/celery.rst

@@ -382,6 +382,10 @@ and creating Celery applications.
         Finalizes the app by loading built-in tasks,
         and evaluating pending task decorators
 
+    .. method:: Celery.on_configure()
+
+        Optional callback for when the first time the configured is required.
+
     .. attribute:: Celery.Pickler
 
         Helper class used to pickle this application.