I've opted to use the Python Language Server instead of Jedi.
My project root folder has a subfolder named "cdk_app", and in that folder is file cdk_app_stack.py. That file defines class "Lemoncello"
in the project root folder my file app.py has this line:
from cdk_app.cdk_app_stack import Lemoncello
"cdk_app.cdk_app_stack" is marked by vscode as an unresolved reference. (but it runs properly.)
if I change it to
cdk_app_stack import Lemoncello
(removed the folder qualifier) vscode resolves it ok (and it runs ok)
this is only an issue when I use the project venv. When not, both syntax resolve and run.
Why is the reference unresolvable when I specify the subfolder name, when using a venv?
Thanks all.