Dear all,

I'm using the web.py framework, the documentation of which recommends to use
SqlAlchemy this way :
http://webpy.org/cookbook/sqlalchemy

Basically a load hook is loaded before the actual request is processed.

However :

1) They recommend to bind scoped_session at every request, which is, I
think, unnecessary
2) They trigger a *commit *at the end of every request (in the finally
block), but I would like to adjust this behavior. I know orm.is_modified
requires an instance, so do I have some flag in the scoped_session  which
could let me know if *some* instance has been modified ?

Thanks a lot !
Franck

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to