From d3ac8e897cb7f80f262524f870548b53e0bdf8e2 Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Wed, 21 Jun 2023 09:10:13 +0100 Subject: [PATCH] default value for phrasematcher in pyi (#12714) --- spacy/matcher/phrasematcher.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/matcher/phrasematcher.pyi b/spacy/matcher/phrasematcher.pyi index 459b3bb24..27f6ba373 100644 --- a/spacy/matcher/phrasematcher.pyi +++ b/spacy/matcher/phrasematcher.pyi @@ -7,7 +7,7 @@ from .matcher import Matcher class PhraseMatcher: def __init__( - self, vocab: Vocab, attr: Optional[Union[int, str]], validate: bool = ... + self, vocab: Vocab, attr: Optional[Union[int, str]] = ..., validate: bool = ... ) -> None: ... def __reduce__(self) -> Any: ... def __len__(self) -> int: ...