6.4.2.6. celeryΒΆ

Dispatcher.celery(import_name=None, **options)[source]

Creates a dispatcher Celery app.

Parameters:
  • import_name (str, optional) – The name of the application package.
  • options (dict, optional) – Flask options.
Returns:

Flask app based on the given dispatcher.

Return type:

celery.Celery