Skip to content

Commit

Permalink
CT-3144 Rename vars
Browse files Browse the repository at this point in the history
  • Loading branch information
renanleme committed Sep 22, 2023
1 parent 998ceeb commit edd378a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/dbt/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def exclude_edge_type(self, edge_type_to_exclude):
filter_edge=partial(self.filter_edges_by_type, edge_type=edge_type_to_exclude),
)

def filter_edges_by_type(self, node_1, node_2, edge_type):
return self.graph[node_1][node_2].get("edge_type", edge_type)
def filter_edges_by_type(self, first_node, second_node, edge_type):
return self.graph[first_node][second_node].get("edge_type", edge_type)

def select_childrens_parents(self, selected: Set[UniqueId]) -> Set[UniqueId]:
ancestors_for = self.select_children(selected) | selected
Expand Down

0 comments on commit edd378a

Please sign in to comment.