code: def add_ExecutorServiceServicer_to_server(servicer, server):
      rpc_method_handlers = {
          "StatementPrepare": grpc.unary_unary_rpc_method_handler(
              servicer.StatementPrepare,
              request_deserializer=executor__pb2.ExecutionContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "StatementExecute": grpc.unary_unary_rpc_method_handler(
              servicer.StatementExecute,
              request_deserializer=executor__pb2.StatementExecuteContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "QueryExecute": grpc.unary_unary_rpc_method_handler(
              servicer.QueryExecute,
              request_deserializer=executor__pb2.ExecutionContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "BinaryQueryExecute": grpc.unary_unary_rpc_method_handler(
              servicer.BinaryQueryExecute,
              request_deserializer=executor__pb2.BinaryExecutionContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "ExecuteExternal": grpc.unary_unary_rpc_method_handler(
              servicer.ExecuteExternal,
              request_deserializer=executor__pb2.ExecutionContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "Parse": grpc.unary_unary_rpc_method_handler(
              servicer.Parse,
              request_deserializer=executor__pb2.ExecutionContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "DoExecute": grpc.unary_unary_rpc_method_handler(
              servicer.DoExecute,
              request_deserializer=executor__pb2.ExecutorContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "ChangeDefaultDB": grpc.unary_unary_rpc_method_handler(
              servicer.ChangeDefaultDB,
              request_deserializer=executor__pb2.DefaultDBContext.FromString,
              response_serializer=executor__pb2.ExecutorResponse.SerializeToString,
          ),
          "DeleteExecutor": grpc.unary_unary_rpc_method_handler(
              servicer.DeleteExecutor,
              request_deserializer=executor__pb2.ExecutorContext.FromString,
              response_serializer=executor__pb2.ExecutorStatusResponse.SerializeToString,
          ),
      }
      generic_handler = grpc.method_handlers_generic_handler(
          "ExecutorService", rpc_method_handlers
      )
      server.add_generic_rpc_handlers((generic_handler,))
  
imports: import grpc
  import mindsdb.microservices_grpc.executor.executor_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: add_ExecutorServiceServicer_to_server(servicer, server) without return types