test(passthrough): annotate route match scope as Final

This commit is contained in:
mateo-berri 2026-08-09 11:49:20 -07:00
parent 85c1b5d04a
commit bd719c21dc

View file

@ -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,