Subgraphs
Notebook· 08.05· 90–120 min· Lesson 68 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Compose graphs: add a compiled subgraph as a node (shared state) or call it from a node (different state).
- Avoid the shared-reducer trap that duplicates list items.
- See inside: stream with
subgraphs=Trueand read a paused subgraph's state withget_state(subgraphs=True). - Pause and persist across the boundary: interrupts inside a subgraph, one checkpointer for both.
Before you start
Lessons 08.01–08.03; Module 07 (reducers, Command).
