litellm/tests/test_litellm/proxy/common_utils
Cesar Garcia 01dfc3561a
Fix AttributeError when metadata is null in request body (#17263) (#17306)
Handle the case where metadata is explicitly set to null/None in the
request body. This was causing a 401 error with "'NoneType' object
has no attribute 'get'" when calling /v1/batches with metadata: null.

The fix uses `or {}` instead of a default dict value since the key
exists but has a None value.
2025-12-01 19:58:27 -08:00
..
test_callback_utils.py [Fix] UI - Delete Callbacks Failing (#16473) 2025-11-12 18:43:37 -08:00
test_custom_openapi_spec.py [Fix] Fixes Swagger UI resolver errors for chat completion endpoints caused by Pydantic v2 $defs not being properly exposed in the OpenAPI schema. (#16784) 2025-11-18 17:39:28 -08:00
test_get_routes.py [Bug Fix] - Get Routes (#13466) 2025-08-09 12:52:23 -07:00
test_http_parsing_utils.py Fix AttributeError when metadata is null in request body (#17263) (#17306) 2025-12-01 19:58:27 -08:00
test_key_rotation_manager.py [Feat] UI - Allow scheduling key rotations when creating virtual keys (#14960) 2025-09-26 16:24:40 -07:00
test_load_config_utils.py [Bug Fix] s3 config.yaml file - ensure yaml safe load is used (#12373) 2025-07-07 14:42:33 -07:00
test_openai_endpoint_utils.py [Fix] Exclude litellm_credential_name from Sensitive Data Masker (Updated) (#16958) 2025-11-21 19:09:48 -08:00
test_reset_budget_job.py Prevent writing default user setting updates to yaml (error in non-root env) + Use central team member budget when max_budget_in_team set on UI (#12533) 2025-07-12 10:13:07 -07:00
test_timezone_utils.py
test_upsert_budget_membership.py [Feat] UI - Allow editing team member rpm/tpm limits (#13669) 2025-08-15 17:29:44 -07:00