Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for pydantic > 2.10 #372

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EnyMan
Copy link

@EnyMan EnyMan commented Dec 9, 2024

Fixes #369
FastUI is broken with the new 2.10 Pydantic, and there are issues with circular import. This tries to fix that by refactoring the components part of the library.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 99.70501% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.05%. Comparing base (16abe6a) to head (340ceb0).
Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
src/python-fastui/fastui/components/containers.py 99.07% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #372      +/-   ##
==========================================
+ Coverage   95.68%   97.05%   +1.37%     
==========================================
  Files          14       18       +4     
  Lines         950     1190     +240     
==========================================
+ Hits          909     1155     +246     
+ Misses         41       35       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatibility with Pydantic 2.10
1 participant