[sqlalchemy] self-referential many-to-many relationships and mixins

2013-08-13 Thread till.plewe
I am using python 3.3 and sqlalchemy 0.8.2 I am trying to define a self-referential many-to-many relationship for a class where the primary key is provided by a mixin. Defining the primary directly in the class works. Using the mixin does not. I would be grateful for any suggestions or

Re: [sqlalchemy] self-referential many-to-many relationships and mixins

2013-08-13 Thread Simon King
On Tue, Aug 13, 2013 at 2:07 PM, till.plewe till.pl...@gmail.com wrote: I am using python 3.3 and sqlalchemy 0.8.2 I am trying to define a self-referential many-to-many relationship for a class where the primary key is provided by a mixin. Defining the primary directly in the class works.

Re: [sqlalchemy] self-referential many-to-many relationships and mixins

2013-08-13 Thread till plewe
Thank you. That does the trick. Till On Tue, Aug 13, 2013 at 10:54 PM, Simon King si...@simonking.org.uk wrote: On Tue, Aug 13, 2013 at 2:07 PM, till.plewe till.pl...@gmail.com wrote: I am using python 3.3 and sqlalchemy 0.8.2 I am trying to define a self-referential many-to-many