mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Fix PLR0915 lint error in _completion_streaming_iterator
Add `# noqa: PLR0915` suppression to match the async twin `_acompletion_streaming_iterator` which already carries the same suppression. The function's complexity is inherent (nested class, generator with fallback logic, cleanup code). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7f1ca956be
commit
3faa864713
1 changed files with 1 additions and 1 deletions
|
|
@ -1718,7 +1718,7 @@ class Router:
|
|||
|
||||
return FallbackStreamWrapper(stream_with_fallbacks())
|
||||
|
||||
def _completion_streaming_iterator(
|
||||
def _completion_streaming_iterator( # noqa: PLR0915
|
||||
self,
|
||||
model_response: CustomStreamWrapper,
|
||||
messages: List[Dict[str, str]],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue