[sqlalchemy] Does the MRO matter when using declarative with mixins?

2011-10-17 Thread Russ
All the declarative examples have DeclarativeBase as the first/left base class. Does it need to be? I've swapped it in several code locations and experimented and it seems to be fine, but there's a lot going on with declarative and I'm vaguely paranoid about messing it up subtly by altering

Re: [sqlalchemy] Does the MRO matter when using declarative with mixins?

2011-10-17 Thread Michael Bayer
On Oct 17, 2011, at 11:38 AM, Russ wrote: All the declarative examples have DeclarativeBase as the first/left base class. Does it need to be? I've swapped it in several code locations and experimented and it seems to be fine, but there's a lot going on with declarative and I'm vaguely

Re: [sqlalchemy] Does the MRO matter when using declarative with mixins?

2011-10-17 Thread Russ
Great - thanks for the response. This was causing me more brain ache than I care to admit. My paranoia was rooted in the fact that the docs did seem to go out of their way to put the Base first (without specifically saying so) which is awkward as you say. Much appreciated. -- You received