Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose API for when the list of interpreters have changed #16676

Closed
DonJayamanne opened this issue Jul 13, 2021 · 2 comments
Closed

Expose API for when the list of interpreters have changed #16676

DonJayamanne opened this issue Jul 13, 2021 · 2 comments

Comments

@DonJayamanne
Copy link

Currently there's no way for Jupyter to know when user creates a new Python environment (conda, or the like).

Is it possible to get an event so we know that new interpreters have been created.

Note: Once thats done, how would we get these new interpreters. Not sure the GetInterrpeters is the best API for this, as that will return all interpreters all over again. Personally it would be nice to have something we can subscribe to, like an observable, this way we only get whats new).

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team and removed bug Issue identified by VS Code Team member as probable bug labels Jul 13, 2021
@brettcannon
Copy link
Member

There's no way for us to know when a conda environment is created outside of the local environment since there isn't a push notification from conda itself. Short of polling conda for that information I don't see how we can provide this without hacking around conda and we explicitly are trying not to do that anymore.

@DonJayamanne
Copy link
Author

we explicitly are trying not to do that anymore

Thanks

@karthiknadig karthiknadig removed the triage-needed Needs assignment to the proper sub-team label Jul 14, 2021
@microsoft microsoft locked and limited conversation to collaborators Jul 14, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants