Replies: 3 comments 5 replies
-
I experience the same, any updates on this? |
Beta Was this translation helpful? Give feedback.
4 replies
-
Any update on this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Seems like this is still a problem even on v0.0.23 and v0.0.24 of sqlmodel and pydantic v2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
Hello,
I need to add a config to prevent from extra fields when creating or updating Hero model.
Above example works well, but my VSCode raises linting errors
When using:
The linting error thrown by
Pylance
is:When using the second format:
The linting error thrown by
MyPy
is:Incompatible types in assignment (expression has type "ConfigDict", base class "SQLModel" defined the type as "SQLModelConfig")
Operating System
Linux
Operating System Details
No response
SQLModel Version
lastest: 0.0.16
Python Version
3.11.7
Additional Context
mypy 1.9.0
mypy-extensions 1.0.0
Beta Was this translation helpful? Give feedback.
All reactions