Python celery.decorators.task() Examples

The following are 1 code examples of celery.decorators.task(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module celery.decorators , or try the search function .
Example #1
Source File: tasks.py    From Spirit with MIT License 5 votes vote down vote up
def task(f):
        f.delay = f
        return f