[sqlalchemy] Use ORM mapped class as secondary-argument in relationship

2012-04-16 Thread Max S.
Hi, for an association table I specified a ORM mapped class that I wanted to use as secondary attribute in relationship(). But I discovered, that a Table or a callable can be used only. Because in my application I do not use any explicite Table definitions, but ORM only I need to write: foo =

Re: [sqlalchemy] Use ORM mapped class as secondary-argument in relationship

2012-04-16 Thread Michael Bayer
On Apr 16, 2012, at 4:03 AM, Max S. wrote: Hi, for an association table I specified a ORM mapped class that I wanted to use as secondary attribute in relationship(). But I discovered, that a Table or a callable can be used only. Because in my application I do not use any explicite Table