From bb4cd5c3d12800ecd30c322fff2c7a197995ffcc Mon Sep 17 00:00:00 2001 From: mateo Date: Wed, 7 Oct 2026 21:10:34 +0000 Subject: [PATCH] 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> --- .../pass_through_endpoints/test_pass_through_endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py b/tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py index 13ccef94908..c4bde379fc5 100644 --- a/tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py +++ b/tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py @@ -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