This document describes the current stable version of Celery (5.5). For development docs, go here.
celery.app.routes
¶
Task Routing.
Contains utilities for working with task routers, (task_routes
).
- class celery.app.routes.Router(routes=None, queues=None, create_missing=False, app=None)[source]¶
Route tasks based on the
task_routes
setting.
- celery.app.routes.prepare(routes)[source]¶
Expand the
task_routes
setting.