From df7148036a767062fb150eccf284a61440a2b968 Mon Sep 17 00:00:00 2001 From: tko Date: Thu, 30 Apr 2026 04:03:03 +0000 Subject: [PATCH] lint: suppress PLR0915 on __next__ (matches existing __anext__ suppression) Co-Authored-By: Claude Sonnet 4.6 --- .../experimental_pass_through/adapters/streaming_iterator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/anthropic/experimental_pass_through/adapters/streaming_iterator.py b/litellm/llms/anthropic/experimental_pass_through/adapters/streaming_iterator.py index c6733fa58cf..1950e37fc80 100644 --- a/litellm/llms/anthropic/experimental_pass_through/adapters/streaming_iterator.py +++ b/litellm/llms/anthropic/experimental_pass_through/adapters/streaming_iterator.py @@ -75,7 +75,7 @@ class AnthropicStreamWrapper(AdapterCompletionStreamWrapper): cache_read_input_tokens=0, ) - def __next__(self): + def __next__(self): # noqa: PLR0915 from .transformation import LiteLLMAnthropicMessagesAdapter try: