hpcflow.sdk.core.parameters.AbstractInputValue#

class hpcflow.sdk.core.parameters.AbstractInputValue#

Bases: JSONLike

Class to represent all sequence-able inputs to a task.

Methods

from_json_like

make_persistent

Save value to a persistent workflow.

to_dict

to_json_like

Attributes

value

workflow

classmethod from_json_like(json_like, shared_data=None)#
Parameters:
  • json_like (Union[Dict, List]) –

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

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:
  • workflow (Workflow) –

  • source (Dict) –

Return type:

Tuple[str, List[int], bool]

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