@@ -152,56 +152,36 @@ class PassThroughUnknown(TypedDict, total=False):
152152
153153@overload
154154def from_native (native_object : SeriesT , ** kwds : Any ) -> SeriesT : ...
155-
156-
157155@overload
158156def from_native (native_object : DataFrameT , ** kwds : Any ) -> DataFrameT : ...
159-
160-
161157@overload
162158def from_native (native_object : LazyFrameT , ** kwds : Any ) -> LazyFrameT : ...
163-
164-
165159@overload
166160def from_native (
167161 native_object : IntoDataFrameT , ** kwds : Unpack [ExcludeSeries ]
168162) -> DataFrame [IntoDataFrameT ]: ...
169-
170-
171163@overload
172164def from_native (
173165 native_object : IntoSeriesT , ** kwds : Unpack [OnlySeries ]
174166) -> Series [IntoSeriesT ]: ...
175-
176-
177167@overload
178168def from_native (
179169 native_object : IntoSeriesT , ** kwds : Unpack [AllowSeries ]
180170) -> Series [IntoSeriesT ]: ...
181-
182-
183171@overload
184172def from_native (
185173 native_object : IntoLazyFrameT , ** kwds : Unpack [AllowLazy ]
186174) -> LazyFrame [IntoLazyFrameT ]: ...
187-
188-
189175@overload
190176def from_native (
191177 native_object : IntoDataFrameT | IntoSeriesT , ** kwds : Unpack [AllowSeries ]
192178) -> DataFrame [IntoDataFrameT ] | Series [IntoSeriesT ]: ...
193-
194-
195179@overload
196180def from_native (
197181 native_object : IntoDataFrameT | IntoLazyFrameT | IntoSeriesT , ** kwds : Unpack [AllowAny ]
198182) -> DataFrame [IntoDataFrameT ] | LazyFrame [IntoLazyFrameT ] | Series [IntoSeriesT ]: ...
199-
200-
201183@overload
202184def from_native (native_object : T , ** kwds : Unpack [PassThroughUnknown ]) -> T : ...
203-
204-
205185# All params passed in as variables
206186@overload
207187def from_native (
@@ -212,8 +192,6 @@ def from_native(
212192 series_only : bool ,
213193 allow_series : bool | None ,
214194) -> Any : ...
215-
216-
217195def from_native ( # noqa: D417
218196 native_object : IntoLazyFrameT
219197 | IntoDataFrameT
0 commit comments