Skip to content

Commit 6e82a89

Browse files
committed
trigger pipeline
1 parent 3c58658 commit 6e82a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python-fastui/fastui/json_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def deference_json_schema(
312312
if def_schema is None:
313313
raise ValueError(f'Invalid $ref "{ref}", not found in {defs}')
314314
else:
315-
return def_schema.copy(), required # clone dict to avoid attribute leakage via shared schema
315+
return def_schema.copy(), required # clone dict to avoid attribute leakage via shared schema.
316316
elif any_of := schema.get('anyOf'):
317317
if len(any_of) == 2 and sum(s.get('type') == 'null' for s in any_of) == 1:
318318
# If anyOf is a single type and null, then it is optional

0 commit comments

Comments
 (0)