fix(phrasematcher.pyi): change type annotation of `docs` in `add()` to `List[Doc]` (#10235)

https://github.com/explosion/spaCy/issues/10234
This commit is contained in:
Ramon Ziai 2022-02-08 13:37:27 +01:00 committed by GitHub
parent a9ee5bff98
commit 6477dafac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class PhraseMatcher:
def add(
self,
key: str,
docs: List[List[Dict[str, Any]]],
docs: List[Doc],
*,
on_match: Optional[
Callable[[Matcher, Doc, int, List[Tuple[Any, ...]]], Any]