You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was expecting to get a type error on the assignment for age in hero_2 and hero_3.
Is there any specific VScode settings I need to set up to get pylance to properly start flagging these? Or do I have a misunderstanding of what I should expect to see.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
First Check
Commit to Help
Example Code
Description
I'm following the tutorial, and got to this section about writing where clauses that describes when using expressions, we can expect to see validations on statements like:
But.. I'm not seeing that in VSCode. In general actually, I'm not seeing any type errors when I try and break things on purpose, for example:
I was expecting to get a type error on the assignment for age in hero_2 and hero_3.
Is there any specific VScode settings I need to set up to get pylance to properly start flagging these? Or do I have a misunderstanding of what I should expect to see.
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.24
Python Version
3.10.12
Additional Context
No response
All reactions