mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Fix broken type annotation
This commit is contained in:
parent
ff0bc05da8
commit
62266fb828
|
@ -50,7 +50,7 @@ class DocBin:
|
||||||
self,
|
self,
|
||||||
attrs: Iterable[str] = ALL_ATTRS,
|
attrs: Iterable[str] = ALL_ATTRS,
|
||||||
store_user_data: bool = False,
|
store_user_data: bool = False,
|
||||||
docs=Iterable[Doc],
|
docs: Iterable[Doc] = tuple(),
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Create a DocBin object to hold serialized annotations.
|
"""Create a DocBin object to hold serialized annotations.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user