celery.app.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .. currentmodule:: celery.app
  2. .. automodule:: celery.app
  3. .. contents::
  4. :local:
  5. Application
  6. -----------
  7. .. autoclass:: App
  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:: TaskSet
  24. .. automethod:: send_task
  25. .. automethod:: AsyncResult
  26. .. automethod:: TaskSetResult
  27. .. automethod:: worker_main
  28. .. automethod:: Worker
  29. .. automethod:: Beat
  30. .. automethod:: broker_connection
  31. .. automethod:: with_default_connection
  32. .. automethod:: mail_admins
  33. .. automethod:: prepare_config
  34. .. automethod:: either
  35. Functions
  36. ---------
  37. .. autofunction:: app_or_default