def format(sql, **options):
    encoding = options.pop('encoding', None)
    stack = engine.FilterStack()
    options = formatter.validate_options(options)
    stack = formatter.build_filter_stack(stack, options)
    stack.postprocess.append(filters.SerializerUnicode())
    return ''.join(stack.run(sql, encoding))
Get details of a task
dataset/ETHPy150Open zsong/SqlBeautifier/sqlparse3/__init__.py/format--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/gen-py/hadoop/api/jobtracker/Jobtracker.py/Iface.getTask