Files
make-cad/docs/skill/references/docs/api/run_notebook.md
T
NiJingzhe 5177f4f186 docs(skill): teach the notebook runtime; drop the cache workflow
- new guide docs/guides/notebook-runtime.md: the header table, one FTC
  block per cell, the product-id rule, part families with notebook_id()
  and use(id=...), sca run and run_notebook
- SKILL.md, the workflows, domains and discipline references now build
  models as notebooks; the feature-tree convention maps blocks to cells
- regenerated API pages: run_notebook, use, notebook_id, NotebookRun,
  NotebookConfig, CellReport; removed the Cache*, ContentAddressedStore,
  resolve_cache_policy and incremental-solve pages, and the
  cache-build-workflow guide
- README / README.zh-CN: notebook quick start and example commands

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-02 17:16:25 +08:00

761 B

run_notebook

API Definition

def run_notebook(path: str | Path, *, id: str | None = None, overrides: Mapping[str, Any] | None = None, cache: bool = True) -> NotebookRun

Source: runtime/runner.py

Import Surface

  • notebook runtime: from simplecadapi.runtime import run_notebook

Description

Run the notebook at path and project its product.

id replaces the header's id for this run: the product is then the value with that id, and cells read it with notebook_id(). overrides replace top-level variables: the cells that define them do not run (marimo requires such a cell's variables to be overridden all together). cache=False neither reads nor writes the cell cache. Errors raised by a cell propagate unchanged.