On Apr 26, 2014, at 11:13 PM, Brian Findlay <[email protected]> wrote:

> I'm almost certainly exposing my level of ignorance here, but does this mean 
> I could just replace
> 
> DBSession.configure(binds={DB1:db1_engine, DB2:db2_engine})
> 
> with
> 
> DBSession.configure(class_=MySession)
> 
> ?
> 
> I suppose I could even use
> 
> DBSession = scoped_session(sessionmaker(class_=MySession, 
> extension=ZopeTransactionExtension()))

had to check, but yes sessionmaker() accepts a custom session class as class_.


-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to