Skip to content

Commit

Permalink
Remove server extension from tiledb-prompt-options
Browse files Browse the repository at this point in the history
  • Loading branch information
SarantopoulosKon committed Jan 3, 2025
1 parent b0b1f5a commit b0f9804
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 150 deletions.
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,6 @@
"access": "public"
},
"jupyterlab": {
"discovery": {
"server": {
"managers": [
"pip"
],
"base": {
"name": "tiledb-prompt-options"
}
}
},
"extension": true,
"outputDir": "tiledb-prompt-options/labextension"
}
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
tiledb-prompt-options setup
"""

import json
import sys
from pathlib import Path
Expand Down
23 changes: 0 additions & 23 deletions tiledb-prompt-options/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,3 @@

def _jupyter_labextension_paths():
return [{"src": "labextension", "dest": data["name"]}]


from .handlers import setup_handlers


def _jupyter_server_extension_points():
return [{"module": "tiledb-prompt-options"}]


def _load_jupyter_server_extension(server_app):
"""Registers the API handler to receive HTTP requests from the frontend extension.
Parameters
----------
server_app: jupyterlab.labapp.LabApp
JupyterLab application instance
"""
setup_handlers(server_app.web_app)
server_app.log.info("Registered tiledb-prompt-options extension")


# For backward compatibility with notebook server - useful for Binder/JupyterHub
load_jupyter_server_extension = _load_jupyter_server_extension
73 changes: 0 additions & 73 deletions tiledb-prompt-options/extension.py

This file was deleted.

44 changes: 0 additions & 44 deletions tiledb-prompt-options/handlers.py

This file was deleted.

0 comments on commit b0f9804

Please sign in to comment.