Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion litellm/a2a_protocol/exception_mapping_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

A2A_SDK_AVAILABLE = True
except ImportError:
_A2AClient = None # type: ignore[misc]
_A2AClient = None # type: ignore[assignment, misc]


class A2AExceptionCheckers:
Expand Down
2 changes: 1 addition & 1 deletion litellm/caching/redis_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ async def test_connection(self) -> dict:
redis_client = redis_async.Redis(**self.redis_kwargs)

# Test the connection
ping_result = await redis_client.ping()
ping_result = await redis_client.ping() # type: ignore[misc]

# Close the connection
await redis_client.aclose() # type: ignore[attr-defined]
Expand Down
2 changes: 1 addition & 1 deletion litellm/caching/redis_cluster_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def test_connection(self) -> dict:
)

# Test the connection
ping_result = await redis_client.ping() # type: ignore[attr-defined]
ping_result = await redis_client.ping() # type: ignore[attr-defined, misc]

# Close the connection
await redis_client.aclose() # type: ignore[attr-defined]
Expand Down
2 changes: 1 addition & 1 deletion litellm/llms/deprecated_providers/palm.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def completion(
)
## COMPLETION CALL
try:
response = palm.generate_text(prompt=prompt, **inference_params)
response = palm.generate_text(prompt=prompt, **inference_params) # type: ignore[attr-defined]
except Exception as e:
raise PalmError(
message=str(e),
Expand Down
2 changes: 1 addition & 1 deletion litellm/proxy/auth/handle_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ async def auth_jwt(self, token: str) -> dict:
token,
public_key_obj, # type: ignore
algorithms=algorithms,
options=decode_options,
options=decode_options, # type: ignore[arg-type]
audience=audience,
leeway=self.leeway, # allow testing of expired tokens
)
Expand Down
Loading