We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51da367 commit 4467d24Copy full SHA for 4467d24
src/pdl/pdl_schema_utils.py
@@ -112,7 +112,7 @@ def pdltype_to_jsonschema(
112
case OptionalPdlType(optional=t):
113
t_schema = pdltype_to_jsonschema(t, additional_properties)
114
schema = {"anyOf": [t_schema, "null"]}
115
- case JsonSchemaTypePdlType(type=t) as s:
+ case JsonSchemaTypePdlType(type=t):
116
if pdl_type.__pydantic_extra__ is None:
117
extra = {}
118
else:
0 commit comments