mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
fix(proxy): noqa ANN202 on guard config builder (untyped optional dep)
This commit is contained in:
parent
2e709d12bd
commit
3019ebf490
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue