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:
  22db36c
  307d47e
  73af9a5
  e3fb923
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent a583652 commit cfd02af
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/dbt/parser/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,7 @@ def _create_parsetime_node(
raise ParsingException(msg, node=node)

def _context_for(self, parsed_node: IntermediateNode, config: ContextConfig) -> Dict[str, Any]:
self, parsed_node: IntermediateNode, config: ContextConfig
) -> Dict[str, Any]:
return generate_parser_model_context(
parsed_node, self.root_project, self.manifest, config
)
return generate_parser_model_context(parsed_node, self.root_project, self.manifest, config)

def render_with_context(self, parsed_node: IntermediateNode, config: ContextConfig):
# Given the parsed node and a ContextConfig to use during parsing,
Expand Down

0 comments on commit cfd02af

Please sign in to comment.