mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
test(passthrough): annotate route match scope as Final
This commit is contained in:
parent
85c1b5d04a
commit
bd719c21dc
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue