From ae807ea459732eab7fe59ae450f19b3f76996898 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 23:26:58 +0000 Subject: [PATCH] fix(redis): retain legacy exception stub cast exemption --- litellm/redis/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/redis/health.py b/litellm/redis/health.py index 02cef70fa9b..c2ff059de37 100644 --- a/litellm/redis/health.py +++ b/litellm/redis/health.py @@ -11,7 +11,7 @@ from collections.abc import Awaitable, Callable, Iterator, Mapping from contextvars import ContextVar from dataclasses import dataclass from types import FrameType, MappingProxyType -from typing import TYPE_CHECKING, Final, TypeVar, cast +from typing import TYPE_CHECKING, Final, TypeVar, cast # noqa: TID251 # legacy Redis exception cast for old stubs from litellm._internal_context import current_service_caller from litellm._logging import verbose_logger