File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,8 @@ def __get_pydantic_json_schema__(
154154 ) -> _t .Any :
155155 # until https://github.com/pydantic/pydantic/issues/8413 is fixed
156156 json_schema = handler (core_schema )
157- json_schema ['required' ].append ('level' )
157+ schema_def = handler .resolve_ref_schema (json_schema )
158+ schema_def ['required' ].append ('level' )
158159 return json_schema
159160
160161
@@ -309,7 +310,8 @@ def __get_pydantic_json_schema__(
309310 ) -> _t .Any :
310311 # until https://github.com/pydantic/pydantic/issues/8413 is fixed
311312 json_schema = handler (core_schema )
312- json_schema .setdefault ('required' , []).extend (['startLinks' , 'endLinks' ])
313+ schema_def = handler .resolve_ref_schema (json_schema )
314+ schema_def .setdefault ('required' , []).extend (['startLinks' , 'endLinks' ])
313315 return json_schema
314316
315317
@@ -523,7 +525,8 @@ def __get_pydantic_json_schema__(
523525 ) -> _t .Any :
524526 # add `children` to the schema so it can be used in the client
525527 json_schema = handler (core_schema )
526- json_schema ['properties' ]['children' ] = {'tsType' : 'ReactNode' }
528+ schema_def = handler .resolve_ref_schema (json_schema )
529+ schema_def ['properties' ]['children' ] = {'tsType' : 'ReactNode' }
527530 return json_schema
528531
529532
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile with Python 3.11
2+ # This file is autogenerated by pip-compile with Python 3.12
33# by the following command:
44#
55# pip-compile --constraint=src/python-fastui/requirements/lint.txt --extra=fastapi --output-file=src/python-fastui/requirements/pyproject.txt --strip-extras src/python-fastui/pyproject.toml
@@ -18,20 +18,19 @@ idna==3.6
1818 # via
1919 # anyio
2020 # email-validator
21- pydantic==2.6.1
21+ pydantic==2.10.6
2222 # via
2323 # fastapi
2424 # fastui (src/python-fastui/pyproject.toml)
25- # pydantic
26- pydantic-core==2.16.2
25+ pydantic-core==2.27.2
2726 # via pydantic
2827python-multipart==0.0.7
2928 # via fastui (src/python-fastui/pyproject.toml)
3029sniffio==1.3.0
3130 # via anyio
3231starlette==0.36.3
3332 # via fastapi
34- typing-extensions==4.9.0
33+ typing-extensions==4.12.2
3534 # via
3635 # fastapi
3736 # pydantic
You can’t perform that action at this time.
0 commit comments