load_from_string(file_name, file_content, parameters=None, reporter=None, report_node=None)[source]#

Load a network from a string. File content should be in a supported format.

  • file_name (str) – file name

  • file_content (str) – file content

  • parameters (Dict[str, str] | None) – a dictionary of import parameters

  • reporter (ReportNode | None) – deprecated, use report_node instead

  • report_node (ReportNode | None) – the reporter to be used to create an execution report, default is None (no report)


The loaded network

Return type: