Re: [sqlalchemy] Relationship wrt. inheritance problem (and suggested patch)

2011-05-16 Thread Torsten Landschoff
On Fri, 2011-04-29 at 20:14 -0400, Michael Bayer wrote: Do you want me to write a patch including a test case for the test suite? sure if you're inclined Sorry for leaving that slip. I just noticed that you fixed it and in a much better way than I would have been able to come up

Re: [sqlalchemy] Relationship wrt. inheritance problem (and suggested patch)

2011-04-29 Thread Torsten Landschoff
On Thu, 2011-04-28 at 11:36 -0400, Michael Bayer wrote: funny, that's absolutely a bug and it works in declarative because the same fix you have there was already applied some time ago within declarative. this is #2153 targeted at 0.6.8 so I will get to it when i make a pass through a set of

Re: [sqlalchemy] Relationship wrt. inheritance problem (and suggested patch)

2011-04-29 Thread Michael Bayer
On Apr 29, 2011, at 2:17 AM, Torsten Landschoff wrote: On Thu, 2011-04-28 at 11:36 -0400, Michael Bayer wrote: funny, that's absolutely a bug and it works in declarative because the same fix you have there was already applied some time ago within declarative. this is #2153 targeted at

[sqlalchemy] Relationship wrt. inheritance problem (and suggested patch)

2011-04-28 Thread Torsten Landschoff
Hello world! I am currently trying to transform my code from classic (schema defined in an extra python module) to declarative. As intermediate step I am moving the table definitions to the class implementations. What I am running into is sketched in the following example. In reality, I have

Re: [sqlalchemy] Relationship wrt. inheritance problem (and suggested patch)

2011-04-28 Thread Michael Bayer
funny, that's absolutely a bug and it works in declarative because the same fix you have there was already applied some time ago within declarative. this is #2153 targeted at 0.6.8 so I will get to it when i make a pass through a set of small 0.6.8 issues later in the week. On Apr 28, 2011,