celery.app.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. .. automethod:: merge
  36. Functions
  37. ---------
  38. .. autofunction:: app_or_default