Skip to content

Instantly share code, notes, and snippets.

@borodedamie
Created January 28, 2023 10:17
Show Gist options
  • Save borodedamie/61919c8659020dcfe4f7bccfb6df9541 to your computer and use it in GitHub Desktop.
Save borodedamie/61919c8659020dcfe4f7bccfb6df9541 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