Re: [sqlalchemy] polymorphic objects

2015-04-28 Thread Richard Gerd Kuesters
yeah, i know. sorry for the late question, i think i was a bit too tired to continue coding. anyway, i circumvented the problem by using a select using A.__table__, which works for what I need (i have a heavily modified hierarchical extension based on Mariano Mara's code

[sqlalchemy] polymorphic objects

2015-04-27 Thread Richard Gerd Kuesters
well, i'm having trouble dealing with polymorphic objects. i mean, the functionality is fine, i just don't know how to obtain the main object. let me be clear: i have A, which is my main object, and is inherited by B and C. I would like to work with the A object, even though it's polymorphic