hpcflow.sdk.core.command_files.OutputFileParser#

class hpcflow.sdk.core.command_files.OutputFileParser(output: 'app.Parameter', output_files: 'List[app.FileSpec]', script: 'str' = None, environment: 'Environment' = None, inputs: 'List[str]' = None, options: 'Dict' = None)#

Bases: JSONLike

Methods

compose_source

Generate the file contents of this output file parser source.

from_json_like

to_dict

to_json_like

write_source

Attributes

environment

inputs

options

script

output

output_files

Parameters:
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: Parameter#
output_files: List[FileSpec]#
script: str = None#
to_dict()#
to_json_like(dct=None, shared_data=None, exclude=None, path=None)#
write_source(action)#