Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-17 Thread Michael Bayer
mike...@zzzcomputing.com Sent by: sqlalchemy@googlegroups.com Date: 04/16/2010 02:57PM Subject: Re: [sqlalchemy] Concrete table inheritance without a master table w...@nobleenergyinc.com wrote: Here's the issue, boiled down to one file. On import, the last statement fails, mapping

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-16 Thread WDyk
Here's the issue, boiled down to one file. On import, the last statement fails, mapping the Connections object. I just need to map two relations on an association object (Connections) to a polymorphic union (NetworkNode). Is there a way to do this? sqlalchemy.exc.ArgumentError: Column

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-16 Thread Michael Bayer
w...@nobleenergyinc.com wrote: Here's the issue, boiled down to one file. On import, the last statement fails, mapping the Connections object. I just need to map two relations on an association object (Connections) to a polymorphic union (NetworkNode). Is there a way to do this? your

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-16 Thread Michael Bayer
Michael Bayer wrote: w...@nobleenergyinc.com wrote: Here's the issue, boiled down to one file. On import, the last statement fails, mapping the Connections object. I just need to map two relations on an association object (Connections) to a polymorphic union (NetworkNode). Is there a way

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-16 Thread WDyk
-sqlalch...@googlegroups.com wrote: - To: sqlalchemy@googlegroups.com From: Michael Bayer mike...@zzzcomputing.com Sent by: sqlalchemy@googlegroups.com Date: 04/16/2010 02:57PM Subject: Re: [sqlalchemy] Concrete table inheritance without a master table w...@nobleenergyinc.com wrote

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-15 Thread WDyk
up when the relation properties are not the association object, as the foreign key would be defined in connecttb, if that were possible.. By the way, this is all read-only. Wes Dyk Re: [sqlalchemy] Concrete table inheritance without a master table Michael Bayer to: sqlalchemy 04/14/2010 06

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-15 Thread Michael Bayer
read-only. Wes Dyk Re: [sqlalchemy] Concrete table inheritance without a master table Michael Bayer to: sqlalchemy 04/14/2010 06:07 PM Sent by: sqlalchemy@googlegroups.com Please respond to sqlalchemy On Apr 14, 2010, at 7:51 PM, w

[sqlalchemy] Concrete table inheritance without a master table

2010-04-14 Thread WDyk
I've got a legacy database that I need to work through the following scenario with. There are four types of objects, completions, meters, tanks and equipment. Each has its own table. There is no master table representing all the entities. There is a connection table that describes the

Re: [sqlalchemy] Concrete table inheritance without a master table

2010-04-14 Thread Michael Bayer
On Apr 14, 2010, at 7:51 PM, w...@nobleenergyinc.com wrote: I've got a legacy database that I need to work through the following scenario with. There are four types of objects, completions, meters, tanks and equipment. Each has its own table. There is no master table representing all