mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
fix(proxy): add future annotations import to guard middleware
The return annotation referenced the TYPE_CHECKING-only SecurityConfig name, which raised NameError at import time and broke every proxy unit test in CI.
This commit is contained in:
parent
74febbea64
commit
21b5eb6454
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ Design constraints honored here:
|
|||
envelope for 403/429 as for other proxy rejections.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue