From edd378a2e835a30f64b798578a00d9b9c470b0af Mon Sep 17 00:00:00 2001 From: Renan Leme Date: Fri, 22 Sep 2023 22:43:29 +0200 Subject: [PATCH] CT-3144 Rename vars --- core/dbt/graph/graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dbt/graph/graph.py b/core/dbt/graph/graph.py index 86d8f299212..71e46b54f0e 100644 --- a/core/dbt/graph/graph.py +++ b/core/dbt/graph/graph.py @@ -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