From 9a0cead6e5a2b8e5d62f26235d58b32eead0a35a Mon Sep 17 00:00:00 2001 From: svlandeg Date: Sun, 11 Jun 2023 21:19:43 +0200 Subject: [PATCH] default value for phrasematcher in pyi --- 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 68e3386e4..bd22677e8 100644 --- a/spacy/matcher/phrasematcher.pyi +++ b/spacy/matcher/phrasematcher.pyi @@ -6,7 +6,7 @@ from ..tokens import Doc, Span 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: ...