Skip to content

Commit

Permalink
Relationship.start is deprecated, so using Relationship.start_node.id…
Browse files Browse the repository at this point in the history
… instead
  • Loading branch information
sarah256 authored and mprahl committed May 28, 2019
1 parent f82be78 commit 76bf975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion estuary/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def serialized_all(self):
for relationship, node in results:
# If the starting node in the relationship is the same as the node being serialized,
# we know that the relationship is outgoing
if relationship.start == self.id:
if relationship.start_node.id == self.id:
direction = OUTGOING
else:
direction = INCOMING
Expand Down

0 comments on commit 76bf975

Please sign in to comment.