Skip to content

Loop

flowtask.components.Loop

Loop

Loop(loop=None, job=None, stat=None, **kwargs)

Bases: FlowComponent

Loop.

Overview

The Loop class is a FlowComponent that is used to iterate over the next Component and execute them in a sequential order. It extends the FlowComponent class and provides methods for starting tasks, retrieving steps, and executing jobs asynchronously.

create_component

create_component(target, value=None, **params)

get_component.

Create a new component instance.

run async

run()

Async Run Method.

start async

start(**kwargs)

start.

Initialize (if needed) a task