This document describes the current stable version of Celery (3.1). For development docs, go here.

celery.app.annotations

celery.app.annotations

Annotations is a nice term for monkey patching task classes in the configuration.

This prepares and performs the annotations in the CELERY_ANNOTATIONS setting.

class celery.app.annotations.MapAnnotation[source]
annotate(task)[source]
annotate_any()[source]
celery.app.annotations.prepare(annotations)[source]

Expands the CELERY_ANNOTATIONS setting.

celery.app.annotations.resolve_all(anno, task)[source]