hpcflow.sdk.core.test_utils.P1_parameter_cls#
- class hpcflow.sdk.core.test_utils.P1_parameter_cls(a: int, d: int | None = None, sub_param: hpcflow.sdk.core.test_utils.P1_sub_parameter_cls | None = None)#
Bases:
ParameterValue
Methods
Used for testing custom object CLI formatting.
Attributes
- Parameters:
a (int) –
d (int | None) –
sub_param (P1_sub_parameter_cls | None) –
- classmethod CLI_parse(a_str, double='', e=None)#
- custom_CLI_format(add=None, sub=None)#
- custom_CLI_format_prep(reps=None)#
Used for testing custom object CLI formatting.
For example, with a command like this:
<<join[delim=”,”](parameter:p1c.custom_CLI_format_prep(reps=4))>>.
- dump_to_HDF5_group(group)#
- classmethod from_data(b, c)#
- classmethod from_file(path)#
- sub_param: P1_sub_parameter_cls | None = None#
- property sub_param_prop#
- to_dict()#
- property twice_a#