Replies: 2 comments 4 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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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