Skip to content

Commit

Permalink
fix(python): Set default flags for FFI plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Aug 1, 2024
1 parent 5134051 commit da85b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/src/functions/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn register_plugin_function(
None
};

let mut flags = FunctionFlags::from_bits_truncate(0);
let mut flags = FunctionFlags::default();
flags.set(FunctionFlags::CHANGES_LENGTH, changes_length);
flags.set(FunctionFlags::PASS_NAME_TO_APPLY, pass_name_to_apply);
flags.set(FunctionFlags::RETURNS_SCALAR, returns_scalar);
Expand Down

0 comments on commit da85b12

Please sign in to comment.