Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created April 9, 2014 23:04
Show Gist options
  • Select an option

  • Save dstufft/10327991 to your computer and use it in GitHub Desktop.

Select an option

Save dstufft/10327991 to your computer and use it in GitHub Desktop.
from celery import Celery
app = Celery(broker="redis://...")
@app.task
def my_task():
pass
my_task.delay()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment