def _render_with_context(self, parsed_node, config):
        """Given the parsed node and a SourceConfig to use during parsing,
        render the node's sql wtih macro capture enabled.

        Note: this mutates the config object when config() calls are rendered.
        """
        context = dbt.context.parser.generate(
            parsed_node,
            self.root_project_config,
            self.macro_manifest,
            config)

        dbt.clients.jinja.get_rendered(
            parsed_node.raw_sql, context, parsed_node.to_shallow_dict(),
            capture_macros=True)
def _render_with_context ( self , parsed_node , config ) : context = dbt . context . parser . generate ( parsed_node , self . root_project_config , self . macro_manifest , config ) dbt . clients . jinja . get_rendered ( parsed_node . raw_sql , context , parsed_node . to_shallow_dict ( ) , capture_macros = True )
Given the parsed node and a SourceConfig to use during parsing,
        render the node's sql wtih macro capture enabled.

        Note: this mutates the config object when config() calls are rendered.