celery.app.rst 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .. currentmodule:: celery.app
  2. .. automodule:: celery.app
  3. .. contents::
  4. :local:
  5. Application
  6. -----------
  7. .. autoclass:: Celery
  8. .. attribute:: main
  9. Name of the `__main__` module. Required for standalone scripts.
  10. If set this will be used instead of `__main__` when automatically
  11. generating task names.
  12. .. autoattribute:: amqp
  13. .. autoattribute:: backend
  14. .. autoattribute:: loader
  15. .. autoattribute:: conf
  16. .. autoattribute:: control
  17. .. autoattribute:: log
  18. .. automethod:: config_from_object
  19. .. automethod:: config_from_envvar
  20. .. automethod:: config_from_cmdline
  21. .. automethod:: task
  22. .. automethod:: create_task_cls
  23. .. automethod:: send_task
  24. .. autoattribute:: AsyncResult
  25. .. autoattribute:: TaskSetResult
  26. .. automethod:: worker_main
  27. .. autoattribute:: Worker
  28. .. autoattribute:: Beat
  29. .. automethod:: broker_connection
  30. .. automethod:: with_default_connection
  31. .. automethod:: mail_admins
  32. .. automethod:: prepare_config
  33. .. automethod:: either
  34. Functions
  35. ---------
  36. .. autofunction:: app_or_default