From 25a20d95105aeb68f0c261a07d73f80444890a29 Mon Sep 17 00:00:00 2001 From: ctrl-felix <62290842+ctrl-Felix@users.noreply.github.com> Date: Wed, 22 Jun 2022 18:09:30 +0200 Subject: [PATCH] add service.proto file to grpc compiler --- compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.py b/compile.py index 82f4e91e..77c8143f 100644 --- a/compile.py +++ b/compile.py @@ -9,7 +9,7 @@ def run_protoc(filepath): - if os.path.basename(filepath) == "query.proto": + if os.path.basename(filepath) == "query.proto" or os.path.basename(filepath) == "service.proto": cmd = [sys.executable, '-m', 'grpc_tools.protoc', '--proto_path', absolute_path, '--python_out', 'cosmospy_protobuf',