diff --git a/.changes/unreleased/Fixes-20230601-204157.yaml b/.changes/unreleased/Fixes-20230601-204157.yaml new file mode 100644 index 00000000000..fb6ca636e1e --- /dev/null +++ b/.changes/unreleased/Fixes-20230601-204157.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Remove unused check_new method +time: 2023-06-01T20:41:57.556342+02:00 +custom: + Author: kevinneville + Issue: "7586" diff --git a/core/dbt/graph/selector_methods.py b/core/dbt/graph/selector_methods.py index 613bd4d7d5c..380bad2e273 100644 --- a/core/dbt/graph/selector_methods.py +++ b/core/dbt/graph/selector_methods.py @@ -727,9 +727,6 @@ def check_modified_contract(old: Optional[SelectorTarget], new: SelectorTarget) return check_modified_contract - def check_new(self, old: Optional[SelectorTarget], new: SelectorTarget) -> bool: - return old is None - def search(self, included_nodes: Set[UniqueId], selector: str) -> Iterator[UniqueId]: if self.previous_state is None or self.previous_state.manifest is None: raise DbtRuntimeError("Got a state selector method, but no comparison manifest")