class_docstr: Implements of grpc pipeline service.
code: def __init__(self, api_service: "APIService"):
      self._router_map = {}
      self._router_map["/"] = RouterConfig(
          func=lambda: api_service.desc,
      )
      for router in api_service.routers:
          self._router_map[router.path] = router
  
imports: import typing
  import inspect
  import traceback
  from concurrent import futures
  from towhee.utils.thirdparty.grpc_utils import grpc
  from .None import service_pb2
  from .None import service_pb2_grpc
  from towhee.serve.io import JSON, TEXT, BYTES, NDARRAY
  from towhee.serve.api_service import RouterConfig
  from towhee.utils.log import engine_log
label_desc: Use image node_id 1 to create a new _PipelineImpl object from inherited base classes: service_pb2_grpc with example: obj = _PipelineImpl(api_service)