Skip to content

Commit

Permalink
removed deprication for materialization-return and replaced it with a…
Browse files Browse the repository at this point in the history
…n exception

automatic commit by git-black, original commits:
  080d273
  • Loading branch information
emmyoop authored and iknox-fa committed Feb 8, 2022
1 parent 1b5e9ca commit 7505a45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/dbt/task/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ def _materialization_relations(self, result: Any, model) -> List[BaseRelation]:
if isinstance(result, str):
msg = (
'The materialization ("{}") did not explicitly return a '
'list of relations to add to the cache.'
.format(str(model.get_materialization()))
"list of relations to add to the cache.".format(str(model.get_materialization()))
)
raise CompilationException(msg, node=model)

Expand Down

0 comments on commit 7505a45

Please sign in to comment.