Skip to content

Commit a0095b1

Browse files
committed
style: Remove whitespace
The `TypedDict`s are clear enough
1 parent ff6258d commit a0095b1

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

narwhals/translate.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -152,56 +152,36 @@ class PassThroughUnknown(TypedDict, total=False):
152152

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

0 commit comments

Comments
 (0)