Hello

I use Pylons. Pylons does:

Session = scoped_session(sessionmaker())

and then:

Session.configure(bind=engine)

My question: with a reference to Session how can I get the engine
that's bound to it? I tried Session.get_bind() but I get this error:
"TypeError: get_bind() takes at least 2 arguments (1 given)".


Thanks a lot,


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@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