-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
pydantic_model_creator include has a bug #1430
Comments
I was trying to understand the logic behind the |
Yes, I think there's a certain gap between what he was designed to do and what he's shown to be able to do, and I have to dump it..... |
Yeah, I tried to execute the tutorials with that pydantic's version and I get :
|
Try latest, pydantic2.0 is supported |
|
File "/Users/qilong/Desktop/fastApiUser/main.py", line 15, in I have met same problem, how to solve, does anyone has solution? |
not work |
can my mini code run? |
Oh, I don't try your solution which is the mini code you mentioned. I have found a way to fix this bug, just use pydantic==1.10.11 |
Hi, compatible versions of pydantic which are 2.0.2, 2.0.3, and 2.1.1, but tortoise orm still has bugs with these pydantic v2 versions. Please help. |
I think this should be closed. |
pydantic_model_creator has a bug
When I use include in pydantic_model_creator to get fk_field I get an error, KeyError: 'fk_model_id'
this error
this mini code
The text was updated successfully, but these errors were encountered: