class format.Formatter

get_formatted_string() from builtins.type

Return the formatted sql input

Sample Usage

>>> from flowhigh.format.formatting import Formatter
>>> f = Formatter.from_sql("SELECT A.ID FROM TAB AS A")
>>> f.get_formatted_string()

Returns

the formatted query

'SELECT A.ID 
   FROM TAB AS A'