Skip to content

Commit 96404c4

Browse files
committed
Draft
1 parent abf39b8 commit 96404c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outlines/types/json_schema_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def schema_type_to_python(
5858
return json_schema_dict_to_pydantic(schema, name)
5959
elif caller_target_type == "typeddict":
6060
return json_schema_dict_to_typeddict(schema, name)
61-
if caller_target_type == "dataclass":
61+
elif caller_target_type == "dataclass":
6262
return json_schema_dict_to_dataclass(schema, name)
6363

6464
return Any

0 commit comments

Comments
 (0)