[sqlalchemy] Re: Is it possible to map more complex objects with a composite?

2009-09-04 Thread Michael Bayer
mgemmill wrote: What would be the recommended method of mapping something like a Money class - objects that are a basic value + descriptor where the descriptor (in this example currency) is more than just a primitive variable? For example: class Currency(object): def

[sqlalchemy] Re: Is it possible to map more complex objects with a composite?

2009-09-04 Thread mgemmill
Thanks for pointing me in the right direction Michael. On Sep 4, 7:34 am, Michael Bayer mike...@zzzcomputing.com wrote: mgemmill wrote: What would be the recommended method of mapping something like a Money class - objects that are a basic value + descriptor where the descriptor (in this