fix(proxy): noqa ANN202 on guard config builder (untyped optional dep)

This commit is contained in:
Renn F 2026-10-11 04:49:17 +02:00
parent 2e709d12bd
commit 3019ebf490
No known key found for this signature in database
GPG key ID: B48363D3A3A4CF78

View file

@ -70,7 +70,7 @@ def guard_enabled() -> bool:
return _env_bool(GUARD_ENABLED_ENV)
def _build_guard_config():
def _build_guard_config(): # noqa: ANN202 # return type is from the lazily imported, untyped optional dependency
# type: () -> object
"""Build the guard config from the LITELLM_GUARD_* environment variables."""
guard_module: Final = importlib.import_module("guard")