I get type error if I use __root__ from pydantic while inheriting from SQLModel #281
Open
8 tasks done
Labels
question
Further information is requested
First Check
Commit to Help
Example Code
Description
I get a type error if I inherit
ProductList
model fromSQLModel
saying:However, If I use
BaseModel
from pydantic for inheritance error went away.Below line gives type error
Below line looks fine
Operating System
Linux
Operating System Details
Ubuntu 21.10
SQLModel Version
0.0.6
Python Version
3.10.2
Additional Context
The text was updated successfully, but these errors were encountered: