From 16c796770ceeec6539070334ede718fc725b7a93 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 26 Mar 2026 15:49:58 +0500 Subject: [PATCH] style: suppress pre-existing PLR0915 in guardrail handler methods --- litellm/llms/a2a/chat/guardrail_translation/handler.py | 2 +- litellm/llms/anthropic/chat/guardrail_translation/handler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/llms/a2a/chat/guardrail_translation/handler.py b/litellm/llms/a2a/chat/guardrail_translation/handler.py index 91e7e9d5550..4826281a712 100644 --- a/litellm/llms/a2a/chat/guardrail_translation/handler.py +++ b/litellm/llms/a2a/chat/guardrail_translation/handler.py @@ -216,7 +216,7 @@ class A2AGuardrailHandler(BaseTranslation): response["result"] = result return response - async def process_output_streaming_response( + async def process_output_streaming_response( # noqa: PLR0915 self, responses_so_far: List[Any], guardrail_to_apply: "CustomGuardrail", diff --git a/litellm/llms/anthropic/chat/guardrail_translation/handler.py b/litellm/llms/anthropic/chat/guardrail_translation/handler.py index b6139a2f84d..2776a55977b 100644 --- a/litellm/llms/anthropic/chat/guardrail_translation/handler.py +++ b/litellm/llms/anthropic/chat/guardrail_translation/handler.py @@ -246,7 +246,7 @@ class AnthropicMessagesHandler(BaseTranslation): "text" ] = guardrail_response - async def process_output_response( + async def process_output_response( # noqa: PLR0915 self, response: "AnthropicMessagesResponse", guardrail_to_apply: "CustomGuardrail",