Skip to content

Commit 46abfe6

Browse files
committed
chore: re-sync imports following (#3086)
1 parent 9acce69 commit 46abfe6

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

narwhals/_plan/arrow/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
)
2424
from typing_extensions import TypeAlias
2525

26-
from narwhals.typing import NativeDataFrame, NativeSeries
26+
from narwhals._native import NativeDataFrame, NativeSeries
2727

2828
StringScalar: TypeAlias = "Scalar[StringType | LargeStringType]"
2929
IntegerType: TypeAlias = "Int8Type | Int16Type | Int32Type | Int64Type | Uint8Type | Uint16Type | Uint32Type | Uint64Type"

narwhals/_plan/typing.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from typing_extensions import TypeAlias
1111

1212
from narwhals import dtypes
13+
from narwhals._native import NativeDataFrame, NativeFrame, NativeSeries
1314
from narwhals._plan._expr_ir import ExprIR, NamedIR, SelectorIR
1415
from narwhals._plan._function import Function
1516
from narwhals._plan.dataframe import DataFrame
@@ -19,13 +20,7 @@
1920
from narwhals._plan.expressions.namespace import IRNamespace
2021
from narwhals._plan.expressions.ranges import RangeFunction
2122
from narwhals._plan.series import Series
22-
from narwhals.typing import (
23-
NativeDataFrame,
24-
NativeFrame,
25-
NativeSeries,
26-
NonNestedDType,
27-
NonNestedLiteral,
28-
)
23+
from narwhals.typing import NonNestedDType, NonNestedLiteral
2924

3025
__all__ = [
3126
"ColumnNameOrSelector",

0 commit comments

Comments
 (0)