Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when calling NameAddressDeduper.is_dupe #24

Open
mikicz opened this issue Sep 18, 2020 · 0 comments
Open

TypeError when calling NameAddressDeduper.is_dupe #24

mikicz opened this issue Sep 18, 2020 · 0 comments

Comments

@mikicz
Copy link

mikicz commented Sep 18, 2020

~/venv/lib64/python3.8/site-packages/lieu/dedupe.py in is_dupe(cls, a1, a2, index, name_dupe_threshold, with_unit, fuzzy_street_name)
    460     @classmethod
    461     def is_dupe(cls, a1, a2, index=None, name_dupe_threshold=DedupeResponse.default_name_dupe_threshold, with_unit=False, fuzzy_street_name=False):
--> 462         dupe = cls.dupe_class_and_sim(a1, a2, index=index, name_dupe_threshold=name_dupe_threshold, with_unit=with_unit, fuzzy_street_name=fuzzy_street_name)
    463         return dupe.status in (duplicate_status.EXACT_DUPLICATE, duplicate_status.LIKELY_DUPLICATE)
    464 

TypeError: dupe_class_and_sim() got an unexpected keyword argument 'index'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant