class_docstr: An async implementation of a gRPC server.
code: def handlers(self) -> t.Sequence[grpc.GenericRpcHandler] | None:
      # Note that currently BentoML doesn't provide any specific
      # handlers for gRPC. If users have any specific handlers,
      # BentoML will pass it through to grpc.aio.Server
      return self.bento_service.grpc_handlers
  
imports: from __future__ import annotations
  import asyncio
  import inspect
  import logging
  import os
  import sys
  import typing
  from concurrent.futures import ThreadPoolExecutor
  from functools import cached_property
  from functools import partial
  from typing import TYPE_CHECKING
  from simple_di import Provide
  from simple_di import inject
  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 ..configuration.containers import BentoMLContainer
  from ..context import ServiceContext
  from ..utils import LazyLoader
label_desc: Use image node_id 4 for calling the Server obj's underlying member method code with example usage: obj.handlers() and returns: self