From bb2ec095082d2ec2fa2025c3e8cf056f8f83dc16 Mon Sep 17 00:00:00 2001 From: D41910 <158550716+D41910@users.noreply.github.com> Date: Thu, 15 Oct 2026 01:22:22 +0800 Subject: [PATCH] fix: address review and validation findings for PR 44365 --- litellm/litellm_core_utils/dot_notation_indexing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/dot_notation_indexing.py b/litellm/litellm_core_utils/dot_notation_indexing.py index 63872046879..b5aec25800c 100644 --- a/litellm/litellm_core_utils/dot_notation_indexing.py +++ b/litellm/litellm_core_utils/dot_notation_indexing.py @@ -60,7 +60,7 @@ def get_nested_value(data: Mapping[str, object], key_path: str, default: T | Non # Use a temporary placeholder, split on unescaped dots, then restore placeholder: Final = "\x00" - def _resolve(path: str) -> Any: + def _resolve(path: str) -> object: parts = path.replace("\\.", placeholder).split(".") current: Any = data for part in parts: