Skip to content

Commit

Permalink
fix(typing): Backport use IntoDataFrameT in to_native to v1 (#1954
Browse files Browse the repository at this point in the history
)

fix(typing): Backport use `to_native` in `IntoDataFrameT` to `v1`

Aligns with #1936
  • Loading branch information
dangotbanned authored Feb 6, 2025
1 parent c2384b8 commit 78f8c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/stable/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ def to_native(narwhals_object: Any, *, pass_through: bool) -> Any: ...


def to_native(
narwhals_object: DataFrame[IntoFrameT] | LazyFrame[IntoFrameT] | Series,
narwhals_object: DataFrame[IntoDataFrameT] | LazyFrame[IntoFrameT] | Series,
*,
strict: bool | None = None,
pass_through: bool | None = None,
Expand Down

0 comments on commit 78f8c0a

Please sign in to comment.