Skip to content

Instantly share code, notes, and snippets.

@anandtripathi5
Created April 21, 2021 09:03
Show Gist options
  • Save anandtripathi5/63883a8422bcba01b7d3f80a9f0de109 to your computer and use it in GitHub Desktop.
Save anandtripathi5/63883a8422bcba01b7d3f80a9f0de109 to your computer and use it in GitHub Desktop.
from celery import Celery
import celery_config
app = Celery(__name__)
app.config_from_object(celery_config)
@app.task()
def random_task():
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment