From d88c6987a25339558fcdaf3cf5efe9ef6f8b2e00 Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Tue, 7 Nov 2023 09:12:36 -0800 Subject: [PATCH] Remove `documentable` as it isn't used anywhere (#9008) --- .../unreleased/Under the Hood-20231106-105730.yaml | 6 ++++++ core/dbt/node_types.py | 13 ------------- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 .changes/unreleased/Under the Hood-20231106-105730.yaml diff --git a/.changes/unreleased/Under the Hood-20231106-105730.yaml b/.changes/unreleased/Under the Hood-20231106-105730.yaml new file mode 100644 index 00000000000..6678ae0634d --- /dev/null +++ b/.changes/unreleased/Under the Hood-20231106-105730.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Removing unused 'documentable' +time: 2023-11-06T10:57:30.694056-08:00 +custom: + Author: QMalcolm + Issue: "8871" diff --git a/core/dbt/node_types.py b/core/dbt/node_types.py index f1961db9d08..edcfa28f67b 100644 --- a/core/dbt/node_types.py +++ b/core/dbt/node_types.py @@ -64,19 +64,6 @@ def versioned(cls) -> List["NodeType"]: cls.Model, ] - @classmethod - def documentable(cls) -> List["NodeType"]: - return [ - cls.Model, - cls.Seed, - cls.Snapshot, - cls.Source, - cls.Macro, - cls.Analysis, - cls.Exposure, - cls.Metric, - ] - def pluralize(self) -> str: if self is self.Analysis: return "analyses"