summaryrefslogtreecommitdiffstats
path: root/sqlglot/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlglot/helper.py')
-rw-r--r--sqlglot/helper.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/sqlglot/helper.py b/sqlglot/helper.py
index 35a4586..0d4547f 100644
--- a/sqlglot/helper.py
+++ b/sqlglot/helper.py
@@ -53,13 +53,11 @@ def seq_get(seq: t.Sequence[T], index: int) -> t.Optional[T]:
@t.overload
-def ensure_list(value: t.Collection[T]) -> t.List[T]:
- ...
+def ensure_list(value: t.Collection[T]) -> t.List[T]: ...
@t.overload
-def ensure_list(value: T) -> t.List[T]:
- ...
+def ensure_list(value: T) -> t.List[T]: ...
def ensure_list(value):
@@ -81,13 +79,11 @@ def ensure_list(value):
@t.overload
-def ensure_collection(value: t.Collection[T]) -> t.Collection[T]:
- ...
+def ensure_collection(value: t.Collection[T]) -> t.Collection[T]: ...
@t.overload
-def ensure_collection(value: T) -> t.Collection[T]:
- ...
+def ensure_collection(value: T) -> t.Collection[T]: ...
def ensure_collection(value):