Skip to content

Commit

Permalink
Add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
frcroth committed Oct 17, 2023
1 parent 1072e47 commit 4faf08d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ __pycache__
fossildbapi_pb2_grpc.py
fossildbapi_pb2.py

env
env
12 changes: 1 addition & 11 deletions client/interactive/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
from textual.widgets import (Button, DataTable, Footer, Header, Input, Label,
RichLog)

# import logging

# logFile = "sample.log"
# logging.basicConfig(
# filename=logFile,
# filemode="a",
# level=logging.DEBUG,
# format="%(asctime)s - %(levelname)s: %(message)s",
# )


class ListKeysWidget(Widget):
def __init__(self, stub, **kwargs):
Expand All @@ -46,7 +36,7 @@ class FileNameHint(Widget):
filename = reactive("none")

def render(self) -> str:
return f"Press the button above to save the value at the key in {self.filename}"
return f"Press the button above to download the value for the selected key to {self.filename}"


class KeyInfoWidget(Widget):
Expand Down
2 changes: 1 addition & 1 deletion client/interactive/client.tcss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ ListKeysWidget #list-keys {

Button {
width: 100%;
}
}
2 changes: 1 addition & 1 deletion client/update_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ set -Eeuo pipefail
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"

python3 -m grpc_tools.protoc -I$SCRIPTPATH/../src/main/protobuf --python_out=$SCRIPTPATH --grpc_python_out=$SCRIPTPATH $SCRIPTPATH/../src/main/protobuf/fossildbapi.proto
cp $SCRIPTPATH/fossildbapi_pb2* $SCRIPTPATH/interactive/
cp $SCRIPTPATH/fossildbapi_pb2* $SCRIPTPATH/interactive/

0 comments on commit 4faf08d

Please sign in to comment.