code: def test_ray_serve_grpc_context_serializable():
      """RayServegRPCContext should be serializable."""
      context = RayServegRPCContext(FakeGrpcContext())
      pickled_context = pickle.dumps(context)
      deserialized_context = pickle.loads(pickled_context)
      assert deserialized_context.__dict__ == context.__dict__
  
      cloudpickled_context = cloudpickle.dumps(context)
      deserialized_context = pickle.loads(cloudpickled_context)
      assert deserialized_context.__dict__ == context.__dict__
  
file_path: ray/python/ray/serve/tests/unit/test_grpc_util.py
imports: import pickle
  from typing import Callable
  import grpc
  import pytest
  from google.protobuf.any_pb2 import Any
  from ray import cloudpickle
  from ray.serve._private.grpc_util import DummyServicer, create_serve_grpc_server, gRPCServer
  from ray.serve._private.test_utils import FakeGrpcContext
  from ray.serve.grpc_util import RayServegRPCContext
label_desc: Use image node_id 5 for calling a global function with example usage: test_ray_serve_grpc_context_serializable() without return types