Skip to content

Commit

Permalink
Fix types for Span.id and Span.id_ (explosion#11744)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianeboyd committed Nov 7, 2022
1 parent 3257718 commit 451e0ec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spacy/tokens/span.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 451e0ec

Please sign in to comment.