bigquery_validator/bigquery_validator.py
def render_templated_query(self, templated_query):
        """Convert the Jinja templated SQL to a valid query"""
        templated_query = templated_query.replace('params.', '')  # need this to get formatting correct
        t = Template(templated_query)
        rendered_query = t.render(self.params)
        rendered_query = rendered_query.replace('\n', ' ')
        return rendered_query
Convert the Jinja templated SQL to a valid query
Convert the Jinja templated SQL to a valid query
Convert the Jinja templated SQL to a valid query
def render_templated_query(self, templated_query):
        templated_query = templated_query.replace('params.', '')  
        t = Template(templated_query)
        rendered_query = t.render(self.params)
        rendered_query = rendered_query.replace('\n', ' ')
        return rendered_query
def render_templated_query ( self , templated_query ) : templated_query = templated_query . replace ( 'params.' , '' ) t = Template ( templated_query ) rendered_query = t . render ( self . params ) rendered_query = rendered_query . replace ( '\n' , ' ' ) return rendered_query
Convert the Jinja templated SQL to a valid query
Convert the Jinja templated SQL to a valid query
"""Convert the Jinja templated SQL to a valid query""" # need this to get formatting correct
self
templated_query