hal_robertson wrote:
> AttributeError: 'Z' object has no attribute '__composite_values__'
>
> using sqlalchemy.orm.composite to map instances of Z to composite
> tables
> requires that Z define __init__, __composite_values__, and ideally
> __set_composite_values__, and __eq__, which are specific to how Z is
> mapped

why is that the case ?  Z only needs to deal with its z1 and z2
attributes.   its a value object, just like any int or string value, and
has no awareness of how it's "mapped".




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to