What helped for me:
I had pyright installed, so i opened settings by pressing command+, typed @ext:anysphere.cursorpyright, found Cursorpyright › Analysis: Type Checking Mode and changed from "basic" to "off".
@ext:anysphere.cursorpyright
Cursorpyright › Analysis: Type Checking Mode
"basic"
"off"