mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
Add DOCBIN_ALL_ATTRS type definition
This commit is contained in:
parent
866d57342a
commit
0969d902b0
|
@ -25,6 +25,8 @@ from .span import Span
|
|||
from .token import Token
|
||||
from .underscore import Underscore
|
||||
|
||||
DOCBIN_ALL_ATTRS: Tuple[str, ...]
|
||||
|
||||
class DocMethod(Protocol):
|
||||
def __call__(self: Doc, *args: Any, **kwargs: Any) -> Any: ... # type: ignore[misc]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user