diff --git a/src/pyelephant.py b/src/pyelephant.py index ee445bc..6292f86 100755 --- a/src/pyelephant.py +++ b/src/pyelephant.py @@ -35,7 +35,8 @@ class Task(Base): 'Task', secondary=depends_association, primaryjoin=id == depends_association.c.first_id, - secondaryjoin=id == depends_association.c.second_id + secondaryjoin=id == depends_association.c.second_id, + backref="parents" )