Re: [sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-30 Thread Charles Langlois
Okay, thanks a lot. 2017-10-28 13:36 GMT-04:00 Mike Bayer : > On Fri, Oct 27, 2017 at 9:54 PM, wrote: > > I'm not querying polymorphically. > > > > Let me restate the problem with more details(my post as done in haste). > > > > With something

Re: [sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-28 Thread Mike Bayer
On Fri, Oct 27, 2017 at 9:54 PM, wrote: > I'm not querying polymorphically. > > Let me restate the problem with more details(my post as done in haste). > > With something like the example I gave(completed with what's missing, e.g. > table names, definition for related

Re: [sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-27 Thread charles
I'm not querying polymorphically. Let me restate the problem with more details(my post as done in haste). With something like the example I gave(completed with what's missing, e.g. table names, definition for related table), # setup connection # create a session session = Session(...)

Re: [sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-27 Thread Mike Bayer
On Fri, Oct 27, 2017 at 11:57 AM, wrote: > My SQLAlchemy version is 1.1.14. > > I'm having difficulty understanding behaviours around a polymorphic > hierarchy. > > I have an AbstractConcreteBase and two subclasses. > > The ACB declares some attributes shared by the two

Re: [sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-27 Thread Simon King
On Fri, Oct 27, 2017 at 4:57 PM, wrote: > My SQLAlchemy version is 1.1.14. > > I'm having difficulty understanding behaviours around a polymorphic > hierarchy. > > I have an AbstractConcreteBase and two subclasses. > > The ACB declares some attributes shared by the two

[sqlalchemy] Excluding attributes from polymorphic hierarchy

2017-10-27 Thread charles
My SQLAlchemy version is 1.1.14. I'm having difficulty understanding behaviours around a polymorphic hierarchy. I have an AbstractConcreteBase and two subclasses. The ACB declares some attributes shared by the two subclasses, and the subclasses have attributes of their own that are not