Skip to content

Commit

Permalink
symcache: passthrough rapidfuzz.process.extract kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Sep 22, 2023
1 parent c312f90 commit ad59a58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions piker/data/_symcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def match_from_pairs(
pairs: dict[str, Struct],
query: str,
score_cutoff: int = 50,
**extract_kwargs,

) -> dict[str, Struct]:
'''
Expand All @@ -495,6 +496,7 @@ def match_from_pairs(
query=query,
choices=keys,
score_cutoff=score_cutoff,
**extract_kwargs,
)

# pop and repack pairs in output dict
Expand Down

0 comments on commit ad59a58

Please sign in to comment.