We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f58c3b commit 35c10f8Copy full SHA for 35c10f8
cratedb_sqlparse_py/cratedb_sqlparse/parser.py
@@ -1,3 +1,5 @@
1
+from typing import List
2
+
3
from antlr4 import InputStream, CommonTokenStream, Token
4
from antlr4.error.ErrorListener import ErrorListener
5
@@ -90,7 +92,7 @@ def __repr__(self):
90
92
return f'{self.__class__.__qualname__}<{self.query if len(self.query) < 15 else self.query[:15] + "..."}>'
91
93
94
-def sqlparse(query: str) -> list[Statement]:
95
+def sqlparse(query: str) -> List[Statement]:
96
"""
97
Parses a string into SQL `Statement`.
98
0 commit comments