Re: [sqlalchemy] Missing synonyms with multi-inheritance

2018-05-09 Thread Derek Lambert
That was my conclusion too after consulting the googles. I've done as you suggested and things are working as expected. Thanks! On Monday, April 30, 2018 at 4:26:02 PM UTC-5, Mike Bayer wrote: > > On Mon, Apr 30, 2018 at 4:18 PM, Derek Lambert > wrote: > >> > >>

[sqlalchemy] Re: ClauseAdapter.traverse alternative?

2018-05-09 Thread Zac Goldstein
Thanks for the pointers and for checking. I misidentified the problem in traverse. It does eventually iterate down to just the columns in the call to _copy_internals. So the problem boils down to the second thing I mentioned which is the require_embedded parameter being set to true when

Re: [sqlalchemy] ClauseAdapter.traverse alternative?

2018-05-09 Thread Mike Bayer
On Wed, May 9, 2018 at 3:28 AM, Zac Goldstein wrote: > I'm trying to use ClauseAdapter.traverse similar to how it's used in your > old blog post to substitute columns in arbitrary clauses with columns on a > different selectable that share an ancestor: >

[sqlalchemy] ClauseAdapter.traverse alternative?

2018-05-09 Thread Zac Goldstein
I'm trying to use ClauseAdapter.traverse similar to how it's used in your old blog post to substitute columns in arbitrary clauses with columns on a different selectable that share an ancestor: http://techspot.zzzeek.org/archive/2008/01/1/ Even in a simple case using a BinaryExpression,