Skip to content

Commit

Permalink
SparkConnector: readd function to install extension for classic UI
Browse files Browse the repository at this point in the history
  • Loading branch information
etejedor committed May 22, 2024
1 parent 5f285fe commit ab03cda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SparkConnector/sparkconnector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
warnings.warn("Importing 'sparkconnector' outside a proper installation.")
__version__ = "dev"

def _jupyter_nbextension_paths():
""" Used by "jupyter nbextension" command to install frontend extension """
return [dict(
section="notebook",
src="nbextension",
dest="sparkconnector",
require="sparkconnector/extension"),
]

def _jupyter_labextension_paths():
return [{
Expand Down

0 comments on commit ab03cda

Please sign in to comment.