Skip to content

Commit

Permalink
Remove documentable as it isn't used anywhere (#9008)
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm authored Nov 7, 2023
1 parent 6c1822f commit d88c698
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20231106-105730.yaml
Original file line number Diff line number Diff line change
@@ -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"
13 changes: 0 additions & 13 deletions core/dbt/node_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d88c698

Please sign in to comment.