Skip to content

Commit

Permalink
BUGFIX: fixing legacy use cases of get_successors (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGPardo authored Aug 27, 2024
1 parent fa7b76a commit 63fe025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/drisk_api/graph_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def get_view_axes_and_filters(
x_node, y_node, *filters = [
uuid
for uuid, _ in sorted(
zip(*self.get_successors(view_node, weights=True)),
self.get_successors(view_node, weights=True),
key=lambda x: x[1],
)
]
Expand All @@ -342,7 +342,7 @@ def add_nodes_to_view(
x_node, y_node, *_ = [
uuid
for uuid, _ in sorted(
zip(*self.get_successors(view_node, weights=True)),
self.get_successors(view_node, weights=True),
key=lambda x: x[1],
)
]
Expand Down

0 comments on commit 63fe025

Please sign in to comment.