celery.app.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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:: pre_config_merge
  34. .. automethod:: post_config_merge
  35. .. automethod:: either
  36. .. automethod:: merge
  37. Functions
  38. ---------
  39. .. autofunction:: app_or_default