ewokscore.graph.graph_io.parse_outputs#

ewokscore.graph.graph_io.parse_outputs(graph, outputs=None)[source]#

Output items have the following keys:

  • name (optional): output variable name (all outputs when missing)

  • new_name (optional): optional renaming when name is defined

  • id (optional): node id

  • label (optional): used when id is missing

  • task_identifier (optional): used when id is missing

  • all (optional): used when id, label and task_identifier are missing (True: all nodes, False: end nodes)

Parameters:
  • graph (DiGraph)

  • outputs (Optional[List[dict]])

Return type:

List[dict]