examples/adjacencytree/byroot_tree.py not working

Issue #755 resolved
Former user created an issue

I am trying to create a patch for ticket 717 (fix examples to not import *). But examples/adjacencytree/byroot_tree.py seems to be busted, when I try to run it I get:

Traceback (most recent call last): File "byroot_tree.py", line 137, in <module> node2.append('subnode1') File "byroot_tree.py", line 53, in append self.children.append(node) AttributeError: 'MappedCollection' object has no attribute 'append'

  • Terry Weissman terry at weissman.org "trw" in #sqlalchemy

Comments (2)

  1. Former user Account Deleted

    Sigh. It seems like lots of the examples are busted. I'm not going to record which ones individually; someone more clueful than I needs to go through and check them all.

    • Terry Weissman terry at weissman.org "trw" in #sqlalchemy
  2. Log in to comment