symcache: passthrough `rapidfuzz.process.extract` kwargs

ib_py311_fixes
Tyler Goodlet 2023-09-22 15:56:49 -04:00
parent c312f90c0c
commit ad59a581c7
1 changed files with 2 additions and 0 deletions

View File

@ -472,6 +472,7 @@ def match_from_pairs(
pairs: dict[str, Struct],
query: str,
score_cutoff: int = 50,
**extract_kwargs,
) -> dict[str, Struct]:
'''
@ -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