We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c58658 commit 6e82a89Copy full SHA for 6e82a89
src/python-fastui/fastui/json_schema.py
@@ -312,7 +312,7 @@ def deference_json_schema(
312
if def_schema is None:
313
raise ValueError(f'Invalid $ref "{ref}", not found in {defs}')
314
else:
315
- return def_schema.copy(), required # clone dict to avoid attribute leakage via shared schema
+ return def_schema.copy(), required # clone dict to avoid attribute leakage via shared schema.
316
elif any_of := schema.get('anyOf'):
317
if len(any_of) == 2 and sum(s.get('type') == 'null' for s in any_of) == 1:
318
# If anyOf is a single type and null, then it is optional
0 commit comments