From 618957eaac3553c966e84bd191b93d0eb54abab2 Mon Sep 17 00:00:00 2001 From: Andrew Sweet Date: Sat, 23 Mar 2024 20:45:26 -0400 Subject: [PATCH] fn order --- core/dbt/graph/selector_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/graph/selector_methods.py b/core/dbt/graph/selector_methods.py index 629158a95d4..e7b071769a4 100644 --- a/core/dbt/graph/selector_methods.py +++ b/core/dbt/graph/selector_methods.py @@ -278,7 +278,7 @@ def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[Uniqu """yields nodes from included in the specified group""" for node, real_node in self.groupable_nodes(included_nodes): node_group = real_node.config.get("group") - if node_group and fnmatch(selector, node_group): + if node_group and fnmatch(node_group, selector): yield node