def split(sql, encoding=None):
    stack = engine.FilterStack()
    stack.split_statements = True
    return [str(stmt).strip() for stmt in stack.run(sql, encoding)]
Split *sql* into single statements.
dataset/ETHPy150Open zsong/SqlBeautifier/sqlparse3/__init__.py/split