litellm/litellm
yuneng-jiang b151ea669b [Fix] Extract _validate_token_response to fix PLR0915 (51 > 50 statements)
Extracted token response validation logic from _pkce_token_exchange into
a separate _validate_token_response static method to reduce the statement
count below the ruff PLR0915 limit of 50.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:57:06 -07:00
..
a2a_protocol style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
anthropic_interface style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
assistants
batch_completion
batches style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
caching Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
completion_extras fix(ci): stabilize CI tests - conditional import, mock fixes, timing adjustments 2026-03-13 00:01:25 +00:00
containers style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
endpoints/speech/speech_to_completion_bridge
evals style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
experimental_mcp_client style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
files style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
fine_tuning style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
google_genai merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
images style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
integrations Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 13:53:14 -03:00
interactions style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
litellm_core_utils fix(mypy): fix factory.py type narrowing issues (12 errors) 2026-03-12 23:53:44 +00:00
llms fix: revert realtime endpoint change, replace fragile asserts with fallback 2026-03-13 00:57:18 +00:00
ocr style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
passthrough style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
proxy [Fix] Extract _validate_token_response to fix PLR0915 (51 > 50 statements) 2026-03-12 23:57:06 -07:00
proxy_auth
rag style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
realtime_api style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
rerank_api style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
responses fix(mypy): fix remaining type errors after first pass 2026-03-13 00:15:03 +00:00
router_strategy Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
router_utils style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
secret_managers style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
skills style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
types fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00
vector_store_files style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
vector_stores Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 10:43:08 -03:00
videos style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
__init__.py fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00
_lazy_imports_registry.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_lazy_imports.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_logging.py
_redis.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_service_logger.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_uuid.py
_version.py
anthropic_beta_headers_config.json
anthropic_beta_headers_manager.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
blog_posts.json
budget_manager.py
constants.py merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
cost_calculator.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
cost.json
exceptions.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
main.py fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00
model_prices_and_context_window_backup.json Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 10:43:08 -03:00
mypy.ini
policy_templates_backup.json
provider_endpoints_support_backup.json feat(search): add Serper (serper.dev) as search provider (#23112) 2026-03-09 08:40:37 -07:00
py.typed
router.py fix(router): sync vector store wrapper missing model argument 2026-03-12 23:07:52 -07:00
scheduler.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
timeout.py
utils.py fix(mypy): fix scattered 1-off type errors across 14 files 2026-03-13 00:08:57 +00:00