class_docstr: Represents an actor creation in a Ray task DAG.
code: def __init__(
      self,
      cls,
      cls_args,
      cls_kwargs,
      cls_options,
      other_args_to_resolve=None,
  ):
      self._body = cls
      self._last_call: Optional["ClassMethodNode"] = None
      super().__init__(
          cls_args,
          cls_kwargs,
          cls_options,
          other_args_to_resolve=other_args_to_resolve,
      )
  
      if self._contains_input_node():
          raise ValueError(
              "InputNode handles user dynamic input the the DAG, and "
              "cannot be used as args, kwargs, or other_args_to_resolve "
              "in ClassNode constructor because it is not available at "
              "class construction or binding time."
          )
  
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 ClassNode object from inherited base classes: DAGNode with example: obj = ClassNode(cls, cls_args, cls_kwargs, cls_options, other_args_to_resolve)