Skip to content

Commit

Permalink
Extend call to __query_wi__ wit open_{upper, lower}
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Oct 31, 2024
1 parent fb741f2 commit 01d531e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ def _evaluate(self, x, parent_attr):
if operator == "wi":
_wi = getattr(x, "__query_wi__", None)
if _wi is not None:
return _wi(value)
return _wi(value, self.open_lower, self.open_upper)

if self.open_lower:
lower_bound = x > value[0]
Expand Down

0 comments on commit 01d531e

Please sign in to comment.