code: def __init__(self, name, real_worker):
      self._name = name
      self._real_worker = real_worker
      self._warned = set()
  
imports: from ray._private import log
  import logging
  import os
  import sys
  from ray import _version
  import ray._raylet
  from ray._raylet import ActorClassID, ActorID, NodeID, Config, JobID, WorkerID, FunctionID, ObjectID, ObjectRef, ObjectRefGenerator, DynamicObjectRefGenerator, TaskID, UniqueID, Language, PlacementGroupID
  from ray._private.state import nodes, timeline, cluster_resources, available_resources
  from ray._private.worker import LOCAL_MODE, SCRIPT_MODE, WORKER_MODE, RESTORE_WORKER_MODE, SPILL_WORKER_MODE, cancel, get, get_actor, get_gpu_ids, init, is_initialized, put, kill, remote, shutdown, wait
  import ray.actor
  from ray.actor import method
  from ray.cross_language import java_function, java_actor_class
  from ray.runtime_context import get_runtime_context
  from ray import internal
  from ray import util
  from ray import _private
  from ray.client_builder import client, ClientBuilder
  from ray._private.auto_init_hook import wrap_auto_init_for_all_apis
label_desc: Use image node_id 1 to create a new _DeprecationWrapper object  with example: obj = _DeprecationWrapper(name, real_worker)