hpcflow.app.OutputFileParser#

class hpcflow.app.OutputFileParser(output: 'app.Parameter', output_files: 'List[app.FileSpec]', script: 'str' = None, environment: 'Environment' = None, inputs: 'List[str]' = None, options: 'Dict' = None, abortable: 'Optional[bool]' = False, save_files: 'Union[List[str], bool]' = True)#

Bases: OutputFileParser

Methods

compose_source

Generate the file contents of this output file parser source.

from_json_like

to_dict

to_json_like

write_source

Attributes

abortable

app

environment

inputs

options

save_files

script

output

output_files

Parameters:
abortable: bool | None = False#
app = BaseApp(name='hpcFlow', version='0.2.0a54')#
compose_source()#

Generate the file contents of this output file parser source.

Return type:

str

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

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

inputs: List[str] = None#
options: Dict = None#
output: app.Parameter#
output_files: List[app.FileSpec]#
save_files: List[str] | bool = True#
script: str = None#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#
write_source(action)#