Skip to content

Commit e8a42bd

Browse files
committed
refactor: move Sequence import to collections.abc for consistency
1 parent fc19e11 commit e8a42bd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

python/datafusion/context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
from __future__ import annotations
2121

2222
import warnings
23-
from typing import TYPE_CHECKING, Any, Protocol, Sequence
23+
from typing import TYPE_CHECKING, Any, Protocol
24+
from collections.abc import Sequence
2425

2526
import pyarrow as pa
2627

python/datafusion/expr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
from __future__ import annotations
2424

25-
from typing import TYPE_CHECKING, Any, ClassVar, Iterable, Optional, Sequence
25+
from typing import TYPE_CHECKING, Any, ClassVar, Iterable, Optional
26+
from collections.abc import Sequence
2627

2728
import pyarrow as pa
2829

0 commit comments

Comments
 (0)