Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
refactor(pb): remove unused field
  • Loading branch information
hanhxiao committed Sep 4, 2019
1 parent 6bbfc99 commit 35fa3ba4be9fa9311fae67ee60cf01ead354d66e
Showing with 12 additions and 58 deletions.
  1. +0 −3 gnes/helper.py
  2. +0 −8 gnes/proto/gnes.proto
  3. +12 −47 gnes/proto/gnes_pb2.py
@@ -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
@@ -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;

}
}

Some generated files are not rendered by default. Learn more.

0 comments on commit 35fa3ba

Please sign in to comment.