Re: [sqlalchemy] Make the default _declarative_constructor work in mutliple inheritance situations

2016-07-02 Thread Jonathan Underwood
On 2 July 2016 at 14:54, Mike Bayer wrote: > > > On 07/02/2016 07:46 AM, Jonathan Underwood wrote: >> >> Hi, >> >> As documented, the default constructor for objects that inherit from >> Base doesn't work in multiple inheritance situations (unless Base is >> last in the

Re: [sqlalchemy] Make the default _declarative_constructor work in mutliple inheritance situations

2016-07-02 Thread Mike Bayer
On 07/02/2016 07:46 AM, Jonathan Underwood wrote: Hi, As documented, the default constructor for objects that inherit from Base doesn't work in multiple inheritance situations (unless Base is last in the list of classes, I suppose). It wouldn't be too difficult to change this without breaking

[sqlalchemy] Make the default _declarative_constructor work in mutliple inheritance situations

2016-07-02 Thread Jonathan Underwood
Hi, As documented, the default constructor for objects that inherit from Base doesn't work in multiple inheritance situations (unless Base is last in the list of classes, I suppose). It wouldn't be too difficult to change this without breaking existing expectations, I believe. Something like