Skip to content

Commit 25a20d9

Browse files
committed
add service.proto file to grpc compiler
1 parent 974a582 commit 25a20d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def run_protoc(filepath):
12-
if os.path.basename(filepath) == "query.proto":
12+
if os.path.basename(filepath) == "query.proto" or os.path.basename(filepath) == "service.proto":
1313
cmd = [sys.executable, '-m', 'grpc_tools.protoc',
1414
'--proto_path', absolute_path,
1515
'--python_out', 'cosmospy_protobuf',

0 commit comments

Comments
 (0)