We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20a580 commit e67fb64Copy full SHA for e67fb64
autogen/_pydantic.py
@@ -64,7 +64,7 @@ def type2schema(t: Any) -> JsonSchemaValue:
64
Returns:
65
JsonSchemaValue: The JSON schema
66
"""
67
-
+
68
if t is None:
69
return {"type": "null"}
70
elif get_origin(t) is Union:
0 commit comments