code: def _set_internal_replica_context(
      *,
      app_name: str,
      deployment: str,
      replica_tag: ReplicaTag,
      servable_object: Callable,
  ):
      global _INTERNAL_REPLICA_CONTEXT
      _INTERNAL_REPLICA_CONTEXT = ReplicaContext(
          app_name=app_name,
          deployment=deployment,
          replica_tag=replica_tag,
          servable_object=servable_object,
      )
  
imports: import contextvars
  import logging
  from dataclasses import dataclass
  from typing import Callable, Optional
  import ray
  from ray.exceptions import RayActorError
  from ray.serve._private.client import ServeControllerClient
  from ray.serve._private.common import ReplicaTag
  from ray.serve._private.constants import SERVE_CONTROLLER_NAME, SERVE_NAMESPACE
  from ray.serve.exceptions import RayServeException
  from ray.serve.grpc_util import RayServegRPCContext
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 4 for calling a global function with example usage: _set_internal_replica_context() without return types