Configure the Deephaven console service

The console service is a gRPC service that enables you to execute code and get autocompletion results (see console.proto for more details).

Configuration

  • deephaven.console.disable: Set to true to disable console-based code execution.
  • deephaven.console.autocomplete.disable: Set to true to disable autocomplete for both Groovy and Python.

See the configuration file guide for more details on where to set these configuration properties.

Jedi

Deephaven uses jedi for the console autocompletion service that powers the web UI.

To disable jedi autocomplete at runtime, run the following script:

Valid options for mode are one of:

  • STRONG: (default) Looks in the user's globals for answers to autocomplete and analyzes runtime Python objects.
  • OFF: Turns off autocomplete.
  • SAFE: Uses static analysis of source files. No code can be executed.