All docs
API Reference
RunResult
RunResult is the friendly result of Engine.run — its .ok flag, .output Table, .outputs dict, plus .print() and .raise_on_error() for tests.
RunResult is what Engine.run returns for a wired step chain — a small,
fluent wrapper over the low-level PipelineResult. It exposes the terminal output as an lsdtools
Table and stays chainable, so a whole run reads as one line in a script or test.
Reach the raw PipelineResult (per-step results, raw Arrow) through its .pipeline attribute.
Usage#
Python
from lsdtools import Engine
res = Engine().run(double(t=numbers(count=3)))
res.raise_on_error().output.print()
# → x:[0, 2, 4]
Where to start#
Learn — Tables & data flow
Examples — Your first tool · Multi-output mesh
Properties
- ok true when the run finished without error
- output the last step's primary output as a table
- outputs the last producing step's outputs keyed by port
Methods
- print prints a compact preview of the result and returns self
- raise_on_error re-raises the captured exception if the run failed
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown