From 0d834a5de2027075251d65865368a672c1a28e2c Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Tue, 26 Oct 2021 11:16:36 -0400 Subject: [PATCH] [#3885] Handle env_vars in partial parsing of SQL files (#4101) * [#3885] Handle env_vars in partial parsing * Comment method to build env_vars_to_source_files automatic commit by git-black, original commits: 32c559838d692c572a6a33446c5d71b63b88d257 73af9a56e50c18ff116aabfbd3fca448db113d5e --- core/dbt/task/run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/dbt/task/run.py b/core/dbt/task/run.py index b95b1abfdf0..90896b7e8c7 100644 --- a/core/dbt/task/run.py +++ b/core/dbt/task/run.py @@ -250,9 +250,7 @@ def _materialization_relations(self, result: Any, model) -> List[BaseRelation]: raise CompilationException(msg, node=model) def execute(self, model, manifest): - context = generate_runtime_model_context( - model, self.config, manifest - ) + context = generate_runtime_model_context(model, self.config, manifest) materialization_macro = manifest.find_materialization_macro_by_name( self.config.project_name, model.get_materialization(), self.adapter.type()