[sqlalchemy] Proxy objects and SA joined inheritance

2012-03-05 Thread Pete Erickson
Is is possible to set the polymorphic_on attribute on an object that is not directly tied to a db table, but has access to the db attribute via delegation? I have a generic Product class that processes an XML to obtain its generic attributes (uuid, type, etc). Afterwards, the product is

[sqlalchemy] Re: Object delegation and SA inheritance

2012-03-05 Thread Pete Erickson
Thanks for the response, however sorry that I posted the question twice. I had some computer problems over the weekend and didn't think that my original email made it through. On Mar 5, 2:52 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Mar 3, 2012, at 10:03 AM, Peter Erickson wrote: I

[sqlalchemy] Relations between Objects using Inheritance

2009-12-11 Thread Pete Erickson
Forgive me if this has been asked before, but I can't seem to find the answer. I'm trying to create a set of objects (Request and Response) that have a base object of Packet. The Packet table contains the general attributes such as the type and subtype whereas the Request and Response tables