Fixed GRPC issues

This commit is contained in:
Nel Nibcord
2024-11-22 02:57:40 +04:00
parent 93d38e2bf7
commit e3ec9eaa44
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
source ./install.sh
pushd exo/networking/grpc
python3.12 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
sed -i "s/import node_service_pb2/from . &/" node_service_pb2_grpc.py
python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
sed -i "s/import\ node_service_pb2/from . &/" node_service_pb2_grpc.py
popd