Remove unused param from DataModel.predicates()
If you grep for `predicates(` then you see that this optional param
is never used. Always uses the default
@@ -69,14 +69,11 @@ class DataModel(object):
yield (var.field, comparator, start, stop)
start = stop
- def predicates(
- self, index_predicates: bool = True, canopies: bool = True
- ) -> set[Predicate]:
+ def predicates(self, canopies: bool = True) -> set[Predicate]:
predicates = set()
for var in self.primary_variables:
for predicate in var.predicates:
if hasattr(predicate, "index"):
- if index_predicates:
if hasattr(predicate, "canopy"):
if canopies:
predicates.add(predicate)
