Skip to content

Commit

Permalink
[#3885] Handle env_vars in partial parsing of SQL files (#4101)
Browse files Browse the repository at this point in the history
* [#3885] Handle env_vars in partial parsing

* Comment method to build env_vars_to_source_files

automatic commit by git-black, original commits:
  73af9a5
  dc65118
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 64fce5f commit 3fa31d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/dbt/compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ def _create_node_context(
extra_context: Dict[str, Any],
) -> Dict[str, Any]:

context = generate_runtime_model_context(
node, self.config, manifest
)
context = generate_runtime_model_context(node, self.config, manifest)
context.update(extra_context)
if isinstance(node, CompiledGenericTestNode):
# for test nodes, add a special keyword args value to the context
Expand Down

0 comments on commit 3fa31d7

Please sign in to comment.