Also, a decent strategy to use is this:

a) Your client does a lot of business logic in Pyramid.  When you need to 
bill you hit an internal API or create a celery task

b) You render a "waiting" page, and have ajax, or refresh, check to see if 
the internal API , or celery, is done processing

c) when the internal api is done processing, you show the "thank you" 
screen.

getting my SqlAlchemy model to work on Celery was a bit of a nightmare.  i 
can try and dig up exactly what I did.

IIRC, the problem was the Celery didn't seem to have an 'on initialization' 
routine, so I had to do some janky shit call my sqlalchemy initialization 
stuff.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to