summaryrefslogtreecommitdiffstats
path: root/sqlglot/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlglot/__init__.py')
-rw-r--r--sqlglot/__init__.py55
1 files changed, 31 insertions, 24 deletions
diff --git a/sqlglot/__init__.py b/sqlglot/__init__.py
index 7bcaa22..87b36b0 100644
--- a/sqlglot/__init__.py
+++ b/sqlglot/__init__.py
@@ -9,38 +9,45 @@ from __future__ import annotations
import typing as t
from sqlglot import expressions as exp
-from sqlglot.dialects import Dialect, Dialects
-from sqlglot.diff import diff
-from sqlglot.errors import ErrorLevel, ParseError, TokenError, UnsupportedError
-from sqlglot.expressions import Expression
-from sqlglot.expressions import alias_ as alias
+from sqlglot.dialects.dialect import Dialect as Dialect, Dialects as Dialects
+from sqlglot.diff import diff as diff
+from sqlglot.errors import (
+ ErrorLevel as ErrorLevel,
+ ParseError as ParseError,
+ TokenError as TokenError,
+ UnsupportedError as UnsupportedError,
+)
from sqlglot.expressions import (
- and_,
- column,
- condition,
- except_,
- from_,
- intersect,
- maybe_parse,
- not_,
- or_,
- select,
- subquery,
+ Expression as Expression,
+ alias_ as alias,
+ and_ as and_,
+ column as column,
+ condition as condition,
+ except_ as except_,
+ from_ as from_,
+ intersect as intersect,
+ maybe_parse as maybe_parse,
+ not_ as not_,
+ or_ as or_,
+ select as select,
+ subquery as subquery,
+ table_ as table,
+ to_column as to_column,
+ to_table as to_table,
+ union as union,
)
-from sqlglot.expressions import table_ as table
-from sqlglot.expressions import to_column, to_table, union
-from sqlglot.generator import Generator
-from sqlglot.parser import Parser
-from sqlglot.schema import MappingSchema, Schema
-from sqlglot.tokens import Tokenizer, TokenType
+from sqlglot.generator import Generator as Generator
+from sqlglot.parser import Parser as Parser
+from sqlglot.schema import MappingSchema as MappingSchema, Schema as Schema
+from sqlglot.tokens import Tokenizer as Tokenizer, TokenType as TokenType
if t.TYPE_CHECKING:
- from sqlglot.dialects.dialect import DialectType
+ from sqlglot.dialects.dialect import DialectType as DialectType
T = t.TypeVar("T", bound=Expression)
-__version__ = "11.2.0"
+__version__ = "11.2.3"
pretty = False
"""Whether to format generated SQL by default."""