Skip to content

Commit df35487

Browse files
committed
Add back removed file
1 parent c04db3f commit df35487

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

weaviate/proto/v1/regen.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
echo "this script assumes that you have checked out weaviate next to the client"
4+
cd "${0%/*}/.."
5+
6+
7+
python3 -m grpc_tools.protoc -I ../../../weaviate/grpc/proto --python_out=./ --pyi_out=./ --grpc_python_out=./ ../../../weaviate/grpc/proto/v1/*.proto
8+
9+
sed -i '' 's/from v1/from weaviate.proto.v1/g' v1/*.py
10+
sed -i '' 's/from v1/from weaviate.proto.v1/g' v1/*.pyi
11+
12+
echo "done"

0 commit comments

Comments
 (0)