From 8d036f520c8546b8c1c5208b32e097df2a14df57 Mon Sep 17 00:00:00 2001 From: Ashok Kumar <127404300+AshokChoudhary11@users.noreply.github.com> Date: Mon, 8 Apr 2024 12:48:37 +0530 Subject: [PATCH] For v2 extensions parse entrypoint data (#445) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * For v2 extensions parse entrypoint data * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update jupyterlab_server/config.py Co-authored-by: Frédéric Collonval --------- Co-authored-by: Ashok Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Frédéric Collonval --- jupyterlab_server/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jupyterlab_server/config.py b/jupyterlab_server/config.py index 93c4abc..f082850 100644 --- a/jupyterlab_server/config.py +++ b/jupyterlab_server/config.py @@ -163,6 +163,8 @@ def get_page_config( extension["mimeExtension"] = extbuild["mimeExtension"] if "style" in extbuild: extension["style"] = extbuild["style"] + # FIXME @experimental for plugin with no-code entrypoints. + extension["entrypoints"] = extbuild.get("entrypoints") extensions.append(extension) # If there is disabledExtensions metadata, consume it.