celery.app.annotations
celery.app.annotations
Annotations is a nice term for moneky patching task classes in the configuration.
This prepares and performs the annotations in the CELERY_ANNOTATIONS setting.
class celery.app.annotations.MapAnnotation[源代码]
celery.app.annotations.prepare(annotations)[源代码]
Expands the CELERY_ANNOTATIONS setting.
celery.app.annotations.resolve_all(anno, task)[源代码]