style: suppress pre-existing PLR0915 in guardrail handler methods

This commit is contained in:
unknown 2026-03-26 15:49:58 +05:00
parent 807598ffee
commit 16c796770c
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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",