From 7d1c3e56b0b8f2c2f13032a3516e2f591ed89fea Mon Sep 17 00:00:00 2001 From: sverhoeven Date: Wed, 25 Oct 2023 11:57:44 +0200 Subject: [PATCH] Newline --- grpc4bmi/run_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/grpc4bmi/run_server.py b/grpc4bmi/run_server.py index 9e4a50c..626f265 100755 --- a/grpc4bmi/run_server.py +++ b/grpc4bmi/run_server.py @@ -73,6 +73,7 @@ def build_r(class_name, source_fn): raise ValueError('Missing R dependencies, install with `pip install grpc4bmi[R]') return BmiR(class_name, source_fn) + def serve(model, port): server = grpc.server(futures.ThreadPoolExecutor(max_workers=10)) bmi_pb2_grpc.add_BmiServiceServicer_to_server(model, server)