Skip to content

Commit

Permalink
fix: resolve issue with build script and proto
Browse files Browse the repository at this point in the history
  • Loading branch information
keivanipchihagh committed Feb 16, 2024
1 parent bcdbb31 commit b080d71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protos/candlestick_struct.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ message Candlestick {
// Historical candlesticks data
// candlestick: Array of candlesticks
message Historical {
repeated candlestick = 1;
repeated Candlestick candlestick = 1;
}
3 changes: 2 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ do
./scripts/create_dir.sh "src/$dir"

python3 -m grpc_tools.protoc\
--proto_path=$proto_dir\
-I.\
--proto_path=$proto_dirs\
--python_out=$src_dir\
--grpc_python_out=$src_dir\
$proto_dir/*.proto # ./protos/<subdir>/*.proto
Expand Down

0 comments on commit b080d71

Please sign in to comment.