diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py index a3983cb28848856983f337f729770e9c7e91c18f..0175abbe802cf8e74de983a33f53662f118651ed 100644 --- a/duniterpy/api/endpoint.py +++ b/duniterpy/api/endpoint.py @@ -54,7 +54,7 @@ class Endpoint: raise NotImplementedError("__str__ is not implemented") def __eq__(self, other: Any) -> bool: - raise NotImplementedError("__eq__ is not implemented") + return NotImplemented # required to type hint cls in classmethod