From bd719c21dc9624275006abde803c4652f9e1d830 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Sun, 9 Aug 2026 11:49:20 -0700 Subject: [PATCH] test(passthrough): annotate route match scope as Final --- .../pass_through_endpoints/test_llm_pass_through_endpoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py b/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py index 27d6e4c8585..f631215c03d 100644 --- a/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py +++ b/tests/test_litellm/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py @@ -2,6 +2,7 @@ import json import os import sys import traceback +from typing import Final from unittest import mock from unittest.mock import AsyncMock, MagicMock, Mock, patch @@ -2819,7 +2820,7 @@ def _resolve_route_name(method: str, path: str) -> str | None: from litellm.proxy.proxy_server import app - scope = { + scope: Final = { "type": "http", "method": method, "path": path,