flask-celery
flask-celery copied to clipboard
Using flask-celery compared to just celery
Hi,
This might be a stupid question, since I am a first time user.
I can define a route as such: @app.route("/celery", methods=['GET']) def celery(): from myTasks import calc calc.delay().get()
and myTask.py from celery.task import task
@task() def calc(): ....
I'm not too clear what does this extension brings to flask?
Thanks.
You can use pure celery. One of the big features of Flask-Celery is to provide integration with Flask-Script in creating manage commands.