Jupyter kernel
Environment variables

Environment variables can be set in the .env.q8s file that should be placed in the root directory of the workspace.

.env.q8s
export KEY=VALUE

To use the environment variables in the Jupyter notebook, you can access them as usual.

import os
 
print(os.environ.get("KEY", None))
# VALUE