fix: comparison operators should be defined for any other object

This commit is contained in:
Basile Dura 2023-05-22 10:24:17 +02:00
parent f0ee3ea10e
commit 0a80dc63da
No known key found for this signature in database

View File

@ -53,12 +53,12 @@ class Span:
kb_id: Union[str, int] = ...,
span_id: Union[str, int] = ...,
) -> None: ...
def __lt__(self, other: Span) -> bool: ...
def __le__(self, other: Span) -> bool: ...
def __eq__(self, other: Span) -> bool: ...
def __ne__(self, other: Span) -> bool: ...
def __gt__(self, other: Span) -> bool: ...
def __ge__(self, other: Span) -> bool: ...
def __lt__(self, other: Any) -> bool: ...
def __le__(self, other: Any) -> bool: ...
def __eq__(self, other: Any) -> bool: ...
def __ne__(self, other: Any) -> bool: ...
def __gt__(self, other: Any) -> bool: ...
def __ge__(self, other: Any) -> bool: ...
def __hash__(self) -> int: ...
def __len__(self) -> int: ...
def __repr__(self) -> str: ...