Skip to content
Discussion options

You must be logged in to vote

I'm coming years later to this 😅

But in case anyone is still struggling, SQLModel uses modern standard types, including dataclass_transform. So, any editor that supports modern types would be able to work with it and provide inline errors and autocompletion.

In most cases, the issues with editors come from them not being able to detect the specific Python virtual environment used, or having an incorrect one configured. And then not being able to parse/import and use the source for SQLModel to understand its types.

Using uv would help standardize the way venvs are found, and then checking in the docs for the specific editor about selecting the Python environment to be used.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
3 participants
Converted from issue

This discussion was converted from issue #62 on May 18, 2026 13:55.