flask-celery icon indicating copy to clipboard operation
flask-celery copied to clipboard

Using flask-celery compared to just celery

Open noraolsen77 opened this issue 12 years ago • 1 comments

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.

noraolsen77 avatar Apr 26 '12 03:04 noraolsen77

You can use pure celery. One of the big features of Flask-Celery is to provide integration with Flask-Script in creating manage commands.

rduplain avatar Apr 26 '12 13:04 rduplain