From 8ed1a426f7d75e2f076bf73a1f2fec78e2652c5a Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 23 May 2024 10:48:57 -0400 Subject: [PATCH] add comment --- core/dbt/graph/queue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dbt/graph/queue.py b/core/dbt/graph/queue.py index 9aacd3bf52b..18ea15ac773 100644 --- a/core/dbt/graph/queue.py +++ b/core/dbt/graph/queue.py @@ -32,6 +32,7 @@ def __init__( selected: Set[UniqueId], preserve_edges: bool = True, ) -> None: + # 'create_empty_copy' returns a copy of the graph G with all of the edges removed, and leaves nodes intact. self.graph = graph if preserve_edges else nx.classes.function.create_empty_copy(graph) self.manifest = manifest self._selected = selected