seq  4.0.0-pre3
Public Member Functions | Static Public Attributes | List of all members
lib.seqtask.LoopTask Class Reference

Executes Loop nodes. More...

Inheritance diagram for lib.seqtask.LoopTask:
lib.seqtask.SeqTask

Public Member Functions

def __attrs_post_init__ (self)
 Inputs as dictionary, key by id. More...
 
def run (self)
 Simple run method. More...
 
- Public Member Functions inherited from lib.seqtask.SeqTask
def input_task_list (self)
 Get input tasks that are not finished. More...
 
def get_nodes (self, l)
 Get nodes from list od ids. More...
 
def get_task (self)
 Get my task object. More...
 
def abort (self)
 Aborts the asyncio task. More...
 
def reset (self, resume=False)
 Creates a new task. More...
 
def resume_context (self)
 context to make sure the resume flag is set to False at the end More...
 

Static Public Attributes

 block = attr.ib(init=False)
 
 condition = attr.ib(init=False)
 
 init = attr.ib(init=False)
 
 context = attr.ib(init=False)
 
- Static Public Attributes inherited from lib.seqtask.SeqTask
 id = attr.ib()
 
 node = attr.ib(repr=False)
 
 inputs = attr.ib(default=attr.Factory(list), repr=False)
 
 resume = attr.ib(default=False, repr=False)
 

Detailed Description

Executes Loop nodes.

Member Function Documentation

◆ __attrs_post_init__()

def lib.seqtask.LoopTask.__attrs_post_init__ (   self)

Inputs as dictionary, key by id.

Reimplemented from lib.seqtask.SeqTask.

◆ run()

def lib.seqtask.LoopTask.run (   self)

Simple run method.

Awaits inputs, then schedules execution of its own node (either a function or template).

Reimplemented from lib.seqtask.SeqTask.

Member Data Documentation

◆ block

lib.seqtask.LoopTask.block = attr.ib(init=False)
static

◆ condition

lib.seqtask.LoopTask.condition = attr.ib(init=False)
static

◆ context

lib.seqtask.LoopTask.context = attr.ib(init=False)
static

◆ init

lib.seqtask.LoopTask.init = attr.ib(init=False)
static

The documentation for this class was generated from the following file: