-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] Databricks is not identified as Jupyter #2422
Comments
There is no future proof way of detecting Jupyter that I know of. I'd accept a PR for whatever fudge is required to detect Databricks... |
I've dumped the environment variables that are present in a Databricks notebook here Potentially checking for both this var name and value would be the most reliable apporach:
|
I'll make a PR if this is ok, try to detect |
PR created at #2424 |
Did I solve your problem? Why not buy the devs a coffee to say thanks? |
You may find a solution to your problem in the docs or issues.
Describe the bug
Databricks is not considered as "Jupyter", therefore
JUPYTER_LINES
andJUPYTER_COLUMNS
has no effect on the console logProvide a minimal code example that demonstrates the issue if you can. If the issue is visual in nature, consider posting a screenshot.
Databricks has a Ipython type
InteractiveShell
which is neitherIpython
orZMQInteractiveShell
If you're using Rich in a terminal:
If you're using Rich in a Jupyter Notebook, run the following snippet in a cell
and paste the output in your bug report.
The text was updated successfully, but these errors were encountered: