mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
fix: address review and validation findings for PR 44365
This commit is contained in:
parent
a2ed121444
commit
bb2ec09508
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue