fix(lint): replace Any with object to satisfy TID251 strict rule

This commit is contained in:
ege-arhan 2026-10-25 06:01:26 +00:00
parent 144cadea70
commit 304f060af5

View file

@ -1,4 +1,4 @@
from typing import Any, Final
from typing import Final
import litellm
from litellm.litellm_core_utils.url_utils import join_api_base
@ -41,7 +41,7 @@ class OpenAILikeAnthropicMessagesConfig(AnthropicMessagesConfig):
self,
headers: dict[str, str],
model: str,
messages: list[Any],
messages: list[object],
optional_params: dict,
litellm_params: dict,
api_key: str | None = None,
@ -166,7 +166,7 @@ class JSONProviderAnthropicMessagesConfig(OpenAILikeAnthropicMessagesConfig):
self,
headers: dict[str, str],
model: str,
messages: list[Any],
messages: list[object],
optional_params: dict,
litellm_params: dict,
api_key: str | None = None,