SAService Architect Back to designer
SAService ArchitectDocumentation
Python API reference source >> target | target << source | source.task_pool_call(target, pool=...)

Stream and Link objects

Runtime graph nodes and optional persisted execution metadata for an existing edge.

When to use

Keep returned Stream objects in variables so graph wiring and explicit link options remain readable.

Behavior

  • >> sets a primary source and returns the target, allowing chains.
  • << appends an additional source and returns the target, allowing merge chains.
  • from_sources(*sources) replaces a complete multi-source list.
  • Typed call methods register FunctionCall, TaskPool, PriorityTaskPool, or ParallelCall metadata and return Link.
  • on_error(error_stream) assigns a dedicated Error stream to the source.

Stream fields properties

Normally populated by Pipeline factories.

PropertyTypeDescription
key / name / typestr

Stable symbolic identity, display name, and selected transformation.

service / pipelineService / Pipeline

Immutable graph ownership context.

source / sourcesStream | list[Stream]

Primary and additional incoming graph references.

endpoint / functionEndpoint | Function | None

Boundary or callback metadata when supported.

appearanceAppearance

Optional Designer coordinates and supported color.

Python example

incoming >> validate >> publish
merge << cache_result << database_result

validate.priority_task_pool_call(publish, pool=workers, priority=5)
validate >> validation_error
validate.on_error(validation_error)