class_docstr: A `GraphRunner` is responsible for running a `GraphSchema`.
docstr: Runs the instantiated graph with the given inputs and targets.
  
  Args:
      inputs: Input nodes to be added to the graph. These can be referenced by
          name in the "needs" key of a node in the schema.
      targets: Nodes whose output is needed and must always run.
  
  Returns: A mapping of target node name to output value.
docstr_tok: ["Runs","the","instantiated","graph","with","the","given","inputs","and","targets",".","Args",":","inputs",":","Input","nodes","to","be","added","to","the","graph",".","These","can","be","referenced","by","name","in","the","``","needs","''","key","of","a","node","in","the","schema",".","targets",":","Nodes","whose","output","is","needed","and","must","always","run",".","Returns",":","A","mapping","of","target","node","name","to","output","value","."]
code: def run(
      self,
      inputs: Optional[Dict[Text, Any]] = None,
      targets: Optional[List[Text]] = None,
  ) -> Dict[Text, Any]:
      """Runs the instantiated graph with the given inputs and targets.
  
      Args:
          inputs: Input nodes to be added to the graph. These can be referenced by
              name in the "needs" key of a node in the schema.
          targets: Nodes whose output is needed and must always run.
  
      Returns: A mapping of target node name to output value.
      """
      ...
  
file_path: rasa/rasa/engine/runner/interface.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Text
  from rasa.engine.graph import ExecutionContext, GraphNodeHook, GraphSchema
  from rasa.engine.storage.storage import ModelStorage
label_desc: Use image node_id 2 for calling the GraphRunner obj's underlying member method code with example usage: obj.run(inputs, targets) without return types