mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
style: apply ruff format to json_validation_rule.py
This commit is contained in:
parent
12c4a09f08
commit
f1f2fff980
1 changed files with 1 additions and 2 deletions
|
|
@ -58,8 +58,7 @@ def normalize_json_schema_types(
|
|||
# branch those entries fall through to the generic list recursion,
|
||||
# which leaves the bare strings uppercase.
|
||||
normalized_schema[key] = [
|
||||
type_mapping.get(entry, entry) if isinstance(entry, str) else entry
|
||||
for entry in value
|
||||
type_mapping.get(entry, entry) if isinstance(entry, str) else entry for entry in value
|
||||
]
|
||||
elif key == "properties" and isinstance(value, dict):
|
||||
# Recursively normalize properties
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue