cooperellidge commented on issue #41740:
URL: https://github.com/apache/airflow/issues/41740#issuecomment-2311466235

   I'm also using VS Code with Pylance and Mypy. 
   
   I have selected the interpreter as my Airflow venv. In this example, that 
includes Airflow and SQLAlchemy v1. I can create a second virtual env locally 
that includes scipy and SQLAlchemy v2 with a path `/path/to/other/venv`.
   
   In my vscode `settings.json`, I have added:
   
   ```json
   {
       "python.autoComplete.extraPaths": [
           "/path/to/other/venv/bin/python"
       ],
       "python.analysis.extraPaths": [
          "/path/to/other/venv/bin/python"
       ]
   }
   ```
   
   I still see the same pylance reportMissingImports error as before on scipy.
   
   And even if I could add scipy typings to my IDE, I don't see how this could 
resolve the v1 / v2 issue on SQLAlchemy.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to