1
0

Revert "Add a stub implementation of StateFilter.approx_difference"

This reverts commit 363565e6ac
because a proper implementation is now in develop.
This commit is contained in:
Olivier Wilkinson (reivilibre)
2021-10-12 10:46:50 +01:00
parent cc76d9f100
commit 58ef32e272
-8
View File
@@ -193,14 +193,6 @@ class StateFilter:
include_others=True,
)
def approx_difference(self, subtrahend: "StateFilter") -> "StateFilter":
"""
Stub implementation! Satisfies the condition that it's an overestimate.
"""
if self == subtrahend:
return StateFilter.none()
return self
def make_sql_filter_clause(self) -> Tuple[str, List[str]]:
"""Converts the filter to an SQL clause.