ewokscore.graph.graph_io.update_default_inputs#

ewokscore.graph.graph_io.update_default_inputs(graph, inputs=None)[source]#

Input items have the following keys:

  • name: input variable name

  • value: input variable value

  • 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: start nodes)

Parameters:
  • graph (DiGraph) –

  • inputs (Optional[List[dict]]) –

Return type:

None