Hi,

I'm currently using a webframework which uses sqlalchemy. Each time a 
request hits the server, the framework creates a session object I can 
use during the page creation.

I wish you could update this session with one of my SessionExtension but 
I'm facing a small problem:

I tested my code with a standalone session I had created with this 
syntax : session = create_session(extension=MySessionExtension()) and 
everything works. When I try the same code in my web context and I do:

"""""""""""""""""
from framework.db import session

session.extension = MySessionExtension()

.
.
.

"""""""""""""""

None of my extension session methods are called.

Any idea ?

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

Reply via email to