From 35cd61c8d4d34bf0badbf5de18c3fd3fec1ab3d9 Mon Sep 17 00:00:00 2001 From: Shin Date: Sat, 7 Feb 2026 01:51:08 +0000 Subject: [PATCH] fix(mypy): correct type ignore comment for A2AClient assignment The error code is 'assignment' not 'misc' when assigning None to _A2AClient. --- litellm/a2a_protocol/exception_mapping_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/a2a_protocol/exception_mapping_utils.py b/litellm/a2a_protocol/exception_mapping_utils.py index 8463080b358..589124dcc4e 100644 --- a/litellm/a2a_protocol/exception_mapping_utils.py +++ b/litellm/a2a_protocol/exception_mapping_utils.py @@ -30,7 +30,7 @@ try: A2A_SDK_AVAILABLE = True except ImportError: - _A2AClient = None # type: ignore[misc] + _A2AClient = None # type: ignore[assignment] class A2AExceptionCheckers: