Skip to content
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

Add serviceManager prop to the Jupyter Context #172

Open
echarles opened this issue Jan 11, 2024 · 1 comment
Open

Add serviceManager prop to the Jupyter Context #172

echarles opened this issue Jan 11, 2024 · 1 comment
Labels
feature New feature or request

Comments

@echarles
Copy link
Member

As discussed with @fcollonval the JupyterContext could receive an serviceManager created from the outside instead of creating its own.

@echarles
Copy link
Member Author

... or only specific aspects of the serviceManager could be provided (content, kernel(specs)...), see the current definition of a serviceManager. This would allow to create a more composable Jupyter Context with contents provided from A and kernels provided by by B.

    interface IManagers {
        /**
         * The builder for the manager.
         *
         * @deprecated will be removed in JupyterLab v5
         */
        readonly builder: Builder.IManager;
        /**
         * The contents manager for the manager.
         */
        readonly contents: Contents.IManager;
        /**
         * The events service manager.
         */
        readonly events: Event.IManager;
        /**
         * A promise that fulfills when the manager is initially ready.
         */
        readonly ready: Promise<void>;
        /**
         * The server settings of the manager.
         */
        readonly serverSettings: ServerConnection.ISettings;
        /**
         * The session manager for the manager.
         */
        readonly sessions: Session.IManager;
        /**
         * The kernel manager of the manager.
         */
        readonly kernels: Kernel.IManager;
        /**
         * The kernelspec manager for the manager.
         */
        readonly kernelspecs: KernelSpec.IManager;
        /**
         * The setting manager for the manager.
         */
        readonly settings: Setting.IManager;
        /**
         * The terminals manager for the manager.
         */
        readonly terminals: Terminal.IManager;
        /**
         * The user manager for the manager.
         */
        readonly user: User.IManager;
        /**
         * The workspace manager for the manager.
         */
        readonly workspaces: Workspace.IManager;
        /**
         * The nbconvert manager for the manager.
         */
        readonly nbconvert: NbConvert.IManager;
    }
****

@echarles echarles added the feature New feature or request label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant