Skip to content

Commit

Permalink
add a pyi file generation for tinode_grpc module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovizro authored and Ovizro committed May 20, 2023
1 parent 8648d2b commit 610cd48
Show file tree
Hide file tree
Showing 2 changed files with 690 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pbx/py-generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ done
python="python${v}"

# This generates python gRPC bindings for Tinode.
$python -m grpc_tools.protoc -I../pbx --python_out=../py_grpc/tinode_grpc --grpc_python_out=../py_grpc/tinode_grpc ../pbx/model.proto
$python -m grpc_tools.protoc -I../pbx --python_out=../py_grpc/tinode_grpc --grpc_python_out=../py_grpc/tinode_grpc --pyi_out=../py_grpc/tinode_grpc ../pbx/model.proto
# Bindings are incompatible with Python packaging system. This is a fix.
$python py_fix.py
Loading

0 comments on commit 610cd48

Please sign in to comment.