Re: [sqlalchemy] (Micro-)feature request: sessionmaker.configure(class_=foo)

2016-07-11 Thread Mike Bayer
sure I can accept a PR for that... On 07/10/2016 03:47 PM, Martijn van Oosterhout wrote: Hoi, See $SUBJECT. This is a bit of a corner case, but sometimes I want to change the class_ generated by a sessionmaker(). There is a sessionmaker.configure() but it can configure everything except the

[sqlalchemy] (Micro-)feature request: sessionmaker.configure(class_=foo)

2016-07-10 Thread Martijn van Oosterhout
Hoi, See $SUBJECT. This is a bit of a corner case, but sometimes I want to change the class_ generated by a sessionmaker(). There is a sessionmaker.configure() but it can configure everything except the class. You can easily recreate it but if it is usually wrapped in a scoped_session and