Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-mazzone committed Nov 18, 2024
1 parent 042e6bf commit 7bb8e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/matchbox/models/linkers/splinklinker.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def check_ids_match(self) -> "SplinkSettings":
"left_id and right_id must match in a Splink linker."
)
return self

@model_validator(mode="after")
def check_link_only(self) -> "SplinkSettings":
if self.linker_settings.link_type != "link_only":
Expand Down
2 changes: 1 addition & 1 deletion test/client/test_linkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def test_splink_training_functions():
function="estimate_u_using_random_sampling", arguments={"foo": "bar"}
)


def test_splink_settings():
valid_settings = SplinkSettings(
left_id="hash",
Expand Down Expand Up @@ -233,4 +234,3 @@ def test_splink_settings():
linker_settings=SettingsCreator(link_type="link_only"),
threshold=None,
)

0 comments on commit 7bb8e6d

Please sign in to comment.