Skip to content

Commit ae5e8f1

Browse files
committed
fix: Properly set plugin flags for polars 1.35
1 parent f663bfb commit ae5e8f1

File tree

3 files changed

+206
-182
lines changed

3 files changed

+206
-182
lines changed

Cargo.lock

Lines changed: 62 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dataframely/_plugin.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ def all_rules_horizontal(rules: IntoExpr | Iterable[IntoExpr]) -> pl.Expr:
3030
function_name="all_rules_horizontal",
3131
args=rules,
3232
use_abs_path=True,
33+
is_elementwise=True,
34+
returns_scalar=False,
35+
changes_length=False,
3336
)
3437

3538

@@ -49,7 +52,9 @@ def all_rules(rules: IntoExpr | Iterable[IntoExpr]) -> pl.Expr:
4952
function_name="all_rules",
5053
args=rules,
5154
use_abs_path=True,
55+
is_elementwise=False,
5256
returns_scalar=True,
57+
changes_length=True,
5358
)
5459

5560

@@ -80,5 +85,7 @@ def all_rules_required(
8085
args=rules,
8186
kwargs={"null_is_valid": null_is_valid, "schema_name": schema_name},
8287
use_abs_path=True,
88+
is_elementwise=False,
8389
returns_scalar=True,
90+
changes_length=True,
8491
)

0 commit comments

Comments
 (0)