hpcflow.app.ValueSequence#

class hpcflow.app.ValueSequence(path, nesting_order, values, label=None, value_class_method=None)#

Bases: ValueSequence

Methods

from_json_like

from_linear_space

from_range

make_persistent

Save value to a persistent workflow.

to_dict

to_json_like

Attributes

app

input_path

input_type

is_sub_value

True if the values are for a sub part of the parameter.

labelled_type

normalised_inputs_path

Return the normalised path without the "inputs" prefix, if the sequence is an inputs sequence, else return None.

normalised_path

parameter

path_split

path_type

resource_scope

values

workflow

Parameters:
  • path (str) –

  • nesting_order (int) –

  • values (List[Any]) –

  • label (Optional[str]) –

  • value_class_method (Optional[str]) –

app = BaseApp(name='hpcFlow', version='0.2.0a83')#
classmethod from_json_like(json_like, shared_data=None)#
classmethod from_linear_space(start, stop, nesting_order, num=50, path=None, **kwargs)#
classmethod from_range(start, stop, nesting_order, step=1, path=None, **kwargs)#
property input_path#
property input_type#
property is_sub_value#

True if the values are for a sub part of the parameter.

property labelled_type#
make_persistent(workflow, source)#

Save value to a persistent workflow.

Parameters:
Return type:

Tuple[str, List[int], bool]

property normalised_inputs_path#

Return the normalised path without the “inputs” prefix, if the sequence is an inputs sequence, else return None.

property normalised_path#
property parameter#
property path_split#
property path_type#
property resource_scope#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#
property values#
property workflow#