code: def _call(
      self,
      inp: t.Any = None,
      *,
      _bentoml_api: InferenceAPI[t.Any],
      **attrs: t.Any,
  ):
      if _bentoml_api.multi_input:
          if inp is not None:
              raise BentoMLException(
                  f"'{_bentoml_api.name}' takes multiple inputs; all inputs must be passed as keyword arguments."
              )
          serialized_req = asyncio.run(
              _bentoml_api.input.to_proto(attrs)
          )
      else:
          serialized_req = asyncio.run(_bentoml_api.input.to_proto(inp))
  
      # A call includes api_name and given proto_fields
      api_fn = {v: k for k, v in self._svc.apis.items()}
      kwargs, channel_kwargs = self._split_channel_args(**attrs)
      kwargs.update(
          {
              "api_name": api_fn[_bentoml_api],
              _bentoml_api.input.proto_fields[0]: serialized_req,
          },
      )
  
      if self._call_rpc not in self._rpc_methods:
          raise ValueError(
              f"'{self._call_rpc}' is a yet supported rpc. Current supported are: {self._rpc_metadata}"
          )
      proto = self._rpc_methods[self._call_rpc](
          channel_kwargs=channel_kwargs,
          method_kwargs=kwargs,
      )
  
      return asyncio.run(
          _bentoml_api.output.from_proto(
              getattr(proto, proto.WhichOneof("content"))
          )
      )
  
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 9 for calling the SyncGrpcClient obj's underlying member method code with example usage: obj._call(inp) and returns: asyncio