Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
refactor(pb): remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Sep 4, 2019
1 parent 6bbfc99 commit 35fa3ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 58 deletions.
3 changes: 0 additions & 3 deletions gnes/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ class ColoredFormatter(Formatter):
PREFIX = '\033['
SUFFIX = '\033[0m'

def __init__(self, pattern, **kwargs):
super().__init__(pattern, **kwargs)

def format(self, record):
cr = copy(record)
seq = self.MAPPING.get(cr.levelname, self.MAPPING['INFO']) # default white
Expand Down
8 changes: 0 additions & 8 deletions gnes/proto/gnes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,6 @@ message Response {
uint32 top_k = 2;
repeated ScoredResult topk_results = 3;

enum ResponseLevel {
CHUNK = 0;
DOCUMENT_NOT_FILLED = 1;
DOCUMENT = 2;
}

ResponseLevel level = 4;

}
}

Expand Down
59 changes: 12 additions & 47 deletions gnes/proto/gnes_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 35fa3ba

Please sign in to comment.