mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
chore(lint): drop mapping-only mutable-ok suppressions merged from main
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6b87daf0c6
commit
bb4cd5c3d1
1 changed files with 2 additions and 2 deletions
|
|
@ -7158,7 +7158,7 @@ async def _drive_passthrough_request_and_capture_logging(
|
|||
mock_request.query_params = QueryParams({})
|
||||
mock_request.body = AsyncMock(return_value=b'{"model": "gemini-2.0-flash"}')
|
||||
|
||||
captured_data: dict = {} # mutable-ok: the pre-call hook records the request data into it
|
||||
captured_data: dict = {}
|
||||
|
||||
async def capture_pre_call_hook(
|
||||
user_api_key_dict, data, call_type, endpoint_type: EndpointType = EndpointType.GENERIC
|
||||
|
|
@ -7325,7 +7325,7 @@ async def test_pass_through_request_leaves_guardrail_readable_metadata():
|
|||
},
|
||||
)
|
||||
|
||||
observed: dict[str, dict[str, str] | BaseException] = {} # mutable-ok: the pre-call hook records into it
|
||||
observed: dict[str, dict[str, str] | BaseException] = {}
|
||||
|
||||
def read_headers_the_way_a_guardrail_does(logging_obj: LiteLLMLoggingObj | None) -> None:
|
||||
assert logging_obj is not None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue