litellm/litellm/proxy/policy_engine
mateo-berri f94bd6d903 refactor(typing): replace Any with proven types in 65 backend files
Typing-only pass over backend modules that carried the most reportAny and
reportExplicitAny errors. Every new annotation is backed by a construction
site, a call site, or an isinstance narrowing that already existed; untyped
JSON boundaries were left alone rather than declared without validation.

Tree-wide basedpyright errors drop 138,481 to 138,007. reportAny drops 8,854
to 8,645 and reportExplicitAny drops 3,119 to 2,814.
2026-09-02 09:11:36 +00:00
..
__init__.py chore(lint): clear grandfathered over-limit lint drift and ratchet budgets down 2026-08-05 12:18:13 -07:00
architecture.md [Feat] New LiteLLM Policy engine - create policies to manage guardrails, conditions - permissions per Key, Team (#19612) 2026-01-22 19:49:53 -08:00
attachment_registry.py refactor(types): replace implicit and explicit Any across 11 modules 2026-08-06 03:34:06 +00:00
condition_evaluator.py perf: build log messages lazily so filtered-out log records cost nothing (#35703) 2026-08-04 04:34:52 +00:00
init_policies.py refactor(typing): replace Any with proven types in 65 backend files 2026-09-02 09:11:36 +00:00
pipeline_executor.py fix(policy_engine): restore request guardrails list after pipeline allow 2026-08-31 16:38:44 -07:00
policy_endpoints.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
policy_matcher.py fix(auth): support wildcard prefixes in jwt team_allowed_routes 2026-08-21 01:56:02 +00:00
policy_registry.py refactor(repositories): type prisma table access with one generic protocol 2026-08-25 12:14:17 +00:00
policy_resolve_endpoints.py Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_decrease_anys_opus5_round2 2026-08-25 16:17:29 -07:00
policy_resolver.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
policy_validator.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00