chore: seed migration objects batch 18

This commit is contained in:
dev
2026-10-18 13:16:10 +08:00
parent 7d84a81a6f
commit 018a3673a3
35 changed files with 10336 additions and 0 deletions
Regular → Executable
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Generate python gRPC bindings for Tinode. A command line parameter v=XX will use specified python version,
# i.e. ./generate-python.sh v=3 will use python3.
for line in $@; do
eval "$line"
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 --pyi_out=../py_grpc/tinode_grpc ../pbx/model.proto
# Bindings are incompatible with Python packaging system. This is a fix.
$python py_fix.py