matflow.WorkflowLoopList#

class matflow.WorkflowLoopList(_objects)#

Bases: WorkflowLoopList

Methods

add_object

add_objects

from_json_like

get

Get a single object from the object list, by specifying the value of the access attribute, and optionally additional keyword-argument attribute values.

get_all

Get one or more objects from the object list, by specifying the value of the access attribute, and optionally additional keyword-argument attribute values.

list_attrs

Get a tuple of the unique access-attribute values of the constituent objects.

to_dict

to_json_like

Attributes

app

add_object(obj, index=-1, skip_duplicates=False)#
add_objects(objs, index=-1, skip_duplicates=False)#
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]]) –

get(access_attribute_value=None, **kwargs)#

Get a single object from the object list, by specifying the value of the access attribute, and optionally additional keyword-argument attribute values.

get_all(access_attribute_value=None, **kwargs)#

Get one or more objects from the object list, by specifying the value of the access attribute, and optionally additional keyword-argument attribute values.

list_attrs()#

Get a tuple of the unique access-attribute values of the constituent objects.

to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#