Skip to content

Commit

Permalink
Merge pull request #569 from laughingman7743/fix_f821
Browse files Browse the repository at this point in the history
Fix F821 Undefined name `List` and `Union`
  • Loading branch information
laughingman7743 authored Dec 28, 2024
2 parents 7abcca7 + 1ea93bd commit cf67b76
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 cf67b76

Please sign in to comment.