SimplePipeline is a lightweight alternative to the full Pipeline when your workflow has at most one expensive element — a single DataFit or Validation. It gives you fire-and-forget execution with a flat result containing parameter_values, cost, and optional summary_stats.
When to Use
How It Works
ASimplePipeline follows the same three conceptual steps as a full pipeline, just with a single expensive element and a flatter result:
- Build a typed config.
SimplePipelineinherits everything fromPipeline, so you compose the same element types (aDirectEntryfor known values plus oneDataFitorValidation). It adds client-side validation that rejects configs with more than one expensive element — the error is raised immediately when you build it, so you never wait on a server-side rejection to find out. - Submit fire-and-forget. The config is sent to Ionworks, which runs it in the background. Because there is at most one expensive element, there is no per-element status to track — you just wait for the whole job to finish.
- Read a flat result. A fit returns
parameter_valuesandcost; a validation additionally returnssummary_stats. There is no cumulative parameter threading to unpack — everything is at the top level of the result.
Running a SimplePipeline
The runnable SDK code — building the config withionworks_schema, submitting and polling with client.simple_pipeline, and the validation-only variant — lives in the Documentation tab:
SimplePipeline in the Python API
Build a config, submit with
client.simple_pipeline, poll for completion, and read the flat result.