code: def _set_global_client(client):
      global _global_client
      _global_client = client
  
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 2 for calling a global function with example usage: _set_global_client(client) without return types