Skip to main content

Module options

Module options 

Source
Expand description

Resolved notebook-service options and the notebooks.toml document.

notebooks.toml is its own config file under the CLI config dir (waratah_bin/src/config_dir.rs resolves where that is) — deliberately not a table inside the cluster address file, so the two configs can be owned and edited independently. Merge order is CLI flag > notebooks.toml value > built-in default (NotebookOptions::resolve). waratah_bin owns the flags and the data-dir-derived defaults; this crate only defines the file schema and the merge so both are testable in one place.

Structs§

NotebookCli
Per-field CLI overrides from waratah start flags.
NotebookDefaults
Data-dir-derived defaults; waratah_bin fills these from waratah_storage::layout exactly like --ingest-dir / --spill-dir.
NotebookOptions
Fully resolved notebook-service options.
NotebooksToml
The {config-dir}/notebooks.toml document.

Constants§

DEFAULT_CULL_IDLE_SECS
Default kernel idle culling timeout, seconds (~1h, work-order v1 value).
JUPYTER_PATH
Path prefix the proxy and the sidecar’s base_url agree on.