diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.py index b4ae0065c4..0f0b85548a 100644 --- a/zerver/lib/push_notifications.py +++ b/zerver/lib/push_notifications.py @@ -99,7 +99,7 @@ class UserPushIdentityCompat: return result - def __eq__(self, other: Any) -> bool: + def __eq__(self, other: object) -> bool: if isinstance(other, UserPushIdentityCompat): return self.user_id == other.user_id and self.user_uuid == other.user_uuid return False