Instantly share code, notes, and snippets.

Embed
What would you like to do?
simplequeue.py
from celery.app import app_or_default
app = app_or_default()
connection = app.connection()
queue = connection.SimpleQueue('queue')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment