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

    Selector for Datalayer runtimes and Pyodide. Shows a QuickPick with create commands + controllers.

    Architecture Pattern:

    • Modeled after vscode-jupyter's LocalPythonKernelSelector
    • Shows single QuickPick dialog (not nested menus)
    • Mixes command items (Create GPU/CPU) with controller items (Runtimes, Pyodide)
    • Command items execute creation flows
    • Controller items activate existing controllers
    Index

    Constructors

    Properties

    authProvider: SDKAuthProvider
    sdk: DatalayerClient

    Methods

    • Build QuickPick items: commands + controllers.

      Order:

      1. Create GPU Runtime (command)
      2. Create CPU Runtime (command)
      3. Separator
      4. Active runtime controllers (dynamic)
      5. Pyodide controller (static)

      Returns Promise<RuntimeQuickPickItem[]>

      Array of QuickPick items

    • Show runtime selector QuickPick. Entry point called from 'datalayer.selectRuntime' command.

      Parameters

      • notebook: NotebookDocument

        The notebook document to select runtime for

      Returns Promise<void>