This document describes the current stable version of Celery (3.1). For development docs,
go here.
celery.app.routes
Contains utilities for working with task routers,
(CELERY_ROUTES).
-
class celery.app.routes.MapRoute(map)[source]
Creates a router out of a dict.
-
route_for_task(task, *args, **kwargs)[source]
-
class celery.app.routes.Router(routes=None, queues=None, create_missing=False, app=None)[source]
-
expand_destination(route)[source]
-
lookup_route(task, args=None, kwargs=None)[source]
-
route(options, task, args=(), kwargs={})[source]
-
celery.app.routes.prepare(routes)[source]
Expands the CELERY_ROUTES setting.