class_docstr: Represents an actor method invocation in a Ray function DAG.
code: def __init__(
      self,
      method_name: str,
      method_args: Tuple[Any],
      method_kwargs: Dict[str, Any],
      method_options: Dict[str, Any],
      other_args_to_resolve: Dict[str, Any],
  ):
      self._bound_args = method_args or []
      self._bound_kwargs = method_kwargs or {}
      self._bound_options = method_options or {}
      self._method_name: str = method_name
      # Parse other_args_to_resolve and assign to variables
      self._parent_class_node: Union[
          ClassNode, ReferenceType["ray._private.actor.ActorHandle"]
      ] = other_args_to_resolve.get(PARENT_CLASS_NODE_KEY)
      # Used to track lineage of ClassMethodCall to preserve deterministic
      # submission and execution order.
      self._prev_class_method_call: Optional[
          ClassMethodNode
      ] = other_args_to_resolve.get(PREV_CLASS_METHOD_CALL_KEY, None)
  
      # The actor creation task dependency is encoded as the first argument,
      # and the ordering dependency as the second, which ensures they are
      # executed prior to this node.
      super().__init__(
          method_args,
          method_kwargs,
          method_options,
          other_args_to_resolve=other_args_to_resolve,
      )
  
imports: from weakref import ReferenceType
  import ray
  from ray.dag.dag_node import DAGNode
  from ray.dag.input_node import InputNode
  from ray.dag.format_utils import get_dag_node_str
  from ray.dag.constants import PARENT_CLASS_NODE_KEY, PREV_CLASS_METHOD_CALL_KEY
  from ray.util.annotations import DeveloperAPI
  from typing import Any, Dict, List, Union, Tuple, Optional
label_desc: Use image node_id 1 to create a new ClassMethodNode object from inherited base classes: DAGNode with example: obj = ClassMethodNode(method_name, method_args, method_kwargs, method_options, other_args_to_resolve)