Skip to content

Commit

Permalink
exports
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Jul 2, 2024
1 parent 7137024 commit e59bfd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions splink/postgres/comparison_level_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .postgres_helpers.postgres_comparison_imports import ( # noqa: F401
array_intersect_level,
columns_reversed_level,
damerau_levenshtein_level,
datediff_level,
distance_function_level,
distance_in_km_level,
Expand Down
2 changes: 2 additions & 0 deletions splink/postgres/comparison_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
distance_in_km_at_thresholds,
else_level,
exact_match,
jaro_at_thresholds,
jaro_winkler_at_thresholds,
levenshtein_at_thresholds,
null_level,
)
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def _distance_in_km_level(self):
def _levenshtein_level(self):
return levenshtein_level

@property
def _damerau_levenshtein_level(self):
return damerau_levenshtein_level

@property
def _jaro_level(self):
return jaro_level
Expand Down Expand Up @@ -142,7 +146,7 @@ class damerau_levenshtein_at_thresholds(
):
@property
def _distance_level(self):
return self._damerau_levenshtein_level
return damerau_levenshtein_level


class distance_function_at_thresholds(
Expand Down

0 comments on commit e59bfd3

Please sign in to comment.