matflow.Loop#

class matflow.Loop(tasks, num_iterations, name=None, non_iterable_parameters=None, termination=None)#

Bases: Loop

Methods

from_json_like

to_dict

to_json_like

Attributes

app

name

non_iterable_parameters

num_iterations

task_insert_IDs

Get the list of task insert_IDs that define the extent of the loop.

task_objects

termination

workflow_template

Parameters:
  • tasks (List[Union[int, app.WorkflowTask]]) –

  • num_iterations (int) –

  • name (Optional[str]) –

  • non_iterable_parameters (Optional[List[str]]) –

  • termination (Optional[app.Rule]) –

app = App(name='MatFlow', version='0.3.0a129')#
classmethod from_json_like(json_like, shared_data=None)#
Parameters:
  • json_like (Union[Dict, List]) –

  • shared_data (Optional[Dict[str, ObjectList]]) –

property name#
property non_iterable_parameters#
property num_iterations#
property task_insert_IDs: Tuple[int]#

Get the list of task insert_IDs that define the extent of the loop.

property task_objects: Tuple[WorkflowTask]#
property termination#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#
property workflow_template#