class_docstr: Represents partial access of user input based on an index (int),
   object attribute or dict key (str).
  
  Examples:
  
      .. code-block:: python
  
          with InputNode() as dag_input:
              a = dag_input[0]
              b = dag_input.x
              ray_dag = add.bind(a, b)
  
          # This makes a = 1 and b = 2
          ray_dag.execute(1, x=2)
  
          with InputNode() as dag_input:
              a = dag_input[0]
              b = dag_input[1]
              ray_dag = add.bind(a, b)
  
          # This makes a = 2 and b = 3
          ray_dag.execute(2, 3)
  
          # Alternatively, you can input a single object
          # and the inputs are automatically indexed from the object:
          # This makes a = 2 and b = 3
          ray_dag.execute([2, 3])
class_docstr_tok: ["Represents","partial","access","of","user","input","based","on","an","index","(","int",")",",","object","attribute","or","dict","key","(","str",")",".","Examples",":","..","code-block",":",":","python","with","InputNode","(",")","as","dag_input",":","a","=","dag_input","[","0","]","b","=","dag_input.x","ray_dag","=","add.bind","(","a",",","b",")","#","This","makes","a","=","1","and","b","=","2","ray_dag.execute","(","1",",","x=2",")","with","InputNode","(",")","as","dag_input",":","a","=","dag_input","[","0","]","b","=","dag_input","[","1","]","ray_dag","=","add.bind","(","a",",","b",")","#","This","makes","a","=","2","and","b","=","3","ray_dag.execute","(","2",",","3",")","#","Alternatively",",","you","can","input","a","single","object","#","and","the","inputs","are","automatically","indexed","from","the","object",":","#","This","makes","a","=","2","and","b","=","3","ray_dag.execute","(","[","2",",","3","]",")"]
docstr: Get type of the output of this DAGNode.
  
  Generated by ray.experimental.gradio_utils.type_to_string().
docstr_tok: ["Get","type","of","the","output","of","this","DAGNode",".","Generated","by","ray.experimental.gradio_utils.type_to_string","(",")","."]
code: def get_result_type(self) -> str:
      """Get type of the output of this DAGNode.
  
      Generated by ray.experimental.gradio_utils.type_to_string().
      """
      if "result_type_string" in self._bound_other_args_to_resolve:
          return self._bound_other_args_to_resolve["result_type_string"]
  
imports: from typing import Any, Dict, List, Union, Optional
  from ray.dag import DAGNode
  from ray.dag.format_utils import get_dag_node_str
  from ray.experimental.gradio_utils import type_to_string
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 5 for calling the InputAttributeNode obj's underlying member method code with example usage: obj.get_result_type() and returns: self