Re: [sqlalchemy] Update timestamp with many levels of join inheritance

2017-07-31 Thread Chris Satterthwaite
Hi Mike, Thanks for the quick reply. Solution found. I tried both the event.listens and event.listens_for route before, but I was trying to use explicit relationships instead of the propagate flag. Thanks for the hint on propagate=True. That lead me to see my problem (that I also hit

Re: [sqlalchemy] Update timestamp with many levels of join inheritance

2017-07-31 Thread Mike Bayer
On Mon, Jul 31, 2017 at 4:37 PM, Chris Satterthwaite wrote: > Conceptually, what I’m trying to do is: > > 1) Enable queries for a higher level type (e.g. Node) to return all > direct instances and sub-class instances (e.g. Node, [Servers, [UnixType, > [Linux, AIX]]]) > >

[sqlalchemy] Update timestamp with many levels of join inheritance

2017-07-31 Thread Chris Satterthwaite
Conceptually, what I’m trying to do is: 1) Enable queries for a higher level type (e.g. Node) to return all direct instances and sub-class instances (e.g. Node, [Servers, [UnixType, [Linux, AIX]]]) 2) Enable a set of attributes to be inherited by all sub-types 3) Enable an