Skip to content

Commit 1ea93bd

Browse files
Fix F821 Undefined name List and Union
1 parent 7abcca7 commit 1ea93bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyathena/pandas/async_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import logging
55
from concurrent.futures import Future
66
from multiprocessing import cpu_count
7-
from typing import Any, Dict, Iterable, Optional, Tuple, Union, cast
7+
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union, cast
88

99
from pyathena import ProgrammingError
1010
from pyathena.async_cursor import AsyncCursor

pyathena/spark/cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import annotations
33

44
import logging
5-
from typing import Any, Dict, Optional, cast
5+
from typing import Any, Dict, List, Optional, Union, cast
66

77
from pyathena import OperationalError, ProgrammingError
88
from pyathena.model import AthenaCalculationExecution, AthenaCalculationExecutionStatus

0 commit comments

Comments
 (0)