-
Notifications
You must be signed in to change notification settings - Fork 64
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
Code for simple for throws PydanticImportError #38
Comments
Fixed here: #35. Not yet released. Short term work around - downgrade to pydantic 1.10.11. |
Duplicate of #33 |
I had the same problem.
change the line 4 from:
to the following:
That will fix the problem for you. With that being said, there might be additional misalignment problems elsewhere. Hence it might be a better choice to use the official solutions. |
@frederickmannings when will this be released? This project looks promising, but given that the rest of my system uses pydantic > 2, this is a blocker. |
Any update on a release with an official fix? The import error is still present with the current release on pypi. |
Hi, I'm still getting this error using v 0.6.0 on pypi, this PR (#35) seems to fix it, but its not fixed in the version I am using. Any idea why? |
Code for Simple Form in README.md cannot be run
I was starting out with
streamlit-pydantic
and tried to run the code for the simple form given in theREADME.md
, but I encountered an import error while running the simple example.The code I am trying to run is exactly the one given for the simple form -
Expected behaviour:
Rendering a simple form with
streamlit-pydantic
.Steps to reproduce the issue:
.venv
simple_form.py
file using the above code or copying it from theREADME.md
streamlit run simple_form.py
-->
Technical details:
Please let me know if any further details are required, and I will be happy to provide them. Thanks!
The text was updated successfully, but these errors were encountered: