Skip to content

Commit 885099d

Browse files
committed
Fix typing
1 parent 6bde919 commit 885099d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/dialects/test_dialect.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def assert_duckdb_sql(
2828
self,
2929
expression: exp.Expression,
3030
*,
31-
includes: t.Iterable[str] | None = None,
32-
excludes: t.Iterable[str] | None = None,
33-
chr_chars: t.Iterable[str] | None = None,
31+
includes: t.Optional[t.Iterable[str]] = None,
32+
excludes: t.Optional[t.Iterable[str]] = None,
33+
chr_chars: t.Optional[t.Iterable[str]] = None,
3434
) -> str:
3535
duckdb_sql = expression.sql("duckdb")
3636

@@ -4375,9 +4375,9 @@ def assert_default_duckdb_sql(read_dialect: str, default_chars: str) -> None:
43754375
def assert_custom_duckdb_sql(
43764376
query: str,
43774377
*,
4378-
includes: t.Iterable[str] | None = None,
4379-
excludes: t.Iterable[str] | None = None,
4380-
chr_chars: t.Iterable[str] | None = None,
4378+
includes: t.Optional[t.Iterable[str]] = None,
4379+
excludes: t.Optional[t.Iterable[str]] = None,
4380+
chr_chars: t.Optional[t.Iterable[str]] = None,
43814381
) -> None:
43824382
for dialect in ("bigquery", "snowflake"):
43834383
with self.subTest(f"DuckDB generation for {query} from {dialect}"):

0 commit comments

Comments
 (0)