mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(code quality) run ruff rule to ban unused imports (#7313)
* remove unused imports * fix AmazonConverseConfig * fix test * fix import * ruff check fixes * test fixes * fix testing * fix imports
This commit is contained in:
parent
7e01805caa
commit
62a1cdec47
347 changed files with 5473 additions and 7207 deletions
|
@ -6,11 +6,9 @@ Slack alerts are sent every 10s or when events are greater than X events
|
|||
see custom_batch_logger.py for more details / defaults
|
||||
"""
|
||||
|
||||
import os
|
||||
from typing import TYPE_CHECKING, Any, List, Literal, Optional, Union
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from litellm._logging import verbose_logger, verbose_proxy_logger
|
||||
from litellm.proxy._types import AlertType, WebhookEvent
|
||||
from litellm._logging import verbose_proxy_logger
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .slack_alerting import SlackAlerting as _SlackAlerting
|
||||
|
@ -21,7 +19,6 @@ else:
|
|||
|
||||
|
||||
def squash_payloads(queue):
|
||||
import json
|
||||
|
||||
squashed = {}
|
||||
if len(queue) == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue