Using Ctrl+Space while editing a python file triggers a suggestions popup. However, rather than linting the object and suggesting its methods/attributes, my popup shows me all words in the file (sorted alphabetically).
For instance, 10_000 and 10k are just words listed in my script, not methods attached to the model object's class:

Question: How can I limit these suggestions to the relevant methods/attributes?
It seems to me that Intellisense is treating my code as text, but I set the language mode to Python in VSCode.