Skip to content

Commit da18952

Browse files
authored
fix: fixup polars join version check throwing unnecessary deprecation warning for outer join (#2287)
fixup polars join version check
1 parent 9607e5f commit da18952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

narwhals/_polars/dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def join(
426426
suffix: str,
427427
) -> Self:
428428
how_native = (
429-
"outer" if (self._backend_version < (1, 0, 0) and how == "full") else how
429+
"outer" if (self._backend_version < (0, 20, 29) and how == "full") else how
430430
)
431431

432432
try:
@@ -651,7 +651,7 @@ def join(
651651
suffix: str,
652652
) -> Self:
653653
how_native = (
654-
"outer" if (self._backend_version < (1, 0, 0) and how == "full") else how
654+
"outer" if (self._backend_version < (0, 20, 29) and how == "full") else how
655655
)
656656

657657
return self._from_native_frame(

0 commit comments

Comments
 (0)