Skip to content

Using flask-celery compared to just celery #18

@noraolsen77

Description

@noraolsen77

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions