def METHOD_NAME(self, **kwargs):
    host = kwargs.get("host", "127.0.0.1")
    port = kwargs.get("port", 50052)
    addr = f"{host}:{port}"
    server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
    ml_pb2_grpc.add_MLServiceServicer_to_server(
        MLServiceServicer(), server)
    server.add_insecure_port(addr)
    server.start()
    server.wait_for_termination()