Fix types for Span.id and Span.id_ (#11744)

This commit is contained in:
Adriane Boyd 2022-11-07 08:11:13 +01:00 committed by GitHub
parent bbf64cfc43
commit ea326cf47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,15 +117,13 @@ class Span:
end_char: int
label: int
kb_id: int
id: int
ent_id: int
ent_id_: str
@property
def id(self) -> int: ...
@property
def id_(self) -> str: ...
@property
def orth_(self) -> str: ...
@property
def lemma_(self) -> str: ...
label_: str
kb_id_: str
id_: str