Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from celery import Celery
- app = Celery('tasks', broker='amqp://guest@localhost//')
- @app.task
- def add(x, y):
- return x + y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement