symcache: passthrough `rapidfuzz.process.extract` kwargs
parent
c312f90c0c
commit
ad59a581c7
|
@ -472,6 +472,7 @@ def match_from_pairs(
|
||||||
pairs: dict[str, Struct],
|
pairs: dict[str, Struct],
|
||||||
query: str,
|
query: str,
|
||||||
score_cutoff: int = 50,
|
score_cutoff: int = 50,
|
||||||
|
**extract_kwargs,
|
||||||
|
|
||||||
) -> dict[str, Struct]:
|
) -> dict[str, Struct]:
|
||||||
'''
|
'''
|
||||||
|
@ -495,6 +496,7 @@ def match_from_pairs(
|
||||||
query=query,
|
query=query,
|
||||||
choices=keys,
|
choices=keys,
|
||||||
score_cutoff=score_cutoff,
|
score_cutoff=score_cutoff,
|
||||||
|
**extract_kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
# pop and repack pairs in output dict
|
# pop and repack pairs in output dict
|
||||||
|
|
Loading…
Reference in New Issue