Datalayer VS Code Extension - v0.0.9
    Preparing search index...

    Factory for creating Jupyter service managers. Centralizes service manager creation with type discrimination.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Create a service manager based on type and options.

      Parameters

      Returns IManager

      Service manager instance

      If Pyodide type is used (not yet implemented)

      // Mock service manager (no execution)
      const mock = ServiceManagerFactory.create({ type: 'mock' });

      // Local kernel service manager (VS Code Python)
      const local = ServiceManagerFactory.create({
      type: 'local',
      kernelId: 'abc-123',
      kernelName: 'python3',
      url: 'http://localhost:8888'
      });

      // Remote service manager (Jupyter server)
      const remote = ServiceManagerFactory.create({
      type: 'remote',
      serverSettings: mySettings
      });
    • Type guard to check if a service manager is a mock manager.

      Parameters

      • manager: IManager

        Service manager to check

      Returns boolean

      True if manager is a mock service manager