class_docstr: Represents a function node decorated by @serve.deployment in a serve DAG.
code: def _copy_impl(
      self,
      new_args: List[Any],
      new_kwargs: Dict[str, Any],
      new_options: Dict[str, Any],
      new_other_args_to_resolve: Dict[str, Any],
  ):
      return DeploymentFunctionNode(
          self._body,
          self._deployment_name,
          self._app_name,
          new_args,
          new_kwargs,
          new_options,
          other_args_to_resolve=new_other_args_to_resolve,
      )
  
file_path: ray/python/ray/serve/_private/deployment_function_node.py
imports: from typing import Any, Callable, Dict, List, Union
  from ray.dag.dag_node import DAGNode
  from ray.dag.format_utils import get_dag_node_str
  from ray.serve._private.config import DeploymentConfig, ReplicaConfig
  from ray.serve._private.constants import RAY_SERVE_ENABLE_NEW_HANDLE_API
  from ray.serve.deployment import Deployment, schema_to_deployment
  from ray.serve.handle import DeploymentHandle, RayServeHandle
  from ray.serve.schema import DeploymentSchema
label_desc: Use image node_id 2 for calling the DeploymentFunctionNode obj's underlying member method code with example usage: obj._copy_impl(new_args, new_kwargs, new_options, new_other_args_to_resolve) and returns: DeploymentFunctionNode