Skip to content

Commit

Permalink
Fix F821 Undefined name List and Union
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed Dec 28, 2024
1 parent 7abcca7 commit 1ea93bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyathena/pandas/async_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import logging
from concurrent.futures import Future
from multiprocessing import cpu_count
from typing import Any, Dict, Iterable, Optional, Tuple, Union, cast
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union, cast

from pyathena import ProgrammingError
from pyathena.async_cursor import AsyncCursor
Expand Down
2 changes: 1 addition & 1 deletion pyathena/spark/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import annotations

import logging
from typing import Any, Dict, Optional, cast
from typing import Any, Dict, List, Optional, Union, cast

from pyathena import OperationalError, ProgrammingError
from pyathena.model import AthenaCalculationExecution, AthenaCalculationExecutionStatus
Expand Down

0 comments on commit 1ea93bd

Please sign in to comment.