Today the Jupyter extension is planning on using the custom API getActivatedEnvironmentVariables method.
However this has a problem: If we call this API for a global python environment with a .env file in the users folder, then undefined is returned by the Python extension API.
Asks
- Option 1: When calling
getActivatedEnvironmentVariables with any python env and with a .env file in user workspace, then always return the environment variable
- Option 2: Have a more stable API than a custom API just for Jupyter
- Currently there is a separate API
getEnvironmentVariables that seems to not take an interpreter as an argument
- Other...