Re: [sqlalchemy] bidirectional self-referential many-to-many

2010-08-03 Thread Michael Bayer
On Aug 3, 2010, at 3:37 AM, Enrico wrote: > I'm trying to use the object association pattern from the doco. Is it > the case that this requires departure from Declarative mode and is it > wrong to mix with non-declarative? it is perfectly fine to mix non-declarative with declarative. However, i

[sqlalchemy] bidirectional self-referential many-to-many

2010-08-03 Thread Enrico
I'm trying to use the object association pattern from the doco. Is it the case that this requires departure from Declarative mode and is it wrong to mix with non-declarative? I looked at the example code optimized_al.py but it didn't seem to be exactly what I want. I want a symmetric relation for a