From 467bed7cc0e97c7535d59e7f866c07cf3c15e09a Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Fri, 4 Sep 2020 21:04:10 -0400 Subject: [PATCH] ignore type complaint --- dedupe/training.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dedupe/training.py b/dedupe/training.py index 32b1eddd8..58f7509e2 100644 --- a/dedupe/training.py +++ b/dedupe/training.py @@ -77,7 +77,7 @@ def generate_candidates_bilenko(self, predicate = CompoundPredicate(predicate + (best_p,)) current_match_cover &= match_cover[best_p] current_comparison_cover &= comparison_cover[best_p] - predicate.count = self.estimate(current_comparison_cover) + predicate.count = self.estimate(current_comparison_cover) # type: ignore candidates[predicate] = current_match_cover remaining.remove(best_p) @@ -109,7 +109,7 @@ def generate_candidates_rf(self, current_match_cover &= expander(match_cover[best_p]) real_match_cover &= match_cover[best_p] current_comparison_cover &= comparison_cover[best_p] - predicate.count = self.estimate(current_comparison_cover) + predicate.count = self.estimate(current_comparison_cover) # type: ignore candidates[predicate] = real_match_cover sample_predicates.remove(best_p)