class_docstr: The lightweight executor DAGNode of DeploymentFunctionNode that optimizes
  for efficiency.
  
      - We need Ray DAGNode's traversal and replacement mechanism to deal
          with deeply nested nodes as args in the DAG
      - Meanwhile, __init__, _copy_impl and _execute_impl are on the critical
          pass of execution for every request.
  
  Therefore for serve we introduce a minimal weight node as the final product
  of DAG transformation, and will be used in actual execution as well as
  deployment.
class_docstr_tok: ["The","lightweight","executor","DAGNode","of","DeploymentFunctionNode","that","optimizes","for","efficiency",".","-","We","need","Ray","DAGNode","'s","traversal","and","replacement","mechanism","to","deal","with","deeply","nested","nodes","as","args","in","the","DAG","-","Meanwhile",",","__init__",",","_copy_impl","and","_execute_impl","are","on","the","critical","pass","of","execution","for","every","request",".","Therefore","for","serve","we","introduce","a","minimal","weight","node","as","the","final","product","of","DAG","transformation",",","and","will","be","used","in","actual","execution","as","well","as","deployment","."]
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"]
  
file_path: ray/python/ray/serve/_private/deployment_function_executor_node.py
imports: from typing import Any, Dict, List, Union
  from ray import ObjectRef
  from ray.dag import DAGNode
  from ray.dag.constants import DAGNODE_TYPE_KEY
  from ray.dag.format_utils import get_dag_node_str
  from ray.serve.handle import RayServeHandle, RayServeSyncHandle
label_desc: Use image node_id 6 for calling the DeploymentFunctionExecutorNode obj's underlying member method code with example usage: obj.get_result_type() and returns: self