Skip to content

Commit

Permalink
python tinode_grpc updated
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Feb 18, 2022
1 parent 0a2f0d2 commit d0a836e
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 3,392 deletions.
2 changes: 1 addition & 1 deletion build-py-grpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo "Packaging python tinode-grpc..."
pushd ./pbx > /dev/null

# Generate grpc bindings from the proto file.
./generate-python.sh v=3
./py-generate.sh v=3

pushd ../py_grpc > /dev/null

Expand Down
2 changes: 1 addition & 1 deletion py_grpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pip install tinode_grpc

## Generating files

Don't modify included files directly. If you want to make changes, you have to install protobuffers tool chain and gRPC the generate the Python bindings from [`pbx/model.proto`](https://github.com/tinode/chat/tree/master/pbx/model.proto) (your path to `model.proto` may be different):
Don't modify included files directly. If you want to make changes, you have to install protobuffers tool chain and gRPC then generate the Python bindings from [`pbx/model.proto`](https://github.com/tinode/chat/tree/master/pbx/model.proto) (your path to `model.proto` may be different):
```
python -m grpc_tools.protoc -I../pbx --python_out=. --grpc_python_out=. ../pbx/model.proto
```
Expand Down
Loading

0 comments on commit d0a836e

Please sign in to comment.