Hi,
Running python 3.3.4, pyramid 1.5b1, sqlalchemy 0.9.3.
A couple of months ago Mike helped to set up composite association proxies
in my model (
https://groups.google.com/forum/#!searchin/sqlalchemy/composite$20association$20object/sqlalchemy/kxU-FaDGO2Q/b8ScnTXvPyIJ).
I'm applying this
can you please provide a working fixture of this form:
user = User()
occupations = [Occupation(title='o1'), Occupation(title='o2'),
Occupation(title='o3')]
interests = [Interest(name='i1'), Interest(name='i2'), Interest(name='i3')]
user.interests['i1'] = interests[0]
Thanks, Mike.
I found some records in the occupations table without interest values in
the occupations_interests table, explaining the KeyErrors. Facepalm.
-Brian
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To unsubscribe from this group