diff --git a/redis/_parsers/base.py b/redis/_parsers/base.py index be7b5cf1d0..928ec0c201 100644 --- a/redis/_parsers/base.py +++ b/redis/_parsers/base.py @@ -5,12 +5,12 @@ from typing import Awaitable, Callable, List, Optional, Protocol, Union from redis.maintenance_events import ( - MaintenanceEvent, - NodeFailedOverEvent, - NodeFailingOverEvent, - NodeMigratedEvent, - NodeMigratingEvent, - NodeMovingEvent, + MaintenanceNotification, + NodeFailedOverNotification, + NodeFailingOverNotification, + NodeMigratedNotification, + NodeMigratingNotification, + NodeMovingNotification, ) if sys.version_info.major >= 3 and sys.version_info.minor >= 11: @@ -175,14 +175,14 @@ class MaintenanceNotificationsParser: @staticmethod def parse_maintenance_start_msg(response, notification_type): - # Expected message format is: