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 219faa3 commit 06276f0Copy full SHA for 06276f0
src/python-fastui/fastui/json_schema.py
@@ -310,7 +310,7 @@ def deference_json_schema(
310
if def_schema is None:
311
raise ValueError(f'Invalid $ref "{ref}", not found in {defs}')
312
else:
313
- 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.
314
elif any_of := schema.get('anyOf'):
315
if len(any_of) == 2 and sum(s.get('type') == 'null' for s in any_of) == 1:
316
# If anyOf is a single type and null, then it is optional
0 commit comments