Guest User

Untitled

a guest
May 27th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. from celery.task import Task
  2.  
  3. class AddTwoNumbers(Task):
  4. @timed_task
  5. def run(self, num1, num2):
  6. return num1 + num2
Add Comment
Please, Sign In to add comment