hpcflow.sdk.core.test_utils.P1_sub_parameter_cls_2#
- class hpcflow.sdk.core.test_utils.P1_sub_parameter_cls_2(f=0)#
Bases:
ParameterValue
Parameter value handler:
p1_sub_2
Methods
Write this parameter value to an HDF5 group.
Prepare this parameter value for serialisation as JSON.
Extract a parameter value from an HDF5 group.
Extract a parameter value from JSON data.
Serialise this parameter value as a dictionary.
Attributes
- Parameters:
f (int) –
- dump_to_HDF5_group(group)#
Write this parameter value to an HDF5 group.
- Parameters:
group (Group) –
- prepare_JSON_dump()#
Prepare this parameter value for serialisation as JSON.
- classmethod save_from_HDF5_group(group, param_id, workflow)#
Extract a parameter value from an HDF5 group.
- classmethod save_from_JSON(data, param_id, workflow)#
Extract a parameter value from JSON data.