Skip to content
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

Way to access the environment variables inside my custom widget? #212

Open
gillsimu opened this issue Apr 13, 2023 · 1 comment
Open

Way to access the environment variables inside my custom widget? #212

gillsimu opened this issue Apr 13, 2023 · 1 comment

Comments

@gillsimu
Copy link

I have to access the environment variables defined inside my custom widget code, is there a way to do so without passing the arguments as a parameter?

@mwcraig
Copy link
Contributor

mwcraig commented Apr 13, 2023

@gillsimu -- you will get a more complete answer if you post your question at the Jupyter Community Forum, but from Python you should be able to use os.environ or os.getenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants