Re: Weird Alembic Behavior

2017-10-30 Thread Mike Bayer
On Mon, Oct 30, 2017 at 11:23 PM, wrote: > I have 2 migration scripts. > > The first 1 (base) is this > > from models import EntityProperty > from contextlib import contextmanager > > # revision identifiers, used by Alembic. > revision = 'ecbde8fa83e3' > down_revision = None

Re: [sqlalchemy] Trying to get filtering and ordering to work with hybrid properties in single table inheritance

2017-10-30 Thread Mike Bayer
On Mon, Oct 30, 2017 at 6:43 PM, Tucker Beck wrote: > I wrestled through getting a model heirarchy to work with single-table > inheritance that is polymorphic on a hybrid attribute on this mailing list a > while ago. > > see:

[sqlalchemy] Trying to get filtering and ordering to work with hybrid properties in single table inheritance

2017-10-30 Thread Tucker Beck
I wrestled through getting a model heirarchy to work with single-table inheritance that is polymorphic on a hybrid attribute on this mailing list a while ago. see: https://groups.google.com/d/topic/sqlalchemy/KJXSHwbhbLA/discussion The problem I'm running into now is that it doesn't seem to

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