class_docstr: GRPCServer
code: def __init__(self, api_service: "APIService", max_workers: int = 20):
      self._server = grpc.server(
          futures.ThreadPoolExecutor(max_workers=max_workers)
      )
      service_pb2_grpc.add_PipelineServicesServicer_to_server(
          _PipelineImpl(api_service), self._server
      )
  
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 GRPCServer object  with example: obj = GRPCServer(api_service, max_workers)