code: def _rpc_metadata(self) -> dict[str, dict[str, t.Any]]:
      # Currently all RPCs in BentoService are unary-unary
      # NOTE: we will set the types of the stubs to be Any.
      return {
          method: {"input_type": input_type, "output_type": output_type}
          for method, input_type, output_type in (
              (
                  self._call_rpc,
                  self._pb.Request,
                  self._pb.Response,
              ),
              (
                  f"/bentoml.grpc.{self._protocol_version}.BentoService/ServiceMetadata",
                  self._pb.ServiceMetadataRequest,
                  self._pb.ServiceMetadataResponse,
              ),
              (
                  "/grpc.health.v1.Health/Check",
                  pb_health.HealthCheckRequest,
                  pb_health.HealthCheckResponse,
              ),
          )
      }
  
imports: from __future__ import annotations
  import asyncio
  import logging
  import time
  import typing
  from functools import cached_property
  from typing import TYPE_CHECKING
  from packaging.version import parse
  from ...exceptions import BentoMLException
  from ...grpc.utils import LATEST_PROTOCOL_VERSION
  from ...grpc.utils import import_generated_stubs
  from ...grpc.utils import import_grpc
  from ...grpc.utils import load_from_file
  from ..None import io_descriptors
  from ..service import Service
  from ..service.inference_api import InferenceAPI
  from ..utils import LazyLoader
  from .None import AsyncClient
  from .None import Client
  from .None import SyncClient
label_desc: Use image node_id 5 for calling the SyncGrpcClient obj's underlying member method code with example usage: obj._rpc_metadata() and returns: unknown