On Nov 19, 2013, at 1:33 PM, Jonathan Vanasco <[email protected]> wrote:

> Thats a great idea. I'll tackle that next.
> 
> 
> I'm having a bit of trouble adapting the recipe to my existing [pyramid] 
> application. 
> 
> 
> I'm not seeing a .info property on my sessions in `_connection_for_session`. 
> 
> 
> I am using scoped sessions, and the recipe does work fine on this machine / 
> virtualenv as-is and replacing scoped sessions . 

well it’s a bug that scoped_session doesn’t export .info, that’s fixed in 
master/rel_0_9.

if you have a scoped_session, just get the current session by calling it, 
my_scoped_session().info.


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to