Skip to content

Commit

Permalink
Newline
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 25, 2023
1 parent 125560a commit 7d1c3e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grpc4bmi/run_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d1c3e5

Please sign in to comment.