Skip to content

Commit

Permalink
add missing limit argument
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Apr 23, 2024
1 parent 2444624 commit 9e56942
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rapidfuzz/process.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def extract(
*,
scorer: _Scorer[Sequence[Hashable], Sequence[Hashable], float, float] = WRatio,
processor: None = None,
limit: int | None = 5,
score_cutoff: float | None = None,
score_hint: float | None = None,
scorer_kwargs: dict[str, Any] | None = None,
Expand All @@ -145,6 +146,7 @@ def extract(
*,
scorer: _Scorer[Sequence[Hashable], Sequence[Hashable], float, float] = WRatio,
processor: None = None,
limit: int | None = 5,
score_cutoff: float | None = None,
score_hint: float | None = None,
scorer_kwargs: dict[str, Any] | None = None,
Expand All @@ -156,6 +158,7 @@ def extract(
*,
scorer: _Scorer[Sequence[Hashable], Sequence[Hashable], float, float] = WRatio,
processor: Callable[[_UnprocessedType1 | _UnprocessedType2], Sequence[Hashable]],
limit: int | None = 5,
score_cutoff: float | None = None,
score_hint: float | None = None,
scorer_kwargs: dict[str, Any] | None = None,
Expand All @@ -167,6 +170,7 @@ def extract(
*,
scorer: _Scorer[Sequence[Hashable], Sequence[Hashable], float, float] = WRatio,
processor: Callable[[_UnprocessedType1 | _UnprocessedType2], Sequence[Hashable]],
limit: int | None = 5,
score_cutoff: float | None = None,
score_hint: float | None = None,
scorer_kwargs: dict[str, Any] | None = None,
Expand Down

0 comments on commit 9e56942

Please sign in to comment.