Skip to content

Commit

Permalink
Overriding binary operator instead of reassigning it
Browse files Browse the repository at this point in the history
  • Loading branch information
aadel committed Jul 22, 2024
1 parent 6211b7c commit 7add258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlalchemy_solr/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def visit_binary(
+ ubound
+ "'"
)
binary.operator = operators.eq
override_operator = operators.eq

return super().visit_binary(binary, override_operator, eager_grouping, **kw)

Expand Down

0 comments on commit 7add258

Please sign in to comment.