Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using flask-celery compared to just celery #18

Open
noraolsen77 opened this issue Apr 26, 2012 · 1 comment
Open

Using flask-celery compared to just celery #18

noraolsen77 opened this issue Apr 26, 2012 · 1 comment

Comments

@noraolsen77
Copy link

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.

@rduplain
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants