Skip to content

Commit 98397c6

Browse files
authored
fix: type annotation default for named: Literal[False] was missing in DataFrame.iter_rows (#2778)
1 parent 54bf3d3 commit 98397c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

narwhals/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ def iter_columns(self) -> Iterator[Series[Any]]:
11961196

11971197
@overload
11981198
def iter_rows(
1199-
self, *, named: Literal[False], buffer_size: int = ...
1199+
self, *, named: Literal[False] = ..., buffer_size: int = ...
12001200
) -> Iterator[tuple[Any, ...]]: ...
12011201

12021202
@overload

0 commit comments

Comments
 (0)