librelist archives

« back to archive

Celery with app factories

Celery with app factories

From:
Lucas Hrabovsky
Date:
2011-02-08 @ 16:19
Hey all,

Has anyone found a good way of wiring in flask-celery with an app factory
pattern?

Going with something like https://gist.github.com/816650 but current_app
isnt always on the stack when its imported.

-Lucas

Re: [flask] Celery with app factories

From:
Pascal Hartig
Date:
2011-02-08 @ 21:47
Hi Lucas,

as far as I know, this is not supported right now. I guess you could
open a bug/feature request for this on github. I'd like to see app
factory support, as well.

Cheers,
Pascal

On Tue, Feb 8, 2011 at 5:19 PM, Lucas Hrabovsky
<hrabovsky.lucas@gmail.com> wrote:
> Hey all,
> Has anyone found a good way of wiring in flask-celery with an app factory
> pattern?
> Going with something like https://gist.github.com/816650 but current_app
> isnt always on the stack when its imported.
> -Lucas

Re: [flask] Celery with app factories

From:
Lucas Hrabovsky
Date:
2011-02-09 @ 17:13
Posted https://github.com/ask/flask-celery/issues/#issue/6

On Tue, Feb 8, 2011 at 4:47 PM, Pascal Hartig <phartig@rdrei.net> wrote:

> Hi Lucas,
>
> as far as I know, this is not supported right now. I guess you could
> open a bug/feature request for this on github. I'd like to see app
> factory support, as well.
>
> Cheers,
> Pascal
>
> On Tue, Feb 8, 2011 at 5:19 PM, Lucas Hrabovsky
> <hrabovsky.lucas@gmail.com> wrote:
> > Hey all,
> > Has anyone found a good way of wiring in flask-celery with an app factory
> > pattern?
> > Going with something like https://gist.github.com/816650 but current_app
> > isnt always on the stack when its imported.
> > -Lucas
>