Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
keivanipchihagh committed Mar 19, 2024
1 parent 01d0699 commit 6332320
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# api-scheme
# api-scheme
19 changes: 0 additions & 19 deletions main.py

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ working_dir=$(pwd)
proto_dirs=($(pwd)/protos) # ./protos/

# Find all files with `pb2` and delete them
find "$proto_dirs" -type f -name "*pb2*" -delete
find "$proto_dirs" -type f -name "*pb2*" -delete
2 changes: 1 addition & 1 deletion scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
echo "Clean complete."

./scripts/build.sh
echo "Build complete."
echo "Build complete."
4 changes: 2 additions & 2 deletions src/rpc/athena/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
self.health_stub = health_pb2_grpc.HealthStub(self.channel) # Healthcheck


def get_backtest(self) -> dict:
def GetBacktest(self) -> dict:
request = athena_pb2.GetBacktestRequest() # Create request
response = self.stub.GetBacktest(request) # Get response
return MessageToDict(response) # Return as dict
return MessageToDict(response) # Return message as dict

0 comments on commit 6332320

Please sign in to comment.