Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Sep 11, 2024
1 parent 19245b6 commit ef21b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splink/internals/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ColumnInfoSettings:
comparison_vector_value_column_prefix: str
unique_id_column_name: str
_source_dataset_column_name: str
_source_dataset_column_name_is_required: str
_source_dataset_column_name_is_required: bool
sql_dialect: str

@property
Expand Down Expand Up @@ -330,7 +330,7 @@ def _additional_columns_to_retain(self) -> List[InputColumn]:
for c in cols
]

def _get_source_dataset_column_name_is_required(self):
def _get_source_dataset_column_name_is_required(self) -> bool:
return self._link_type not in ["dedupe_only"]

@property
Expand Down

0 comments on commit ef21b18

Please sign in to comment.