typo in the DbArea.ancestors attribute:
ancestors = association_proxy("ancestor_rels", "ancestor")
more demos:
print s.query(DbArea).filter_by(name="Kaymoor").one().ancestors
print s.query(DbArea).filter_by(name="Kaymoor").one().descendents
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.