-
Notifications
You must be signed in to change notification settings - Fork 11
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
Issue with Reflex 0.5.5 #6
Comments
In a quick attempt to fix this issue I cloned the repo and replaced all How can I find out what I should replace it with? |
the reason we try to import pydantic from reflex rather than just directly from pydantic was to address an issue with pydantic v2 models in reflex. This issue was addressed in 0.5.4, so we can just fix this with a conditional import that falls back to |
0.5.4 resolves the need to import pydantic from reflex.base, allowing us to import pydantic directly.
Address kroo#6: pydantic import error
Resolved in v1.0.2 |
Thank you, works like a charm again! |
Seems like there is also an issue with the new Reflex version 0.5.5 - pydantic cannot be imported from reflex base - I think it's renamed to reflex_main.
The text was updated successfully, but these errors were encountered: