seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
seqlib.seqtask.SeqTask Class Reference
Inheritance diagram for seqlib.seqtask.SeqTask:
seqlib.seqtask.LoopTask seqlib.seqtask.LoopTask seqlib.seqtask.RTask seqlib.seqtask.RTask

Public Member Functions

def __attrs_post_init__
 Inputs as dictionary, key by id. More...
 
def input_task_list
 Get input tasks that are not finished. More...
 
def get_nodes
 Get nodes from list od ids. More...
 
def run
 
def get_task
 Get my task object. More...
 
def abort
 Aborts the asyncio task. More...
 
def reset
 Creates a new task. More...
 
def resume_context
 context to make sure the resume flag is set to False at the end More...
 
def __attrs_post_init__
 Inputs as dictionary, key by id. More...
 
def input_task_list
 Get input tasks that are not finished. More...
 
def get_nodes
 Get nodes from list od ids. More...
 
def run
 
def get_task
 Get my task object. More...
 
def abort
 Aborts the asyncio task. More...
 
def reset
 Creates a new task. More...
 
def resume_context
 context to make sure the resume flag is set to False at the end More...
 

Public Attributes

 resume
 

Static Public Attributes

tuple id = attr.ib()
 
tuple node = attr.ib(repr=False)
 
tuple inputs = attr.ib(default=attr.Factory(list), repr=False)
 
tuple resume = attr.ib(default=False, repr=False)
 

Member Function Documentation

def seqlib.seqtask.SeqTask.__attrs_post_init__ (   self)

Inputs as dictionary, key by id.

def seqlib.seqtask.SeqTask.__attrs_post_init__ (   self)

Inputs as dictionary, key by id.

def seqlib.seqtask.SeqTask.abort (   self)

Aborts the asyncio task.

def seqlib.seqtask.SeqTask.abort (   self)

Aborts the asyncio task.

def seqlib.seqtask.SeqTask.get_nodes (   self,
  l 
)

Get nodes from list od ids.

def seqlib.seqtask.SeqTask.get_nodes (   self,
  l 
)

Get nodes from list od ids.

def seqlib.seqtask.SeqTask.get_task (   self)

Get my task object.

Creates it if not existing yet.

def seqlib.seqtask.SeqTask.get_task (   self)

Get my task object.

Creates it if not existing yet.

def seqlib.seqtask.SeqTask.input_task_list (   self)

Get input tasks that are not finished.

def seqlib.seqtask.SeqTask.input_task_list (   self)

Get input tasks that are not finished.

def seqlib.seqtask.SeqTask.reset (   self,
  resume = False 
)

Creates a new task.

def seqlib.seqtask.SeqTask.reset (   self,
  resume = False 
)

Creates a new task.

def seqlib.seqtask.SeqTask.resume_context (   self)

context to make sure the resume flag is set to False at the end

def seqlib.seqtask.SeqTask.resume_context (   self)

context to make sure the resume flag is set to False at the end

def seqlib.seqtask.SeqTask.run (   self)
Simple run method.
Awaits inputs, then schedules execution of its own node (either a function
or template).
def seqlib.seqtask.SeqTask.run (   self)
Simple run method.
Awaits inputs, then schedules execution of its own node (either a function
or template).

Member Data Documentation

tuple seqlib.seqtask.SeqTask.id = attr.ib()
static
tuple seqlib.seqtask.SeqTask.inputs = attr.ib(default=attr.Factory(list), repr=False)
static
tuple seqlib.seqtask.SeqTask.node = attr.ib(repr=False)
static
tuple seqlib.seqtask.SeqTask.resume = attr.ib(default=False, repr=False)
static
seqlib.seqtask.SeqTask.resume

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