hpcflow.app.InputValue#

class hpcflow.app.InputValue(parameter, value=None, value_class_method=None, path=None)#

Bases: InputValue

Methods

from_json_like

make_persistent

Save value to a persistent workflow.

to_dict

to_json_like

Attributes

app

is_sub_value

True if the value is for a sub part of the parameter (i.e.

normalised_inputs_path

normalised_path

value

workflow

Parameters:
  • parameter (Union[app.Parameter, str]) –

  • value (Optional[Any]) –

  • value_class_method (Optional[str]) –

  • path (Optional[str]) –

app = BaseApp(name='hpcFlow', version='0.2.0a53')#
classmethod from_json_like(json_like, shared_data=None)#
property is_sub_value#

True if the value is for a sub part of the parameter (i.e. if path is set). Sub-values are not added to the base parameter data, but are interpreted as single-value sequences.

make_persistent(workflow, source)#

Save value to a persistent workflow.

Returns:

  • String is the data path for this task input and single item integer list

  • contains the index of the parameter data Zarr group where the data is

  • stored.

Parameters:
Return type:

Tuple[str, List[int], bool]

property normalised_inputs_path#
property normalised_path#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#
property value#
property workflow#