APipeline#

class ultimo.core.APipeline(source=None)#

Base class for combined source/sink objects.

Methods

create_task()

Create a task that consumes the source.

process(value)

run()

Consume the source if available.

Attributes

source

The input source for the pipeline.

create_task() uasyncio.Task#

Create a task that consumes the source.

flow#

The flow factory class variable used to create an iterator.

alias of APipelineFlow

async run()#

Consume the source if available.

source: ASource | None#

The input source for the pipeline.