Python API reference
source >> target | target << source | source.link(target, ...)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.link(target, ...)delegates registration to the owning Service and returns Link.
Stream fields properties
Normally populated by Pipeline factories.
PropertyTypeDescription
key / name / typestrStable symbolic identity, display name, and selected transformation.
service / pipelineService / PipelineImmutable graph ownership context.
source / sourcesStream | list[Stream]Primary and additional incoming graph references.
endpoint / functionEndpoint | Function | NoneBoundary or callback metadata when supported.
x / yfloatDesigner coordinates.
Stream.link() properties
Persisted execution override.
PropertyTypeDescription
targetStreamExisting downstream target.
Requiredcall_semanticsCallSemanticsExecution behavior for this edge.
Default:Inheritedasync_bool | NoneAsynchronous FunctionCall option.
Default:NonepoolPool | NonePool object used by task-pool semantics.
Default:Nonepriorityint | NonePriorityTaskPool priority.
Default:NonePython example
incoming >> validate >> publish
merge << cache_result << database_result
validate.link(
publish,
call_semantics=CallSemantics.PRIORITY_TASK_POOL,
pool=workers,
priority=5,
)