Skip to content

Commit

Permalink
fix(python): Fix return type hint for LazyFrame sink methods (#17698)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Jul 18, 2024
1 parent 8dd389a commit 965ce85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ def sink_ipc(
simplify_expression: bool = True,
slice_pushdown: bool = True,
no_optimization: bool = False,
) -> DataFrame:
) -> None:
"""
Evaluate the query in streaming mode and write to an IPC file.
Expand Down Expand Up @@ -2368,7 +2368,7 @@ def sink_csv(
simplify_expression: bool = True,
slice_pushdown: bool = True,
no_optimization: bool = False,
) -> DataFrame:
) -> None:
"""
Evaluate the query in streaming mode and write to a CSV file.
Expand Down Expand Up @@ -2504,7 +2504,7 @@ def sink_ndjson(
simplify_expression: bool = True,
slice_pushdown: bool = True,
no_optimization: bool = False,
) -> DataFrame:
) -> None:
"""
Evaluate the query in streaming mode and write to an NDJSON file.
Expand Down

0 comments on commit 965ce85

Please sign in to comment.