Skip to content

TypeError when calling NameAddressDeduper.is_dupe #24

Description

@mikicz
~/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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions