Skip to content

Commit

Permalink
Merge pull request #2578 from plotly/fix/dbx
Browse files Browse the repository at this point in the history
Disable jupyter dash in databricks.
  • Loading branch information
T4rk1n committed Jun 28, 2023
2 parents 7a58dab + 16662a9 commit 4f33790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](https://semver.org/).

## [UNRELEASED]

## Fixed

- [#2573](https://github.com/plotly/dash/pull/2578) Disable jupyter dash in Databricks, as the implementation here does not work in a Databricks notebook. Dash Enterprise customers can use the separate databricks-dash package for this purpose.

## Changed

- [#2573](https://github.com/plotly/dash/pull/2573) Use `julia --project` command inside `JuliaRunner`.
Expand Down
3 changes: 2 additions & 1 deletion dash/_jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ def _wrap_errors(error):

@property
def active(self):
return _dep_installed and (self.in_ipython or self.in_colab)
_inside_dbx = "DATABRICKS_RUNTIME_VERSION" in os.environ
return _dep_installed and not _inside_dbx and (self.in_ipython or self.in_colab)


jupyter_dash = JupyterDash()

0 comments on commit 4f33790

Please sign in to comment.