Fix span typings (#11119)

Add id, id_ to span.pyi.
This commit is contained in:
Nicolai Bjerre Pedersen 2022-07-12 13:47:35 +02:00 committed by GitHub
parent 11f859c132
commit 2fa983aa2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,10 @@ class Span:
ent_id: int ent_id: int
ent_id_: str ent_id_: str
@property @property
def id(self) -> int: ...
@property
def id_(self) -> str: ...
@property
def orth_(self) -> str: ... def orth_(self) -> str: ...
@property @property
def lemma_(self) -> str: ... def lemma_(self) -> str: ...