[sqlalchemy] Re: splitting a relation into multiple properties

2007-04-17 Thread Michael Bayer
attached is an approach that uses just the tiniest amount of awareness of how a mapper works, to do the whole optimized loading scenario ahead of time, and you get an object with your two distinct pro and con relationships, no list decoration or anything needed. the appropriateness of

[sqlalchemy] Re: splitting a relation into multiple properties

2007-04-17 Thread jason kirtland
Michael wrote: attached is an approach that uses just the tiniest amount of awareness of how a mapper works, to do the whole optimized loading scenario ahead of time, and you get an object with your two distinct pro and con relationships, no list decoration or anything needed. the

[sqlalchemy] Re: splitting a relation into multiple properties

2007-04-17 Thread Michael Bayer
On Apr 17, 2007, at 3:19 PM, jason kirtland wrote: Michael wrote: attached is an approach that uses just the tiniest amount of awareness of how a mapper works, to do the whole optimized loading scenario ahead of time, and you get an object with your two distinct pro and con