Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions py-polars/src/polars/_utils/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def deprecate_streaming_parameter() -> IdentityFunction:
def decorate(function: Callable[P, T]) -> Callable[P, T]:
@wraps(function)
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
__tracebackhide__ = True
if "streaming" in kwargs:
issue_deprecation_warning(
"the `streaming` parameter was deprecated in 1.25.0; use `engine` instead."
Expand Down
1 change: 1 addition & 0 deletions py-polars/src/polars/lazyframe/opt_flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def eager(f: QueryOptFlags, value: bool) -> QueryOptFlags: # noqa: FBT001
def decorate(function: Callable[P, T]) -> Callable[P, T]:
@wraps(function)
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
__tracebackhide__ = True
optflags: QueryOptFlags = kwargs.get(
"optimizations", DEFAULT_QUERY_OPT_FLAGS
) # type: ignore[assignment]
Expand Down
Loading