Skip to content

Instantly share code, notes, and snippets.

@bencleary
Last active December 16, 2017 15:10
Show Gist options
  • Save bencleary/98fcb1c702068e25a1129dd17344f5ea to your computer and use it in GitHub Desktop.
Save bencleary/98fcb1c702068e25a1129dd17344f5ea to your computer and use it in GitHub Desktop.
from __future__ import absolute_import, unicode_literals
from celery import shared_task
@shared_task
def add(x, y):
return x + y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment