mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
style: suppress pre-existing PLR0915 in guardrail handler methods
This commit is contained in:
parent
807598ffee
commit
16c796770c
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue