Source

celery-paste / mytasks.py

"""
my tasks module
"""
from celery.task import Task


class AddTask(Task):

    def run(self, x, y):
        return x+y